Open main menu

BBW Wiki β

Changes

Template:Infobox/doc

1,462 bytes added, 03:04, 28 March 2017
no edit summary
==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==
<pre>
{{infobox
| title =
| image = [e.g. "Example.jpg"]
| imagecaption =
| first =
| second =
| third =
| fourth =
| fifth =
| sixth =
| previous =
| next =
}}
</pre>

==Samples==
<pre>
{{infobox
| title = A pretty flower
| image = Example.jpg
| imagecaption = Floweris flowerum
| first = Pink and green
| second = Outdoors
| fourth = Annual
| previous = I
| next = III
}}
</pre>

Results in...

{{infobox
| title = A pretty flower
| image = Example.jpg
| imagecaption = Floweris flowerum
| first = Pink and green
| second = Outdoors
| fourth = Annual
| previous = I
| next = III
}}

<includeonly>[[Category:Templates| ]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
Anonymous user