Difference between revisions of "Template:Infobox Item"
From Salem Wiki
Strawberry (talk | contribs) |
|||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {| class="infobox" style="font-size:89%; width: | + | {| class="infobox" style="font-size:89%; width:300px;" |
|- | |- | ||
− | ! 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="3" style="background-color:#3366CC; color:#ffffff;" | Vital statistics | ! colspan="3" style="background-color:#3366CC; color:#ffffff;" | Vital statistics | ||
|- | |- | ||
− | |- | + | |- |
| nowrap | '''[[:Category:Skills | Skill(s)]] Required''' | | nowrap | '''[[:Category:Skills | Skill(s)]] Required''' | ||
− | | {{{skillreq|Unknown}}} | + | | align="center" | {{{skillreq|Unknown}}} |
− | |- | + | |- |
| nowrap | '''[[:Category:Objects | Object(s)]] Required''' | | nowrap | '''[[:Category:Objects | Object(s)]] Required''' | ||
− | | {{{objectsreq|Unknown}}} | + | | align="center" | {{{objectsreq|Unknown}}} |
− | |- | + | |- |
| nowrap | '''[[:Category:Items | Item(s)]] Required''' | | nowrap | '''[[:Category:Items | Item(s)]] Required''' | ||
− | | {{{itemsreq|Unknown}}} | + | | align="center" | {{{itemsreq|Unknown}}} |
− | |- | + | |- |
| nowrap | '''Required By''' | | nowrap | '''Required By''' | ||
− | | {{{reqby|Unknown}}} | + | | align="center" | {{{reqby|Unknown}}} |
− | |- | + | |- |
− | ! 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> |
Latest revision as of 07:10, 29 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?)