Difference between revisions of "Template:RecipeInfobox"

From ChatWars Wiki
Jump to: navigation, search
m
m
Line 4: Line 4:
 
| colspan="2" style="background: lightgrey;  text-align:center"| {{Emoticon|emoticon={{#show: {{PAGENAME}} |?CraftIcon}}}} '''Info:''' '''{{PAGENAME}}'''
 
| colspan="2" style="background: lightgrey;  text-align:center"| {{Emoticon|emoticon={{#show: {{PAGENAME}} |?CraftIcon}}}} '''Info:''' '''{{PAGENAME}}'''
 
|-
 
|-
{{#if:{{#show: {{PAGENAME}} |?SkillCraft}}|
+
{{#switch:{{#show: {{PAGENAME}} |?SkillCraft#}}
 +
|Crafting (Skill) | Alchemy (Skill) =
 
{{!}} style="text-align: right;  {{!}} '''Corresponding [[Skill]]'''
 
{{!}} style="text-align: right;  {{!}} '''Corresponding [[Skill]]'''
 
{{!}}  {{#show: {{PAGENAME}} |?SkillCraft}}
 
{{!}}  {{#show: {{PAGENAME}} |?SkillCraft}}
 
{{!}}-}}
 
{{!}}-}}
{{#if:{{#show: {{PAGENAME}} |?SkillCraft}}|
 
 
{{!}} style="text-align: right;  {{!}} '''Skill level required'''
 
{{!}} style="text-align: right;  {{!}} '''Skill level required'''
 
{{!}}  {{#show: {{PAGENAME}} |?SkillCraftLevel}}
 
{{!}}  {{#show: {{PAGENAME}} |?SkillCraftLevel}}

Revision as of 09:15, 19 July 2018

Info: RecipeInfobox
Skill level required
Mana Mana.png
Chatcommand
Recipe


Documentation

The template is used to create a table with an overview for crafting/brewing recipes. Using the template results in a table on the right hand side of the page, text wrapping around. It is advised to put that template directly in the beginning of a page to get the recipe as infobox.