Difference between revisions of "Template:Infobox Item"
From Salem Wiki
(Created page with "{| class="infobox" style="font-size:89%; width:250px;" |- ! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}...") |
|||
Line 1: | Line 1: | ||
{| class="infobox" style="font-size:89%; width:250px;" | {| class="infobox" style="font-size:89%; width:250px;" | ||
|- | |- | ||
− | ! colspan=" | + | ! colspan="3" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}} |
|- style="text-align:center;" | |- style="text-align:center;" | ||
− | | colspan=" | + | | colspan="3" style="padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption|{{PAGENAME}}}}}'' |
|- | |- | ||
− | ! colspan=" | + | ! colspan="4" style="background-color:#3366CC; color:#ffffff;" | Vital statistics |
|- | |- | ||
|- | |- | ||
Line 22: | Line 22: | ||
− | ! colspan=" | + | ! colspan="3" style="background-color:#aaaaaa; color:#000000;" | Back to [[:Category:Objects|Objects]] | [[:Category:Items|Items]] |
|}<noinclude><br style="clear:both;" /> | |}<noinclude><br style="clear:both;" /> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
<includeonly>[[Category:Content|{{PAGENAME}}]] [[Category:Items|{{PAGENAME}}]] | <includeonly>[[Category:Content|{{PAGENAME}}]] [[Category:Items|{{PAGENAME}}]] | ||
[[Category:Objects|{{PAGENAME}}]]</includeonly> | [[Category:Objects|{{PAGENAME}}]]</includeonly> |
Revision as of 05:34, 8 May 2012
Infobox Item | |||
---|---|---|---|
File:Infobox Item.png Infobox Item | |||
Vital statistics | |||
Skill(s) Required | Unknown | ||
Object(s) Required | Unknown | ||
Item(s) Required | Unknown | ||
Required By | Unknown | ||
Back to Objects | Items |
Template documentation (for the template shown above, sometimes hidden or invisible)
- Description
- This template is used to create a structure infobox.
- Syntax
- Type
{{infobox Item|...}}
somewhere, with parameters as shown below. - Default configuration
{{infobox Item | name = {{PAGENAME}} | image = Image:{{PAGENAME}}.png | caption = {{PAGENAME}} | skillreq = | objectsreq = | itemssreq = | reqby = }}
- Sample Input
{{infobox Item | skillreq = Picking | objectsreq = None | itemsreq = None | reqby = [[Taste of The New World]] }}
Results in...
Infobox Item | |||
---|---|---|---|
File:Infobox Item.png Infobox Item | |||
Vital statistics | |||
Skill(s) Required | Picking | ||
Object(s) Required | None | ||
Item(s) Required | None | ||
Required By | Taste of The New World | ||
Back to Objects | Items |
Visit Template:Infobox Item/doc to edit this text! (How does this work?)