Difference between revisions of "Template:Chest"

From Fallen Sword Wiki
Jump to: navigation, search
Line 5: Line 5:
 
== Information ==
 
== Information ==
 
{|
 
{|
<!-- Once chest images have been uploaded consider adding the image to the chest information section -->
+
| valign="top" |{{ItemBox4|http://huntedcow.cachefly.net/fs/skin/icon_action_crate.gif}}
<!-- | {{ItemBox|{{{image|}}}}} -->
+
<!-- The action icon will do for now. -->
+
| valign="top" |{{ItemBox4|https://cdn2.fallensword.com/ui/world/icon_action_crate.png}}
+
 
+
 
| valign="top" |
 
| valign="top" |
 
'''&bull;''' '''Name:''' {{{name|{{PAGENAME}}}}}<br>
 
'''&bull;''' '''Name:''' {{{name|{{PAGENAME}}}}}<br>
Line 22: Line 18:
 
| bronze || bronze key= {{ItemPicture|8545}}
 
| bronze || bronze key= {{ItemPicture|8545}}
 
|
 
|
}}}}<br>{{#switch: {{lc:{{{key}}}}}
+
}}}}{{#switch: {{lc:{{{key}}}}}
 
| crystal || crystal key= [[Crystal Key]]
 
| crystal || crystal key= [[Crystal Key]]
 
| gold || gold key= [[Gold Key]]
 
| gold || gold key= [[Gold Key]]
Line 29: Line 25:
 
|
 
|
 
}}
 
}}
 +
 
|width="33%" valign="top" align="left"|
 
|width="33%" valign="top" align="left"|
  
 
== Possible Rewards ==
 
== Possible Rewards ==
<div style="display: flex; align-items: center; ">{{#if: {{{reward-name|}}}| {{ItemBox5|{{{reward-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-name}}}]]</div></div><br>
+
<div style="display: flex; align-items: center; ">{{#if: {{{reward-name|}}}| {{ItemBox5|[[Image:{{{reward-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|{{{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|[[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-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-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-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-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-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-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-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-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-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-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-8-name|}}}| {{ItemBox5|{{{reward-8-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-8-name}}}]]}}}}}}}}}}}}}}}}
+
<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|}}}]]}}}}}}}}}}}}}}}}
 
|}
 
|}
  
Line 57: Line 54:
 
<pre>
 
<pre>
 
{{Chest
 
{{Chest
 +
|name=
 
|key=
 
|key=
|reward-name=
+
|item=
|reward-image=
+
|RewImage=
|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>
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 02:41, 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
|name=
|key=
|item=
|RewImage=
}}