Difference between revisions of "Template:Container"

From Fallen Sword Wiki
Jump to: navigation, search
(Updated Container internal link to use the correct Category:Containers page)
Line 11: Line 11:
 
'''Type:'''  [[:Category:Containers|Container]]<br>
 
'''Type:'''  [[:Category:Containers|Container]]<br>
 
'''Level:''' {{{level}}}<br>
 
'''Level:''' {{{level}}}<br>
{{#ifeq: {{lc:{{{donation-reward|}}}}}| yes |'''Reward:''' Game Donation Reward}}{{#ifeq: {{lc:{{{game-gift|}}}}}| yes |'''Reward:''' Game Gift {{#if: {{{game-gift-occasion|}}}|{{{game-gift-occasion}}}}}}}
+
{{#ifeq: {{lc:{{{donation-reward|}}}}}| yes |'''Reward:''' Game Donation Reward}}{{#ifeq: {{lc:{{{game-gift|}}}}}| yes |'''Reward:''' Game Gift}}
 +
{{#ifeq: {{lc:{{{occasion|}}}}}| yes |'''Occasion:''' {{{occasion}}}}}
 
{{#ifeq: {{lc:{{{player-bound|}}}}}| yes |<br> '''Item is:''' {{Bound (Non-Tradable)}}}}
 
{{#ifeq: {{lc:{{{player-bound|}}}}}| yes |<br> '''Item is:''' {{Bound (Non-Tradable)}}}}
 
|}
 
|}
Line 19: Line 20:
 
|width="40%" valign="top" align="left"|
 
|width="40%" valign="top" align="left"|
 
== Possible Rewards ==
 
== Possible Rewards ==
{{#if: {{{reward-1-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-1-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-1-name}}}]]</div></div><br>}}{{#if: {{{reward-2-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-2-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-2-name}}}]]</div></div><br>}}{{#if: {{{reward-3-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-3-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-3-name}}}]]</div></div><br>}}{{#if: {{{reward-4-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-4-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-4-name}}}]]</div></div><br>}}{{#if: {{{reward-5-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-5-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-5-name}}}]]</div></div><br>}}{{#if: {{{reward-6-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-6-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-6-name}}}]]</div></div><br>}}{{#if: {{{reward-7-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-7-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-7-name}}}]]</div></div><br>}}{{#if: {{{reward-8-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-8-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-8-name}}}]]</div></div><br>}}{{#if: {{{reward-9-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-9-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-9-name}}}]]</div></div><br>}}{{#if: {{{reward-10-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-10-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-10-name}}}]]</div></div><br>}}
+
{{#if: {{{reward-1-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-1-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-1-name}}}]]</div></div><br>}}{{#if: {{{reward-2-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-2-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-2-name}}}]]</div></div><br>}}{{#if: {{{reward-3-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-3-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-3-name}}}]]</div></div><br>}}{{#if: {{{reward-4-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-4-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-4-name}}}]]</div></div><br>}}{{#if: {{{reward-5-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-5-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-5-name}}}]]</div></div><br>}}{{#if: {{{reward-6-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-6-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-6-name}}}]]</div></div><br>}}{{#if: {{{reward-7-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-7-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-7-name}}}]]</div></div><br>}}{{#if: {{{reward-8-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-8-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-8-name}}}]]</div></div><br>}}{{#if: {{{reward-9-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-9-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-9-name}}}]]</div></div><br>}}{{#if: {{{reward-10-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-10-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-10-name}}}]]</div></div><br>}}{{#if: {{{reward-11-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-11-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-11-name}}}]]</div></div><br>}}{{#if: {{{reward-12-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-12-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-12-name}}}]]</div></div><br>}}{{#if: {{{reward-13-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-13-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-13-name}}}]]</div></div><br>}}{{#if: {{{reward-14-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-14-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-14-name}}}]]</div></div><br>}}{{#if: {{{reward-15-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-15-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-15-name}}}]]</div></div><br>}}{{#if: {{{reward-16-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-16-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-16-name}}}]]</div></div><br>}}{{#if: {{{reward-17-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-17-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-17-name}}}]]</div></div><br>}}{{#if: {{{reward-18-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-18-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-18-name}}}]]</div></div><br>}}{{#if: {{{reward-19-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-19-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-19-name}}}]]</div></div><br>}}{{#if: {{{reward-20-name|}}}| <div style="display: flex; align-items: center; ">{{ItemBox5|{{ItemPicture|{{{reward-20-image}}}}}}} <div style="margin-left:1.5%;"> [[{{{reward-20-name}}}]]</div></div><br>}}
 
|}
 
|}
  
Line 41: Line 42:
 
|donation-reward=
 
|donation-reward=
 
|game-gift=
 
|game-gift=
|game-gift-occasion=
+
|occasion=
 
|player-bound=
 
|player-bound=
 
|reward-1-name=
 
|reward-1-name=

Revision as of 19:53, 23 November 2023

Do not edit this page!

If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.

Editing this page may cause the template to stop working properly for other pages currently using this template.

This template allows easy adding of chest pages. To use, copy the following code to the chest page and fill in the blanks.

{{Container
|image=
|level=
|donation-reward=
|game-gift=
|occasion=
|player-bound=
|reward-1-name=
|reward-1-image=
|reward-2-name=
|reward-2-image=
|reward-3-name=
|reward-3-image=
|reward-4-name=
|reward-4-image=
|reward-5-name=
|reward-5-image=
|reward-6-name=
|reward-6-image=
|reward-7-name=
|reward-7-image=
|reward-8-name=
|reward-8-image=
|reward-9-name=
|reward-9-image=
|reward-10-name=
|reward-10-image=
}}