Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
Eaglefrost (talk | contribs) (Undo revision 272 by Eaglefrost (talk)) Tag: Undo |
Eaglefrost (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | {{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude> | |
− | + | {{documentation}} | |
− | + | <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> | |
− | + | </noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{documentation}}</noinclude> |
Revision as of 19:29, 5 January 2020
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...
Example.jpg |
The above documentation is transcluded from Template:Infobox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |