Template:Stublist: Difference between revisions
Template page
More actions
Created page with "<noinclude>{| cellspacing="0" cellpadding="5" style="border-collapse: collapse; align=center; background: none;"</noinclude><includeonly> |- style="border: 1px solid #668CFF;" | style="text-align: left;" |'''{{{1}}}''' | style="text-align: left;" |'''{{tl|{{{2|}}}}}''' | {{ {{{2|}}}|nocat=1|category=no|categories=no|demo=yes}} <!-- nocat=1 is only used here to keep this page out of the participants category --> | Special:Whatlinkshere/Template:{{{2|{{FULLPAGENAME}}}..." |
(No difference)
|
Latest revision as of 19:48, 21 February 2025
Usage
{{stublisttop}}
{{stublist|''subject''|''stub name''}}
{{stublistbottom}}
- {{stublist|subject|stub name}}. Substitute the subject and stub name where italicized. You do not need to add any wiki-markup as the template automatically does this for you.
Example
{{stublisttop}}
{{stublist|General food|Food-stub}}
{{stublist|Bread|Bread-stub}}
{{stublist|Cheeses|Cheese-stub}}
{{stublist|Cooking tools|Cooking-tool-stub}}
{{stublist|Fruit|Fruit-stub}}
{{stublist|Meat|Meat-stub}}
{{stublist|Vegetables|Vegetable-stub}}
{{stublistbottom}}
will generate:
Type | Code | Result | Instances |
---|---|---|---|
General food | {{Food-stub}} | Template:Food-stub | Transclusions |
Bread | {{Bread-stub}} | Template:Bread-stub | Transclusions |
Cheeses | {{Cheese-stub}} | Template:Cheese-stub | Transclusions |
Cooking tools | {{Cooking-tool-stub}} | Template:Cooking-tool-stub | Transclusions |
Fruit | {{Fruit-stub}} | Template:Fruit-stub | Transclusions |
Meat | {{Meat-stub}} | Template:Meat-stub | Transclusions |
Vegetables | {{Vegetable-stub}} | Template:Vegetable-stub | Transclusions |
See also
Closely related templates:
- {{Usbk}} – Show a userbox and its properties in a table row
- {{Usbktop}}
- {{Usbkbreak}}
- {{Usee}}
- {{Usbkbottom}}
- {{Template:Userbox table userbox}} – Similar to Usbk with enhanced features
- {{Ubxdisplay}} – A single-serving (i.e. non-tabled) version of this template
- {{Ubxdisplay/random}} – Displays a random userbox from a given selection
- {{Stublist}} – Similar template set for stubs
- {{Stublisttop}}
- {{Stublistbottom}}
- {{Markup}} – Generic markup template
- {{Automarkup}} – Similar to {{Markup}}, but the output is based on the same input