Difference between revisions of "Template:RegionInfoBox"
From EncyclopAtys
Line 36: | Line 36: | ||
-->background:transparent; background: #{{#var:colour}}; background-image: linear-gradient(rgba(255, 255, 255, 0.2),#{{#var:colour}},#A50);<!-- | -->background:transparent; background: #{{#var:colour}}; background-image: linear-gradient(rgba(255, 255, 255, 0.2),#{{#var:colour}},#A50);<!-- | ||
-->vertical-align:middle;text-align:left; padding:.02em .4em; <!-- | -->vertical-align:middle;text-align:left; padding:.02em .4em; <!-- | ||
− | -->{{#if: {{{logo|}}}| |line-height: 1.6}} | + | -->{{#if: {{{logo|}}}| |line-height: 1.6;}} <!-- |
-->font-size:1.2em; font-weight:bold;<!-- | -->font-size:1.2em; font-weight:bold;<!-- | ||
− | -->{{#if: {{ | + | -->{{#if: {{lc: {{{type}}} }} |c| font-variant:small-caps;font-size:2em;}} <!-- |
− | -->"|{{#if: {{{logo|}}}| [[Image:{{{logo}}}|64px|top|left]]}} <big>{{3DText|3D=glow|text={{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}</big> | + | -->"|<!-- |
+ | -->{{#if: {{{logo|}}}| [[Image:{{{logo}}}|64px|top|left]]}} <big>{{3DText|3D=glow|text={{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}} }} }}</big> | ||
+ | {{#if: {{{race|}}}|{{3DText|3D=glow|text=Country of {{{race}}} people}} }} | ||
|- <!--Image--> | |- <!--Image--> | ||
|colspan="2" <!-- | |colspan="2" <!-- | ||
Line 67: | Line 69: | ||
{{!}}- | }} | {{!}}- | }} | ||
|- <!--Lvl--> | |- <!--Lvl--> | ||
− | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!-- | + | {{#if: {{{lvl|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!-- |
− | -->text-align:right; padding:.2em .8em; color:white" | + | -->text-align:right; padding:.2em .8em; color:white" {{!}} '''Region Level''' |
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!-- | !style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!-- | ||
− | -->text-align:left; padding:.2em .4em; " | + | -->text-align:left; padding:.2em .4em; " <!-- |
+ | -->{{!}} {{{lvl}}} | ||
+ | {{!}}- | }} | ||
|- <!--Neut--> | |- <!--Neut--> | ||
− | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!-- | + | {{#if: {{{neut|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!-- |
− | -->text-align:right; padding:.2em .8em; color:white" | + | -->text-align:right; padding:.2em .8em; color:white" {{!}} '''Neutral Altar''' |
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!-- | !style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!-- | ||
− | -->text-align:left; padding:.2em .4em; " | + | -->text-align:left; padding:.2em .4em; " <!-- |
+ | -->{{!}} {{{neut}}} | ||
+ | {{!}}- | }} | ||
|- <!--Size--> | |- <!--Size--> | ||
− | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!-- | + | {{#if: {{{size|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!-- |
− | -->text-align:right; padding:.2em .8em; color:white" | + | -->text-align:right; padding:.2em .8em; color:white" {{!}} '''Area''' |
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!-- | !style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!-- | ||
− | -->text-align:left; padding:.2em .4em; " | + | -->text-align:left; padding:.2em .4em; " <!-- |
+ | -->{{!}} {{{size}}} km² | ||
+ | {{!}}- | }} | ||
|}<!-- | |}<!-- | ||
Revision as of 14:14, 9 April 2019
Geographical Amber | |
RegionInfoBox | |
Description
Usage
{{RegionInfoBox |image= |continent= |lvl= |neut= |size= |}}
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
- size
- Size of the region (km²)
Optional parameters
- continent
- Specifies on which continent the region is in.chose one:
- Aeden aqueous
- Burning desert
- Nexus minor
- Verdant heights
- Witherings
- 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 |
Area | 22.123 km² |
Geographical Amber | |
Verdant Heights
Country of Matis people | |
Homins | Matis |
---|---|
Area | 20.09 km² |