Difference between revisions of "Template:Info Small/doc"

From WikiCorporates
Jump to navigation Jump to search
m
(→‎Usage)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<small><< [[Template:Info Small]]</small>
 
−
 
 
Small template to temporarily stand in for '''Template:Info X'''.<br/>
 
Small template to temporarily stand in for '''Template:Info X'''.<br/>
−
It expands to the same width as the image.
+
It expands to the same width as the image.<br/>
 +
Note: use "float=none" with not-uploaded images.
  
 
=== Usage ===
 
=== Usage ===
 +
With a top border, one image, WP (optional) link and website (optional) link:
 
<pre>
 
<pre>
−
{{Info Small /  {{Info Small|ntb=1
+
{{Info Small
−
|ntb Optional top border; default is to have one.
+
|ntb=1  Optional top border; default is to have one.
−
|img={{img|Pennon-Group-Viridor-Waste-Management.svg|150|34}}
+
|img   =[[File:Viridor-Waste-Management.svg|150x34px]]
−
|wpl={{wpl|Viridor}}, [https://services.viridor.co.uk/customers/company-information/ Company]
+
|wpl   ={{wpl|Viridor}}, [https://services.viridor.co.uk/customers/company-information/ Company]
−
|web=[https://www.viridor.co.uk/about-us/ About],  [http://www.discoverviridor.co.uk/ Website] }}
+
|web   =[https://www.viridor.co.uk/about-us/ About],  [http://www.discoverviridor.co.uk/ Website] }}
 
</pre>
 
</pre>
−
Gives:
 
 
{{Info Small
 
{{Info Small
−
|img={{img|Pennon-Group-Viridor-Waste-Management.svg|150|34}}
+
|img=[[File:Viridor-Waste-Management.svg|150x34px]]
 
|wpl={{wpl|Viridor}}, [https://services.viridor.co.uk/customers/company-information/ Company]
 
|wpl={{wpl|Viridor}}, [https://services.viridor.co.uk/customers/company-information/ Company]
 
|web=[https://www.viridor.co.uk/about-us/ About], [http://www.discoverviridor.co.uk/ Website] }}
 
|web=[https://www.viridor.co.uk/about-us/ About], [http://www.discoverviridor.co.uk/ Website] }}
 
{{Clear}}
 
{{Clear}}
−
Without a top border:
+
 
 +
Without a top border, with a parent, with optional parent WP + Website links, and with optional "extra" entry:
 +
<pre>
 
{{Info Small|ntb=1
 
{{Info Small|ntb=1
−
|img={{img|Pennon-Group-Viridor-Waste-Management.svg|150|34}}
+
|gparent=[[File:Creadev.svg|250x28px]]
 +
|gpurl=[[Creadev SAS]]
 +
|parent=[[File:HM-Treasury.svg|250x114px]]
 +
|pwpl={{wpl|HM Treasury}}
 +
|pweb=[http://www.gov.uk/hm-treasury Website]
 +
|img=[[File:Viridor-Waste-Management.svg|250x56px]]
 
|wpl={{wpl|Viridor}}, [https://services.viridor.co.uk/customers/company-information/ Company]
 
|wpl={{wpl|Viridor}}, [https://services.viridor.co.uk/customers/company-information/ Company]
−
|web=[https://www.viridor.co.uk/about-us/ About], [http://www.discoverviridor.co.uk/ Website] }}
+
|web=[https://www.viridor.co.uk/about-us/ About], [http://www.discoverviridor.co.uk/ Website]
−
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
+
|extra={{ratings|WFY|type=org|band=A|org=Compass}} }}
 +
</pre>
 +
{{Info Small|ntb=1
 +
|gparent=[[File:Creadev.svg|250x28px]]
 +
|gpurl=[[Creadev SAS]]
 +
|parent=[[File:HM-Treasury.svg|250x114px]]
 +
|pwpl={{wpl|HM Treasury}}
 +
|pweb=[http://www.gov.uk/hm-treasury Website]
 +
|img=[[File:Viridor-Waste-Management.svg|250x56px]]
 +
|wpl={{wpl|Viridor}}, [https://services.viridor.co.uk/customers/company-information/ Company]
 +
|web=[https://www.viridor.co.uk/about-us/ About], [http://www.discoverviridor.co.uk/ Website]
 +
|extra={{ratings|WFY|type=org|band=A|org=Compass}} }}
 +
<includeonly>[[Category:WikiCorporates templates]]</includeonly>

Latest revision as of 19:55, 4 October 2020

Small template to temporarily stand in for Template:Info X.
It expands to the same width as the image.
Note: use "float=none" with not-uploaded images.

Usage

With a top border, one image, WP (optional) link and website (optional) link:

{{Info Small
|ntb=1  Optional top border; default is to have one.
|img    =[[File:Viridor-Waste-Management.svg|150x34px]]
|wpl    ={{wpl|Viridor}}, [https://services.viridor.co.uk/customers/company-information/ Company]
|web    =[https://www.viridor.co.uk/about-us/ About],  [http://www.discoverviridor.co.uk/ Website] }}
Viridor-Waste-Management.svg

Without a top border, with a parent, with optional parent WP + Website links, and with optional "extra" entry:

{{Info Small|ntb=1
|gparent=[[File:Creadev.svg|250x28px]]
|gpurl=[[Creadev SAS]]
|parent=[[File:HM-Treasury.svg|250x114px]]
|pwpl={{wpl|HM Treasury}}
|pweb=[http://www.gov.uk/hm-treasury Website]
|img=[[File:Viridor-Waste-Management.svg|250x56px]]
|wpl={{wpl|Viridor}}, [https://services.viridor.co.uk/customers/company-information/ Company]
|web=[https://www.viridor.co.uk/about-us/ About],  [http://www.discoverviridor.co.uk/ Website]
|extra={{ratings|WFY|type=org|band=A|org=Compass}} }}
Viridor-Waste-Management.svg