Difference between revisions of "Template:SettleInfoBox"
From EncyclopAtys
CeNobiteElf (talk | contribs) m |
CeNobiteElf (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | {{#vardefine:colour|688}}<!-- | + | {{#switch: {{lc: {{{continent}}}}} |
− | -->{| class="infobox" | + | | witherings = {{#vardefine:colour|871F78}} |
+ | | verdant heights = {{#vardefine:colour|339340}} | ||
+ | | burning desert = {{#vardefine:colour|C63}} | ||
+ | | aeden aqueous = {{#vardefine:colour|36C}} | ||
+ | | #default = {{#vardefine:colour|688}} }}<!-- | ||
+ | --><!--{{#vardefine:colour|688}}-->{| class="infobox" | ||
|- | |- | ||
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font> | !align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font> | ||
|- | |- | ||
− | ! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }} | + | ! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|{{#if: {{{size|}}} |{{{size}}} | 300px}}|{{PAGENAME}}]] }} |
|- | |- | ||
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" | <font color="white"></font> | !align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" | <font color="white"></font> |
Revision as of 22:48, 21 May 2010
SettleInfoBox | |
---|---|
Region: | {{{region}}} |
Continent: | {{{continent}}} |
Available quality: | {{{q}}} |
Altar: | {{{altar}}} |
Description
Usage
{{SettleInfoBox |image= |region= |continent= |q= |altar= |}}
Not optional parameters
- region
- Specifies in which region the settlement is in
- continent
- Specifies on which continent the settlement is in.
- q
- Specifies the highest quality goods available in the settlement, eg. 100
- altar
- specifies what faction's altars are located in the settlement, valid values are:
- Kami and Karavan
- Kami
- Karavan
Optional parameters
- name
- If used the template uses a different name than what {{PAGENAME}} provides.
- image
- Specifies the image that should be used for the region.
Example
SettleInfoBox | |
---|---|
Region: | Liberty Lake |
Continent: | Aeden Aqueous |
Available quality: | 100 |
Altar: | Kami and Karavan |