Difference between revisions of "Template:RecipeInfobox"
Line 2: | Line 2: | ||
-->{{#vardefine: alignment | float{{{align|right}}} }}<!-- | -->{{#vardefine: alignment | float{{{align|right}}} }}<!-- | ||
-->{{#vardefine: collaps | {{#ifeq: {{{collapsible|}}} | true | mw-collapsible mw-collapsed <!--" SEE CAPS LOCKED COMMENT IN NEXT LINE id="mw-customcollapsible-recipeCollaps"--> | }} }}<!-- | -->{{#vardefine: collaps | {{#ifeq: {{{collapsible|}}} | true | mw-collapsible mw-collapsed <!--" SEE CAPS LOCKED COMMENT IN NEXT LINE id="mw-customcollapsible-recipeCollaps"--> | }} }}<!-- | ||
− | --><!--THIS IS COMMENTED OUT BECAUSE IT SHOULD WORK, BUT IT DOESN'T DUE TO WHAT'S *PROBABLY* A BUG {{#if: {{{collapsible|}}} | <div class="mw-customtoggle-recipeCollaps" style="cursor:pointer; color:highlight">(Toggle Recipe)</div> }}--> | + | --><!--THIS IS COMMENTED OUT BECAUSE IT SHOULD WORK, BUT IT DOESN'T DUE TO WHAT'S *PROBABLY* A BUG {{#if: {{{collapsible|}}} | <div class="mw-customtoggle-recipeCollaps" style="cursor:pointer; color:highlight">(Toggle Recipe)</div> }}--><!-- |
− | <div class="recipe_template {{#var: collaps}}"> | + | --> <div class="recipe_template {{#var: collaps}}"> |
{| class="wikitable {{#var: alignment}}" style="width:350px; font-size:100%;" | {| class="wikitable {{#var: alignment}}" style="width:350px; font-size:100%;" | ||
|- | |- |
Revision as of 15:04, 26 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.