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

From WikiCorporates
Jump to navigation Jump to search
m (→‎Usage)
m (→‎Usage)
Line 7: Line 7:
 
<pre>
 
<pre>
 
{{Info Small  /  {{Info Small|ntb=1
 
{{Info Small  /  {{Info Small|ntb=1
−
|ntb  Optional top border; default is to have one.
+
|ntb=1 Optional top border; default is to have one.
−
|parent={{img|HM-Treasury.svg|250|114}}
+
|parent ={{img|HM-Treasury.svg|250|114}} Optional.
−
|img={{img|Pennon-Group-Viridor-Waste-Management.svg|150|34}}
+
|img   ={{img|Pennon-Group-Viridor-Waste-Management.svg|150|34}}
−
|wpl={{wpl|Viridor}}, [https://services.viridor.co.uk/customers/company-information/ Company]
+
|wpl   ={{wpl|Viridor}}, [https://services.viridor.co.uk/customers/company-information/ Company] Optional
−
|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:
 
Gives:
Line 19: Line 19:
 
|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, and with a parent:
 
{{Info Small|ntb=1
 
{{Info Small|ntb=1
 +
|parent={{img|HM-Treasury.svg|250|114}}
 
|img={{img|Pennon-Group-Viridor-Waste-Management.svg|150|34}}
 
|img={{img|Pennon-Group-Viridor-Waste-Management.svg|150|34}}
 
|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>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 18:56, 16 May 2019

<< Template:Info Small

Small template to temporarily stand in for Template:Info X.
It expands to the same width as the image.

Usage

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

Gives:

Without a top border, and with a parent: