Difference between revisions of "Template:SettleInfoBox"
From EncyclopAtys
CeNobiteElf (talk | contribs) m |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#vardefine:colour|688}}<!-- | + | {{#switch: {{lc: {{{continent}}}}} |
− | -->{| class="infobox" | + | | witherings = {{#vardefine:colour|871F78}} |
+ | | [[witherings]] = {{#vardefine:colour|871F78}} | ||
+ | | verdant heights = {{#vardefine:colour|339340}} | ||
+ | | [[verdant heights]] = {{#vardefine:colour|339340}} | ||
+ | | burning desert = {{#vardefine:colour|C63}} | ||
+ | | [[burning desert]] = {{#vardefine:colour|C63}} | ||
+ | | aeden aqueous = {{#vardefine:colour|36C}} | ||
+ | | [[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: | + | !align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" | <font color="white"></font> |
|- | |- | ||
| | | | ||
|- | |- | ||
− | !align="centre" style="background: #{{#var:colour}}; | + | !align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Region:'''</font> |
!align="center" | {{{region}}} | !align="center" | {{{region}}} | ||
|- | |- | ||
− | !align="centre" style="background: #{{#var:colour}}; | + | !align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Continent:'''</font> |
!align="center" | {{{continent}}} | !align="center" | {{{continent}}} | ||
|- | |- | ||
− | !align="centre" style="background: #{{#var:colour}}; | + | !align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Available quality:'''</font> |
!align="center" | {{{q}}} | !align="center" | {{{q}}} | ||
|- | |- | ||
− | !align="centre" style="background: #{{#var:colour}}; | + | !align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Altar:'''</font> |
− | !align="center" | {{{ | + | !align="center" | {{{altar}}} |
|}<!-- | |}<!-- | ||
− | --><noinclude>{{clear}} __NOTOC__ | + | --><noinclude>{{Trad|DE=Vorlage:SettleInfoBox|ES=Plantilla:SettleInfoBox|EN=Template:SettleInfoBox|FR=Modèle:SettleInfoBox|RU=|palette=wiki |H=1}}{{clear}} __NOTOC__ |
==Description== | ==Description== | ||
===Usage=== | ===Usage=== | ||
Line 31: | Line 40: | ||
|region= | |region= | ||
|continent= | |continent= | ||
− | | | + | |q= |
− | | | + | |altar= |
|}} | |}} | ||
</pre> | </pre> | ||
Line 62: | Line 71: | ||
{{SettleInfoBox | {{SettleInfoBox | ||
|image=Fairhavenmap.jpg | |image=Fairhavenmap.jpg | ||
+ | |capital=New Trykoth | ||
|region=Liberty Lake | |region=Liberty Lake | ||
|continent=Aeden Aqueous | |continent=Aeden Aqueous |
Latest revision as of 10:50, 4 August 2023
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 |