Difference between revisions of "Template:Infobox craftable"
From Salem Wiki
Shindragan (talk | contribs) |
TheDarkside (talk | contribs) |
||
Line 1: | Line 1: | ||
− | {| class="infobox" style="font-size:89%; width: | + | {| class="infobox" style="font-size:89%; width:300px;" |
|- | |- | ||
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}} | ! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}} | ||
Line 8: | Line 8: | ||
|- | |- | ||
|- | |- | ||
− | | | + | | style="background-color:#DADADA;" | '''[[:Category:Skills| Skill(s)]] Required''' |
− | | {{{skillreq|Unknown}}} | + | | style="background-color:#DADADA;" | {{{skillreq|Unknown}}} |
|- | |- | ||
− | | | + | | style="background-color:#E3E3E3;" | '''[[:Category:Objects | Object(s)]] Required''' |
− | | {{{objectsreq|Unknown}}} | + | | style="background-color:#E3E3E3;" | {{{objectsreq|Unknown}}} |
|- | |- | ||
− | | | + | | style="background-color:#DADADA;" | '''Required By''' |
− | | {{{reqby|Unknown}}} | + | | style="background-color:#DADADA;" | {{{reqby|Unknown}}} |
|- | |- | ||
! colspan="2" style="background-color:#aaaaaa; color:#000000;" | Back to [[:Category:Craftables|Craftables]] | [[:Category:Objects|Objects]] | ! colspan="2" style="background-color:#aaaaaa; color:#000000;" | Back to [[:Category:Craftables|Craftables]] | [[:Category:Objects|Objects]] |
Revision as of 20:29, 15 May 2012
Infobox craftable | ||
---|---|---|
File:Infobox craftable.png Infobox craftable | ||
Vital statistics | ||
Skill(s) Required | Unknown | |
Object(s) Required | Unknown | |
Required By | Unknown | |
Back to Craftables | Objects |
Template documentation (for the template shown above, sometimes hidden or invisible)
Note: placeholder text for Infobox craftable copied from the skill doc page -- remove this when docs are finished.
- Description
- This template is used to create a craftable infobox.
- Syntax
- Type
{{|infobox craftable|...}}
somewhere, with parameters as shown below. - Default configuration
{{infobox craftable | name = {{PAGENAME}} | image = Image:{{PAGENAME}}.png | caption = {{PAGENAME}} | skillreq = | objectsreq = | reqby = }}
- Sample output
{{infobox craftable | name = Flower Growing | image = Image:Example.jpg | caption = Bob the Flower | skillreq = testreq | objectsreq = testenabled | reqby = testrequiredby }}
Results in...
Flower Growing | ||
---|---|---|
File:Example.jpg Bob the Flower | ||
Vital statistics | ||
Skill(s) Required | testreq | |
Object(s) Required | testenabled | |
Required By | testrequiredby | |
Back to Craftables | Objects |
Visit Template:Infobox craftable/doc to edit this text! (How does this work?)