Difference between revisions of "Template:RegionInfoBox"
From EncyclopAtys
CeNobiteElf (talk | contribs) m |
CeNobiteElf (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | {{#vardefine:colour| | + | {{#switch: {{lc: {{{continent}}}}} |
+ | | nexus minor = {{#vardefine:colour|6C3}} | ||
+ | | witherings = {{#vardefine:colour|9932CC}} | ||
+ | | verdant heights = {{#vardefine:colour|339340}} | ||
+ | | burning desert = {{#vardefine:colour|C63}} | ||
+ | | aeden aqueous = {{#vardefine:colour|36C}} | ||
+ | | #default = {{#vardefine:colour|000}} }} | ||
+ | <!-- | ||
-->{| class="infobox" | -->{| class="infobox" | ||
|- | |- | ||
Line 12: | Line 19: | ||
{{#if: {{{continent|}}} | ! align="centre" style="background: #{{#var:colour}}; width:50%;" {{!}} <font color="white">'''Continent:'''</font> | {{#if: {{{continent|}}} | ! align="centre" style="background: #{{#var:colour}}; width:50%;" {{!}} <font color="white">'''Continent:'''</font> | ||
!align="center" {{!}} {{{continent}}} | !align="center" {{!}} {{{continent}}} | ||
+ | {{!}}- | }} | ||
+ | {{#if: {{{section|}}} | ! align="centre" style="background: #{{#var:colour}}; width:50%;" {{!}} <font color="white">'''Prime Roots Section:'''</font> | ||
+ | !align="center" {{!}} {{{section}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
!align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Region Level:'''</font> | !align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Region Level:'''</font> | ||
Line 52: | Line 62: | ||
; image | ; image | ||
:Specifies the image that should be used for the region. | :Specifies the image that should be used for the region. | ||
+ | |||
+ | ;section | ||
+ | :Used in case of Prime Roots regions, it specifies the section of Prime Roots the region is in. | ||
==Example== | ==Example== |
Revision as of 08:39, 24 March 2010
RegionInfoBox | |
---|---|
Region Level: | {{{lvl}}} |
Neutral Altar: | {{{neut}}} |
Description
Usage
{{RegionInfoBox |image= |continent= |lvl= |neut= |}}
Not optional parameters
- lvl
- Specifies the level range of the region, eg. 100 - 150
- neut
- specifies to what faction the neutral altar of the region belongs, can be:
- Kami and Karavan
- Kami
- Karavan
- None
Optional parameters
- continent
- Specifies on which continent the region is in.
- name
- If used the template uses a different name than what {{PAGENAME}} provides.
- image
- Specifies the image that should be used for the region.
- section
- Used in case of Prime Roots regions, it specifies the section of Prime Roots the region is in.
Example
Geographical Amber | |
RegionInfoBox | |
Sub-Continent | Witherings |
---|---|
Region Level | 50 - 100 |
Neutral Altar | Karavan |