Difference between revisions of "Template:Chest"

From Fallen Sword Wiki
Jump to: navigation, search
Line 30: Line 30:
 
|width="85%" valign="top" align="center"|
 
|width="85%" valign="top" align="center"|
 
== Possible Rewards ==
 
== Possible Rewards ==
{| border="0" style="width: 75%; heigth: 100%; text-align: middle; border:1px solid #D19405; background: #FFDB87;" cellpadding="2" cellspacing="2"
 
{{#if: {{{reward-1-name|}}}| ! [[{{{reward-1-name}}}]]}}{{#if: {{{reward-2-name|}}}| !! [[{{{reward-2-name}}}]]}}{{#if: {{{reward-3-name|}}}| !! [[{{{reward-3-name}}}]]}}
 
|-
 
| valign="top" style="border:1px solid #D19405; background: #EBEBEB" cellpadding="2" cellspacing="2"|
 
{{#if: {{{reward-1-name|}}}| {{ItemBox|{{{reward-1-image}}}}}}}
 
{{#if: {{{reward-2-name|}}}| {{!}} valign="top" style="border:1px solid #D19405; background: #EBEBEB" cellpadding="3" cellspacing="3"{{!}}}}
 
{{#if: {{{reward-2-name|}}}|{{ItemBox|{{{reward-2-image}}}}}}}
 
|valign="top" style="border:1px solid #D19405; background: #EBEBEB" cellpadding="3" cellspacing="3"|
 
{{#if: {{{reward-3-name|}}}|{{ItemBox|{{{reward-3-image}}}}}}}
 
|-
 
{{#if: {{{reward-4-name|}}}| ! [[{{{reward-4-name}}}]]}} {{#if: {{{reward-5-name|}}}| !! [[{{{reward-5-name}}}]]}} {{#if: {{{reward-6-name|}}}| !! [[{{{reward-6-name}}}]]}}
 
|-
 
|valign="top" style="border:1px solid #D19405; background: #EBEBEB" cellpadding="3" cellspacing="3"|
 
{{#if: {{{reward-4-name|}}}|{{ItemBox|{{{reward-4-image}}}}}}}
 
|valign="top" style="border:1px solid #D19405; background: #EBEBEB" cellpadding="3" cellspacing="3"|
 
{{#if: {{{reward-5-name|}}}|{{ItemBox|{{{reward-5-image}}}}}}}
 
|valign="top" style="border:1px solid #D19405; background: #EBEBEB" cellpadding="3" cellspacing="3"|
 
{{#if: {{{reward-6-name|}}}|{{ItemBox|{{{reward-6-image}}}}}}}
 
|}
 
 
<!--
 
 
<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-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-2-name|}}}| {{ItemBox5|{{{reward-2-image}}}}} <div style="margin-left:1.5%;"> [[{{{reward-2-name}}}]]</div></div><br>
Line 59: Line 38:
 
<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|{{{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>}}}}}}}}}}}}}}}}
 
<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>}}}}}}}}}}}}}}}}
-->
 
 
|}
 
|}
  

Revision as of 09:40, 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=
}}

Produces:


Information

1x1mini.png
icon_action_crate.png

Name: Chest
Type: Chest

Opens With

2x3.png
8548.gif
Crystal Key

Possible Rewards