Difference between revisions of "Template:RecipeInfobox"

From ChatWars Wiki
Jump to: navigation, search
Line 2: Line 2:
 
{| class="wikitable floatright" style="width:350px; font-size:100%;"
 
{| class="wikitable floatright" style="width:350px; font-size:100%;"
 
|-
 
|-
| colspan="2" style="background: lightgrey;  text-align:center"| {{Emoticon|emoticon={{{icon}}}}} '''Info:''' '''{{{name}}}'''
+
| colspan="2" style="background: lightgrey;  text-align:center"| {{Emoticon|emoticon={{{icon}}}}} '''Info:''' '''{{PAGENAME}}'''
 
|-
 
|-
 
{{#if:{{{skill|}}}|
 
{{#if:{{{skill|}}}|
Line 10: Line 10:
 
{{#if:{{{skill|}}}|
 
{{#if:{{{skill|}}}|
 
{{!}} style="text-align: right;  {{!}} '''Skill level required'''
 
{{!}} style="text-align: right;  {{!}} '''Skill level required'''
{{!}}  {{#if:{{{skilllevel|}}}|{{{skilllevel}}}}}
+
{{!}}  {{#show: {{PAGENAME}} |?SkillCraftLevel}}
 
{{!}}-}}
 
{{!}}-}}
| style="text-align: right;" | '''Mana''' || {{{mana}}} [[Image:Mana.png|16px]]
+
| style="text-align: right;" | '''Mana''' || {{#show: {{PAGENAME}} |?ManaCrafting}} [[Image:Mana.png|16px]]
 
|-
 
|-
| style="text-align: right;" | '''Chatcommand''' || <code>{{{chatcommand}}}</code>
+
| style="text-align: right;" | '''Chatcommand''' || <code>{{#show: {{PAGENAME}} |?CraftCommand}}</code>
 
|-
 
|-
 
| colspan="2" style="background: lightgrey;  text-align:center"| '''Recipe'''  
 
| colspan="2" style="background: lightgrey;  text-align:center"| '''Recipe'''  

Revision as of 12:55, 15 July 2018

Info: RecipeInfobox
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.