Template:Infobox craftable/doc

From Salem Wiki
< Template:Infobox craftable
Revision as of 06:45, 26 January 2012 by Sabinati (talk | contribs) (moved Template:Infobox Craftable/doc to Template:Infobox craftable/doc: consistency)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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