Template:UniqueGear: Difference between revisions

Move RequiredAffection to a template
No edit summary
(Move RequiredAffection to a template)
 
Line 19:
<td colspan="6">{{{Tier1|}}}
{{#if: {{{UnlockFavorT1|}}}|<p style="margin:0;margin-top:7px">
{{RequiredAffection|{{{UnlockFavorT1|}}}}}
<span title="Required affection rank" class="item-quantity affection">{{{UnlockFavorT1|}}}</span>[[File:icon_affection.png|frameless|32px|alt=Required affection rank|link=]]
{{#if: {{{UnlockItemT1_1_Name|}}}|{{ItemCard|{{{UnlockItemT1_1_Name|}}}|quantity={{{UnlockItemT1_1_Amount|}}}|text=}}}}
{{#if: {{{UnlockItemT1_2_Name|}}}|{{ItemCard|{{{UnlockItemT1_2_Name|}}}|quantity={{{UnlockItemT1_2_Amount|}}}|text=}}}}
Line 32:
<td colspan="6">{{{Tier2|}}}
{{#if: {{{UnlockFavorT2|}}}|<p style="margin:0;margin-top:7px">
{{RequiredAffection|{{{UnlockFavorT2|}}}}}
<span title="Required affection rank" class="item-quantity affection">{{{UnlockFavorT2|}}}</span>[[File:icon_affection.png|frameless|32px|alt=Required affection rank|link=]]
{{#if: {{{UnlockItemT2_1_Name|}}}|{{ItemCard|{{{UnlockItemT2_1_Name|}}}|quantity={{{UnlockItemT2_1_Amount|}}}|text=}}}}
{{#if: {{{UnlockItemT2_2_Name|}}}|{{ItemCard|{{{UnlockItemT2_2_Name|}}}|quantity={{{UnlockItemT2_2_Amount|}}}|text=}}}}