Difference between revisions of "Template:MasterFunction"
GrumpyGecko (talk | contribs) (Created page with "<includeonly> {{#if:{{{output}}}|recipe_table| <div class="recipe_template"> {| class="wikitable floatright" style="width:350px; font-size:100%;" |- | colspan="2" style="backg...") |
GrumpyGecko (talk | contribs) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{# | + | {{#ifeq: {{{output}}}| recipetable | |
<div class="recipe_template"> | <div class="recipe_template"> | ||
− | { | + | {{{!}} class="wikitable floatright" style="width:350px; font-size:100%;" |
− | + | {{!}}- | |
− | + | {{!}} colspan="2" style="background: lightgrey; text-align:center"{{!}} {{Emoticon|emoticon={{{icon}}}}} '''Info:''' '''{{{name}}}''' | |
− | + | {{!}}- | |
{{#if:{{{skill|}}}| | {{#if:{{{skill|}}}| | ||
{{!}} style="text-align: right; {{!}} '''Corresponding [[Skill]]''' | {{!}} style="text-align: right; {{!}} '''Corresponding [[Skill]]''' | ||
Line 14: | Line 14: | ||
{{!}} {{#if:{{{skilllevel|}}}|{{{skilllevel}}}}} | {{!}} {{#if:{{{skilllevel|}}}|{{{skilllevel}}}}} | ||
{{!}}-}} | {{!}}-}} | ||
− | + | {{!}} style="text-align: right;" {{!}} '''Mana''' {{!}}{{!}} {{{mana}}} [[Image:Mana.png|16px]] | |
− | + | {{!}}- | |
− | + | {{!}} style="text-align: right;" {{!}} '''Chatcommand''' {{!}}{{!}} <code>{{{chatcommand}}}</code> | |
− | + | {{!}}- | |
− | + | {{!}} colspan="2" style="background: lightgrey; text-align:center"{{!}} '''Recipe''' | |
− | + | {{!}}- | |
− | + | {{!}} style="text-align: right; {{!}} '''Ingredient''' {{!}}{{!}} '''Amount''' | |
− | + | {{!}}- | |
− | + | {{!}} style="text-align: right; {{!}} [[{{{ingredient1}}}]] {{!}}{{!}} {{{amount1}}} | |
− | + | {{!}}- | |
{{#if:{{{ingredient2|}}}| | {{#if:{{{ingredient2|}}}| | ||
{{!}} style="text-align: right; {{!}} [[{{{ingredient2}}}]] | {{!}} style="text-align: right; {{!}} [[{{{ingredient2}}}]] | ||
Line 60: | Line 60: | ||
{{!}} {{#if:{{{amount10|}}}|{{{amount10}}}}} | {{!}} {{#if:{{{amount10|}}}|{{{amount10}}}}} | ||
{{!}}-}} | {{!}}-}} | ||
− | + | {{!}}} | |
</div> | </div> | ||
− | | }} | + | }} |
+ | {{#ifeq: {{{output}}}| itemoverview | | ||
+ | {{{!}}class="wikitable" style="width: 30%;" | ||
+ | !colspan="2"{{!}}Overview | ||
+ | {{!}}- | ||
+ | {{!}}'''Attribute''' | ||
+ | {{!}}'''Bonus''' | ||
+ | {{!}}- | ||
+ | {{!}}Attack | ||
+ | {{!}} +{{{attack}}} {{Emoticon|emoticon=Attack}} | ||
+ | {{!}}- | ||
+ | {{!}}Defense | ||
+ | {{!}} +{{{defend}}} {{Emoticon|emoticon=Defend}} | ||
+ | {{!}}- | ||
+ | {{!}}Level Requirement | ||
+ | {{!}} {{{lvlrequirement}}} | ||
+ | {{!}}- | ||
+ | {{!}}Enchantment Slot | ||
+ | {{!}} {{{enchantment}}} | ||
+ | {{!}}- | ||
+ | {{!}}Weight | ||
+ | {{!}} {{{weight}}} | ||
+ | {{!}}- | ||
+ | {{!}}} | ||
+ | }} | ||
+ | |||
</includeonly> | </includeonly> |