Difference between revisions of "Template:Crafted"

From Salem Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{{#ifeq:{{PAGENAME}}|Contributing||[[Category:Crafted]][[Category:Objects]]}}
 
<includeonly>{{#ifeq:{{PAGENAME}}|Contributing||[[Category:Crafted]][[Category:Objects]]}}
{| class="infobox"
+
{| class="infobox2"
! class="infobox-header"|{{i|{{PAGENAME}}}}
+
! class="infobox2-header"|{{i|{{PAGENAME}}}}
 
|-
 
|-
 
|
 
|
{| class="infobox-skill"
+
{| class="infobox2-skill"
 
| style="width:80px;" |'''Skill(s) required:'''
 
| style="width:80px;" |'''Skill(s) required:'''
 
| colspan=2 |{{#switch: {{{Skills required|}}} | ={{#ask: [[Category:Skills]] [[Unlocks::{{PAGENAME}}]] | ?Skills | format = ul | link=none | template=i | default=None }}| {{#ask: [[Category:Skills]] [[Unlocks::{{PAGENAME}}]] | ?Skills | format = ul | link=none | template=i | default= }}{{T1|{{{Skills required}}}}} }}
 
| colspan=2 |{{#switch: {{{Skills required|}}} | ={{#ask: [[Category:Skills]] [[Unlocks::{{PAGENAME}}]] | ?Skills | format = ul | link=none | template=i | default=None }}| {{#ask: [[Category:Skills]] [[Unlocks::{{PAGENAME}}]] | ?Skills | format = ul | link=none | template=i | default= }}{{T1|{{{Skills required}}}}} }}

Revision as of 13:12, 28 October 2018

NOTE: This is a MODULAR template. It MUST be used before one of the following templates:


See Help:Contributing for instructions and examples for adding a new page to the wiki.

Crafted icon.png Crafted
Skill(s) required: None
Object(s) required: None
Weight: unknown
Required by: Objects
None
Structures
None
Code:
{{Crafted
| Objects required= 
| Weight=
}}

If it's standalone use:

{{Crafted
| Objects required= 
| Weight=
}}
|}

If you for some reason want to add a required skill (or several) to an object outside of the skill template you can force it by adding a "Skills required" line. However, please only use this as an exception for special cases, such as Salem Store items or similar; objects unlocked by a skill otherwise, whether directly or indirectly (such as variable crafts of one craft), should be listed on the skill page and that way be automatically displayed as a required skill for that object.

{{Crafted
| Skills required=
| Objects required= 
| Weight=
}}