Difference between revisions of "Template:Chest"

From Fallen Sword Wiki
Jump to: navigation, search
 
(169 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
<includeonly>__NOTOC__
 
<includeonly>__NOTOC__
{|cellpadding="5" width="90%"
+
__NOEDITSECTION__
|width="30%" valign="top" align="left"|
+
{|cellpadding="5" width="100%"
|-
+
|width="15%" valign="top" align="left"|
== Item ==
+
== Information ==
 
{|
 
{|
| valign="top" |{{ItemBox4|{{{image|}}}}}
+
<!-- Once chest images have been uploaded consider adding the image to the chest information section -->
 +
<!-- | {{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" |
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
+
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
'''Type:''' [[:Category:Components|Component]]<br>
+
'''Type:''' [[:Category:Chests|Chest]]
'''Rarity:''' {{#switch: {{lc:{{{rarity}}}}}
+
|}
| common = {{Common Item}}
+
|width="20%" valign="top" align="center"|
| rare = {{Rare Item}}
+
== Opens With ==
| unique = {{Unique Item}}
+
{{ItemBox5|{{#switch: {{lc:{{{key}}}}}
| legendary = {{Legendary Item}}
+
| crystal || crystal key= {{ItemPicture|8548}}
| super elite = {{Super Elite Item}}
+
| gold || gold key= {{ItemPicture|8547}}
| crystalline = {{Crystalline Item}}
+
| silver || silver key= {{ItemPicture|8546}}
| epic = {{Epic Item}}
+
| bronze || bronze key= {{ItemPicture|8545}}
|  
+
|
 +
}}}}{{#switch: {{lc:{{{key}}}}}
 +
| crystal || crystal key= [[Crystal Key]]
 +
| gold || gold key= [[Gold Key]]
 +
| silver || silver key= [[Silver Key]]
 +
| bronze || bronze key= [[Bronze Key]]
 +
|
 
}}
 
}}
 +
 +
|width="65%" valign="top" align="left"|
 +
== Possible Rewards ==
 +
<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|{{{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-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|{{{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-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|{{{reward-8-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-8-name}}]]</div></div>}}}}}}}}}}}}}}}}
 
|}
 
|}
|width="50%" valign="top" align="left"|
 
  
=== Description ===
 
{{{description|''This page is missing a description.''[[Category:Needs Improved]]}}}
 
|width="25%" valign="middle" align="left"|
 
== Information ==
 
'''Name:''' {{{name|{{PAGENAME}}}}}<br>
 
'''&bull;''' '''[[Class]]:''' {{#switch: {{lc:{{{class}}}}}
 
| aquatic = [[:Category:Aquatic Class|Aquatic]]
 
| avian = [[:Category:Avian Class|Avian]]
 
| beast = [[:Category:Beast Class|Beast]]
 
| canine = [[:Category:Canine Class|Canine]]
 
| chest = [[Chest|Chests]]
 
| demon = [[:Category:Demon Class|Demon]]
 
| dragon = [[:Category:Dragon Class|Dragon]]
 
| dwarf = [[:Category:Dwarf Class|Dwarf]]
 
| elf = [[:Category:Elf Class|Elf]]
 
| feline = [[:Category:Feline Class|Feline]]
 
| golem = [[:Category:Golem Class|Golem]]
 
| greenskin = [[:Category:Greenskin Class|Greenskin]]
 
| human = [[:Category:Human Class|Human]]
 
| magical = [[:Category:Magical Class|Magical]]
 
| mechanical = [[:Category:Mechanical Class|Mechanical]]
 
| mounted = [[:Category:Mounted Class|Mounted]]
 
| plant = [[:Category:Plant Class|Plant]]
 
| reptile = [[:Category:Reptile Class|Reptile]]
 
| undead = [[:Category:Undead Class|Undead]]
 
| vermin = [[:Category:Vermin Class|Vermin]]
 
|
 
}}<br>
 
'''&bull;''' '''[[Level]]:''' {{{level|}}}
 
  
== Drops ==
+
[[Category:Chests]]
{{#ifeq: {{{drop|No}}} | No || '''&bull;''' [[{{{drop|}}}]]<br>}}{{#ifeq: {{{drop-2|No}}} | No || '''&bull;''' [[{{{drop-2|}}}]]<br>}}{{#ifeq: {{{drop-3|No}}} | No || '''&bull;''' [[{{{drop-3|}}}]]<br>}}{{#ifeq: {{{drop-4|No}}} | No || '''&bull;''' [[{{{drop-4|}}}]]<br>}}{{#ifeq: {{{drop-5|No}}} | No || '''&bull;''' [[{{{drop-5|}}}]]<br>}}{{#ifeq: {{{drop-6|No}}} | No || '''&bull;''' [[{{{drop-6|}}}]]<br>}}{{#ifeq: {{{drop-7|No}}} | No || '''&bull;''' [[{{{drop-7|}}}]]<br>}}{{#ifeq: {{{drop-8|No}}} | No || '''&bull;''' [[{{{drop-8|}}}]]<br>}}{{#ifeq: {{{drop-9|No}}} | No || '''&bull;''' [[{{{drop-9|}}}]]<br>}}{{#ifeq: {{{drop-10|No}}} | No || '''&bull;''' [[{{{drop-10|}}}]]<br>}}{{#ifeq: {{{drop-11|No}}} | No || '''&bull;''' [[{{{drop-11|}}}]]<br>}}{{#ifeq: {{{drop-12|No}}} | No || '''&bull;''' [[{{{drop-12|}}}]]<br>}}{{#ifeq: {{{drop-13|No}}} | No || '''&bull;''' [[{{{drop-13|}}}]]<br>}}{{#ifeq: {{{drop-14|No}}} | No || '''&bull;''' [[{{{drop-14|}}}]]<br>}}{{#ifeq: {{{drop-15|No}}} | No || '''&bull;''' [[{{{drop-15|}}}]]<br>}}{{#ifeq: {{{drop-16|No}}} | No || '''&bull;''' [[{{{drop-16|}}}]]<br>}}{{#ifeq: {{{drop-17|No}}} | No || '''&bull;''' [[{{{drop-17|}}}]]<br>}}{{#ifeq: {{{drop-18|No}}} | No || '''&bull;''' [[{{{drop-18|}}}]]<br>}}{{#ifeq: {{{drop-19|No}}} | No || '''&bull;''' [[{{{drop-19|}}}]]<br>}}{{#ifeq: {{{drop-20|No}}} | No || '''&bull;''' [[{{{drop-20|}}}]]<br>}}
+
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
<center>
 
<center>
Line 65: Line 54:
 
|}
 
|}
 
</center>
 
</center>
This template allows for chests. To use, copy the following code to the chest page and fill in the blanks.
+
<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 this template, copy the following code to the chest page and fill in the blanks.
 
<pre>
 
<pre>
 
{{Chest
 
{{Chest
|image=
+
|key=
|description=
+
|reward-1-name=
|name=
+
|reward-1-image=
|drop=
+
|reward-2-name=
|drop-2=
+
|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>

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=
}}