Template:Infobox: Difference between revisions
imported>Reaperon (Created page with "<onlyinclude><infobox> <title source="title"><default>''Unknown''</default></title> <image source="image"><caption source="imagecaption"/></image> <group> <header>Some at...") |
imported>SeaswimmerTheFsh mNo edit summary |
||
Line 21: | Line 21: | ||
</infobox></onlyinclude><noinclude><br style="clear:both;"/> | </infobox></onlyinclude><noinclude><br style="clear:both;"/> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
[[Category:Templates]] |
Revision as of 03:13, 20 February 2022
Description
This template is a sample infobox, to aid in the creation of new infoboxes.
Recommended usage: copy the template code to a new template page, and edit it there.
Infobox and template background
See Help:Templates, Help:Infobox for some background on how templates and infoboxes work.
Notes
- The Title, First, Second, and Third rows show "Unknown" if their values are not specified.
- The Image, Imagecaption, Fourth, Fifth, and Sixth rows won't show up if their values are not specified.
Syntax
{{infobox | title = | image = [e.g. "Example.jpg"] | imagecaption = | first = | second = | third = | fourth = | fifth = | sixth = | previous = | next = }}
Samples
{{infobox | title = A pretty flower | image = Example.jpg | imagecaption = Floweris flowerum | first = Pink and green | second = Outdoors | fourth = Annual | previous = I | next = III }}
Results in...