Difference between revisions of "Template:Chest"

From Fallen Sword Wiki
Jump to: navigation, search
(Testing an update.)
Line 2: Line 2:
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
{|cellpadding="5" width="100%"
 
{|cellpadding="5" width="100%"
|width="33%" valign="top" align="left"|
+
|width="25%" valign="top" align="left"|
== Information ==
+
== Item Information ==
 
{|
 
{|
| valign="top" |{{ItemBox4|http://huntedcow.cachefly.net/fs/skin/icon_action_crate.gif}}
+
<!-- Once chest images have been uploaded consider adding the image to the chest information section -->
 +
<!-- | {{ItemBox|{{{image}}}}} -->
 +
<!-- The action icon will have to do for now. -->
 +
| valign="top" |{{#if: {{{image|}}}| {{ItemBox|{{ItemPicture|{{{image}}}}}}} | {{ItemBox4|[[File:Icon action crate.png]]}}}}
 
| valign="top" |
 
| valign="top" |
'''&bull;''' '''Name:''' {{{name|{{PAGENAME}}}}}<br>
+
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
'''&bull;''' '''Type:''' [[:Category:Chests|Chest]]
+
'''Type:''' [[:Category:Chest|Chest]]/[[:Category:Container|Container]]<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:{{{player-bound|}}}}}| yes | {{{WarningBoundNoTrade}}}}}
 
|}
 
|}
|width="34%" valign="top" align="left"|
+
== Actions ==
== Key needed to open it ==
+
{{#ifeq: {{lc:{{{player-bound|}}}}}| no |'''&bull;''' {{AHlong|{{{name|{{PAGENAME}}}}}|Search Auction House}}[[File:AHIcon.gif|30x30px]]<br>}}'''&bull;''' {{SearchUFSG|{{{name|{{PAGENAME}}}}}|Search the UFSG }}
{|
+
 
| {{ItemBox5|{{#switch: {{lc:{{{key}}}}}
+
|width="40%" valign="top" align="left"|
| crystal = {{ItemPicture|8548}}
+
== Possible Rewards ==
| gold = {{ItemPicture|8547}}
+
<div style="display: flex; align-items: center; ">{{#if: {{{reward-1-name|}}}| {{ItemBox5|{{{reward-1-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-1-name}}}]]</div></div><br>
| silver = {{ItemPicture|8546}}
+
<div style="display: flex; align-items: center; ">{{#if: {{{reward-2-name|}}}| {{ItemBox5|{{{reward-2-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-2-name}}}]]</div></div><br>
| bronze = {{ItemPicture|8545}}
+
<div style="display: flex; align-items: center; ">{{#if: {{{reward-3-name|}}}| {{ItemBox5|{{{reward-3-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-3-name}}}]]</div></div><br>
|
+
<div style="display: flex; align-items: center; ">{{#if: {{{reward-4-name|}}}| {{ItemBox5|{{{reward-4-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-4-name}}}]]</div></div><br>
}}}}<br />{{#switch: {{lc:{{{key}}}}}
+
<div style="display: flex; align-items: center; ">{{#if: {{{reward-5-name|}}}| {{ItemBox5|{{{reward-5-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-5-name}}}]]</div></div><br>
| crystal = [[Crystal Key]]
+
<div style="display: flex; align-items: center; ">{{#if: {{{reward-6-name|}}}| {{ItemBox5|{{{reward-6-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-6-name}}}]]</div></div><br>
| gold = [[Gold Key]]
+
<div style="display: flex; align-items: center; ">{{#if: {{{reward-7-name|}}}| {{ItemBox5|{{{reward-7-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-7-name}}}]]</div></div><br>
| silver = [[Silver Key]]
+
<div style="display: flex; align-items: center; ">{{#if: {{{reward-8-name|}}}| {{ItemBox5|{{{reward-8-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-8-name}}]]}}}}}}}}}}}}}}}}
| bronze = [[Bronze Key]]
+
|
+
}}
+
 
|}
 
|}
|width="33%" valign="top" align="left"|
 
 
== Rewards ==
 
{{#ifeq: {{{item|No}}} | No || '''&bull;''' [[{{{item|}}}]]<br>}}
 
{{ItemBox|{{{RewImage|}}}}}
 
  
[[Category:Chests]]
+
[[Category:Containers]]
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
<center>
 
<center>
Line 48: Line 46:
 
<pre>
 
<pre>
 
{{Chest
 
{{Chest
|name=
+
|image=
|key=
+
|level=
|item=
+
|donation-reward=
|RewImage=
+
|game-gift=
 +
|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=
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 01:26, 22 January 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.

{{Chest
|image=
|level=
|donation-reward=
|game-gift=
|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=
}}