Difference between revisions of "Template:Chest"

From Fallen Sword Wiki
Jump to: navigation, search
 
(108 intermediate revisions by one user not shown)
Line 2: Line 2:
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
{|cellpadding="5" width="100%"
 
{|cellpadding="5" width="100%"
|width="25%" valign="top" align="left"|
+
|width="15%" valign="top" align="left"|
 
== Information ==
 
== Information ==
 
{|
 
{|
Line 8: Line 8:
 
<!-- | {{ItemBox|{{{image|}}}}} -->
 
<!-- | {{ItemBox|{{{image|}}}}} -->
 
<!-- The action icon will do for now. -->
 
<!-- The action icon will do for now. -->
| valign="top" |{{ItemBox4|[[File:Icon action crate.png]]}}
+
| valign="top" |{{ItemBox4|https://cdn2.fallensword.com/ui/world/icon_action_crate.png}}
 
| valign="top" |
 
| valign="top" |
 
'''Name:'''  {{{name|{{PAGENAME}}}}}<br>
 
'''Name:'''  {{{name|{{PAGENAME}}}}}<br>
 
'''Type:'''  [[:Category:Chests|Chest]]
 
'''Type:'''  [[:Category:Chests|Chest]]
 
|}
 
|}
|width="25%" valign="top" align="center"|
+
|width="20%" valign="top" align="center"|
 
== Opens With ==
 
== Opens With ==
 
{{ItemBox5|{{#switch: {{lc:{{{key}}}}}
 
{{ItemBox5|{{#switch: {{lc:{{{key}}}}}
| crystal || crystal key= [[Image:8548.gif]]
+
| crystal || crystal key= {{ItemPicture|8548}}
| gold || gold key= [[Image:8547.gif]]
+
| gold || gold key= {{ItemPicture|8547}}
| silver || silver key= [[Image:8546.gif]]
+
| silver || silver key= {{ItemPicture|8546}}
| bronze || bronze key= [[Image:8545.gif]]
+
| bronze || bronze key= {{ItemPicture|8545}}
 
|
 
|
 
}}}}{{#switch: {{lc:{{{key}}}}}
 
}}}}{{#switch: {{lc:{{{key}}}}}
Line 29: Line 29:
 
}}
 
}}
  
|width="40%" valign="top" align="left"|
+
|width="65%" valign="top" align="left"|
 
== Possible Rewards ==
 
== Possible Rewards ==
<div style="display: flex; align-items: center; ">{{#if: {{{reward-1-name|}}}| {{ItemBox5|[[Image:{{{reward-1-image|}}}]]}} <div style="margin-left:1.5%;"> [[{{{reward-1-name|}}}]]</div></div><br>
+
<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>
<div style="display: flex; align-items: center; ">{{#if: {{{reward-2-name|}}}| {{ItemBox5|[[Image:{{{reward-2-image|}}}]]}} <div style="margin-left:1.5%;"> [[{{{reward-2-name|}}}]]</div></div><br>
+
<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>
<div style="display: flex; align-items: center; ">{{#if: {{{reward-3-name|}}}| {{ItemBox5|[[Image:{{{reward-3-image|}}}]]}} <div style="margin-left:1.5%;"> [[{{{reward-3-name|}}}]]</div></div><br>
+
<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|[[Image:{{{reward-4-image|}}}]]}} <div style="margin-left:1.5%;"> [[{{{reward-4-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>
<div style="display: flex; align-items: center; ">{{#if: {{{reward-5-name|}}}| {{ItemBox5|[[Image:{{{reward-5-image|}}}]]}} <div style="margin-left:1.5%;"> [[{{{reward-5-name|}}}]]</div></div><br>
+
<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>
<div style="display: flex; align-items: center; ">{{#if: {{{reward-6-name|}}}| {{ItemBox5|[[Image:{{{reward-6-image|}}}]]}} <div style="margin-left:1.5%;"> [[{{{reward-6-name|}}}]]</div></div><br>
+
<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>
<div style="display: flex; align-items: center; ">{{#if: {{{reward-7-name|}}}| {{ItemBox5|[[Image:{{{reward-7-image|}}}]]}} <div style="margin-left:1.5%;"> [[{{{reward-7-name|}}}]]</div></div><br>
+
<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>
<div style="display: flex; align-items: center; ">{{#if: {{{reward-8-name|}}}| {{ItemBox5|[[Image:{{{reward-8-image|}}}]]}} <div style="margin-left:1.5%;"> [[{{{reward-8-name|}}}]]}}}}}}}}}}}}}}}}
+
<div style="display: flex; align-items: center; ">{{#if: {{{reward-8-name|}}}| {{ItemBox5|{{{reward-8-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-8-name}}]]</div></div>}}}}}}}}}}}}}}}}
 
|}
 
|}
 +
  
 
[[Category:Chests]]
 
[[Category:Chests]]
Line 53: Line 54:
 
|}
 
|}
 
</center>
 
</center>
This template allows easy adding of chest pages. [[:Category:Chests|Chests]] differ from [[:Category:Containers|Containers]] as chests require a key to open.
+
<br>This template allows easy adding of chest pages. [[:Category:Chests|Chests]] differ from [[:Category:Containers|Containers]] in that chests require a key to be opened.<br><br>
To use, copy the following code to the chest page and fill in the blanks.
+
To use this template, copy the following code to the chest page and fill in the blanks.
 
<pre>
 
<pre>
 
{{Chest
 
{{Chest

Latest revision as of 09:44, 30 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. Chests differ from Containers in that chests require a key to be opened.

To use this template, copy the following code to the chest page and fill in the blanks.

{{Chest
|key=
|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=
}}