Difference between revisions of "Template:Infobox Item"

From Salem Wiki
Jump to: navigation, search
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:250px;"
+
{| class="infobox" style="font-size:89%; width:300px;"
 
|-
 
|-
 
! colspan="3" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
 
! colspan="3" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
Line 5: Line 5:
 
| colspan="3" style="padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption|{{PAGENAME}}}}}''
 
| colspan="3" style="padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption|{{PAGENAME}}}}}''
 
|-
 
|-
! colspan="4" 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'''
|  
+
| align="center" | {{{skillreq|Unknown}}}
| {{{skillreq|Unknown}}}
+
|-  
|-
 
 
| nowrap | '''[[:Category:Objects | Object(s)]] Required'''
 
| nowrap | '''[[:Category:Objects | Object(s)]] Required'''
|  
+
| align="center" | {{{objectsreq|Unknown}}}
| {{{objectsreq|Unknown}}}
+
|-  
|-
 
 
| nowrap | '''[[:Category:Items | Item(s)]] Required'''
 
| nowrap | '''[[:Category:Items | Item(s)]] Required'''
|  
+
| align="center" | {{{itemsreq|Unknown}}}
| {{{itemsreq|Unknown}}}
+
|-  
|-
 
 
| nowrap | '''Required By'''
 
| nowrap | '''Required By'''
|  
+
| align="center" | {{{reqby|Unknown}}}
| {{{reqby|Unknown}}}
+
|-  
|-
 
  
  

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?)