Difference between revisions of "Template:Info Small/doc"
Jump to navigation
Jump to search
m (→Usage) |
m |
||
| Line 2: | Line 2: | ||
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". | ||
=== Usage === | === Usage === | ||
| + | With a top border, and one image: | ||
<pre> | <pre> | ||
| − | {{Info Small | + | {{Info Small |
|ntb=1 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 ={{img|Pennon-Group-Viridor-Waste-Management.svg|150|34}} | ||
|wpl ={{wpl|Viridor}}, [https://services.viridor.co.uk/customers/company-information/ Company] Optional | |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> | ||
| − | |||
{{Info Small | {{Info Small | ||
|img={{img|Pennon-Group-Viridor-Waste-Management.svg|150|34|float=none}} | |img={{img|Pennon-Group-Viridor-Waste-Management.svg|150|34|float=none}} | ||
| 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, and with a parent: | Without a top border, and with a parent: | ||
| + | <pre> | ||
| + | {{Info Small|ntb=1 | ||
| + | |parent={{img|HM-Treasury.svg|250|114|float=none}} | ||
| + | |img={{img|Pennon-Group-Viridor-Waste-Management.svg|250|56|float=none}} | ||
| + | |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] }} | ||
| + | </pre> | ||
{{Info Small|ntb=1 | {{Info Small|ntb=1 | ||
|parent={{img|HM-Treasury.svg|250|114|float=none}} | |parent={{img|HM-Treasury.svg|250|114|float=none}} | ||
Revision as of 19:40, 16 May 2019
Small template to temporarily stand in for Template:Info X.
It expands to the same width as the image.
Note: use "float=none".
Usage
With a top border, and one image:
{{Info Small
|ntb=1 Optional top border; default is to have one.
|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] }}
Without a top border, and with a parent:
{{Info Small|ntb=1
|parent={{img|HM-Treasury.svg|250|114|float=none}}
|img={{img|Pennon-Group-Viridor-Waste-Management.svg|250|56|float=none}}
|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] }}