Difference between revisions of "Template:RecipeInfobox"
GrumpyGecko (talk | contribs) |
GrumpyGecko (talk | contribs) |
||
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:''' '''{{ | + | | 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''' | ||
− | {{!}} {{# | + | {{!}} {{#show: {{PAGENAME}} |?SkillCraftLevel}} |
{{!}}-}} | {{!}}-}} | ||
− | | style="text-align: right;" | '''Mana''' || {{{ | + | | style="text-align: right;" | '''Mana''' || {{#show: {{PAGENAME}} |?ManaCrafting}} [[Image:Mana.png|16px]] |
|- | |- | ||
− | | style="text-align: right;" | '''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
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.