Template:SuperPackPurchase: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div style="margin: 0.5em;">
{| width="100%" style="background-color: #F4F4F4; border: 1px solid #AAAAAA;"
| style="vertical-align: top; padding: 0.25em;" | [[Image:{{#switch: {{{type}}}|HV=SuperPack-HV.png|RV=SuperPack-RV.png|LW=Salvage_Snowflake.png}}|32px]]
| style="width:100%; padding: 0.25em;" | '''[[Super Pack/{{#switch: {{{type}}}|HV=Heroes and Villains|RV=Rogues and Vigilantes|LW=Lords of Winter|''Error: no such super pack type {{{type|-blank-}}}''}}|Super Pack Purchase: {{#switch: {{{type}}}|HV=Heroes and Villains|RV=Rogues and Vigilantes|LW=Lords of Winter}}]]''' <br /> This enhancement is available as a random reward through the purchase of [[Super Pack/{{#switch: {{{type}}}|HV=Heroes and Villains|RV=Rogues and Vigilantes|LW=Lords of Winter}}|{{#switch: {{{type}}}|HV=Heroes and Villains|RV=Rogues and Vigilantes|LW=Lords of Winter}}]] [[Super Packs]]. [[Category:Super Pack Purchasable]]
|}</div></includeonly>
<noinclude>
<noinclude>
The template requires a code for the super pack type. Code '''HV''' is used for Heroes and Villains super packs, code '''RV''' for Rogues and Vigilantes super packs, and '''LW''' for Lords of Winter super packs. For example,
The template requires a code for the super pack type. Code '''HV''' is used for Heroes and Villains super packs, code '''RV''' for Rogues and Vigilantes super packs, and '''LW''' for Lords of Winter super packs. For example,
Line 17: Line 12:
|}</div></noinclude>
|}</div></noinclude>
<noinclude>[[Category:ATO Templates]]</noinclude>
<noinclude>[[Category:ATO Templates]]</noinclude>
<includeonly><div style="margin: 0.5em;">
{| width="100%" style="background-color: #F4F4F4; border: 1px solid #AAAAAA;"
| style="vertical-align: top; padding: 0.25em;" | [[Image:{{#switch: {{{type}}}|HV=SuperPack-HV.png|RV=SuperPack-RV.png|LW=Salvage_Snowflake.png}}|32px]]
| style="width:100%; padding: 0.25em;" | '''[[Super Pack/{{#switch: {{{type}}}|HV=Heroes and Villains|RV=Rogues and Vigilantes|LW=Lords of Winter|''Error: no such super pack type {{{type|-blank-}}}''}}|Super Pack Purchase: {{#switch: {{{type}}}|HV=Heroes and Villains|RV=Rogues and Vigilantes|LW=Lords of Winter}}]]''' <br /> This enhancement is available as a random reward through the purchase of [[Super Pack/{{#switch: {{{type}}}|HV=Heroes and Villains|RV=Rogues and Vigilantes|LW=Lords of Winter}}|{{#switch: {{{type}}}|HV=Heroes and Villains|RV=Rogues and Vigilantes|LW=Lords of Winter}}]] [[Super Packs]]. [[Category:Super Pack Purchasable]]
|}</div></includeonly>

Revision as of 19:49, 5 September 2020

The template requires a code for the super pack type. Code HV is used for Heroes and Villains super packs, code RV for Rogues and Vigilantes super packs, and LW for Lords of Winter super packs. For example,

{{SuperPackPurchase|type=HV}}

will produce the following:

SuperPack-HV.png Super Pack Purchase: Heroes and Villains
This enhancement is available as a random reward through the purchase of Heroes and Villains Super Packs.