Template:UniqueGear: Difference between revisions

Move RequiredAffection to a template
No edit summary
(Move RequiredAffection to a template)
 
(2 intermediate revisions by the same user not shown)
Line 16:
</tr>
<tr>
<td class="rarity">'''T1'''</td>
<td colspan="6">{{{Tier1|}}}</td>
{{#if: {{{UnlockFavorT1|}}}|<p style="margin:0;margin-top:7px">
{{RequiredAffection|{{{UnlockFavorT1|}}}}}
{{#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=}}}}
{{#if: {{{UnlockItemT1_3_Name|}}}|{{ItemCard|{{{UnlockItemT1_3_Name|}}}|quantity={{{UnlockItemT1_3_Amount|}}}|text=}}}}
{{#if: {{{UnlockItemT1_4_Name|}}}|{{ItemCard|{{{UnlockItemT1_4_Name|}}}|quantity={{{UnlockItemT1_4_Amount|}}}|text=}}}}
{{#if: {{{UnlockItemT1_5_Name|}}}|{{ItemCard|{{{UnlockItemT1_5_Name|}}}|quantity={{{UnlockItemT1_5_Amount|}}}|text=}}}}
</p>}}
</td>
</tr>
<tr>
<td class="rarity">'''T2'''</td>
<td colspan="6">{{{Tier2|}}}</td>
{{#if: {{{UnlockFavorT2|}}}|<p style="margin:0;margin-top:7px">
{{RequiredAffection|{{{UnlockFavorT2|}}}}}
{{#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=}}}}
{{#if: {{{UnlockItemT2_3_Name|}}}|{{ItemCard|{{{UnlockItemT2_3_Name|}}}|quantity={{{UnlockItemT2_3_Amount|}}}|text=}}}}
{{#if: {{{UnlockItemT2_4_Name|}}}|{{ItemCard|{{{UnlockItemT2_4_Name|}}}|quantity={{{UnlockItemT2_4_Amount|}}}|text=}}}}
{{#if: {{{UnlockItemT2_5_Name|}}}|{{ItemCard|{{{UnlockItemT2_5_Name|}}}|quantity={{{UnlockItemT2_5_Amount|}}}|text=}}}}
</p>}}
</td>
</tr>
</table></includeonly>