Difference between revisions of "Template:RecipeInfobox"

From ChatWars Wiki
Jump to: navigation, search
(working on removing the last parameter from the template)
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:{{{skill|}}}|
+
{{#if:{{#show: {{PAGENAME}} |?SkillCraft}}|
 +
{{!}} style="text-align: right;  {{!}} '''Corresponding [[Skill]]'''
 +
{{!}}  {{{skill}}}
 +
{{!}}-}}
 +
{{#if:{{#show: {{PAGENAME}} |?SkillCraft}}|
 +
{{!}} style="text-align: right;  {{!}} '''Skill level required'''
 +
{{!}}  {{#show: {{PAGENAME}} |?SkillCraftLevel}}
 +
{{!}}-}}
 +
<!--{{#if:{{{skill|}}}|
 
{{!}} style="text-align: right;  {{!}} '''Corresponding [[Skill]]'''
 
{{!}} style="text-align: right;  {{!}} '''Corresponding [[Skill]]'''
 
{{!}}  {{{skill}}}
 
{{!}}  {{{skill}}}
Line 11: Line 19:
 
{{!}} style="text-align: right;  {{!}} '''Skill level required'''
 
{{!}} style="text-align: right;  {{!}} '''Skill level required'''
 
{{!}}  {{#show: {{PAGENAME}} |?SkillCraftLevel}}
 
{{!}}  {{#show: {{PAGENAME}} |?SkillCraftLevel}}
{{!}}-}}
+
{{!}}-}}-->
 
| style="text-align: right;" | '''Mana''' || {{#show: {{PAGENAME}} |?ManaCrafting}} [[Image:Mana.png|16px]]
 
| style="text-align: right;" | '''Mana''' || {{#show: {{PAGENAME}} |?ManaCrafting}} [[Image:Mana.png|16px]]
 
|-
 
|-

Revision as of 09:00, 19 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.