Difference between revisions of "Template:ContinentInfoBox"

From EncyclopAtys

Jump to: navigation, search
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#switch: {{lc: {{{continent}}}}}
+
<includeonly>
| nexus minor    = {{#vardefine:colour|6C3}}  
+
{{RegionInfoBox
| witherings     = {{#vardefine:colour|871F78}}  
+
|type=C
| verdant heights = {{#vardefine:colour|339340}}  
+
|name={{{name|}}}
| burning desert = {{#vardefine:colour|C63}}  
+
|logo={{{logo|}}}
| aeden aqueous   = {{#vardefine:colour|36C}}  
+
|image={{{image|}}}
| #default        = {{#vardefine:colour|000}} }}<!--
+
|continent={{{continent|}}}
-->{| class="infobox"
+
|race={{{race|}}}
 +
|eco={{{eco|}}}
 +
|size={{{size|}}}
 +
|}}
 +
 
 +
<!-----------------------{{#switch: {{lc: {{{race}}}}}
 +
| zoraï     = {{#vardefine:colour|871F78}}  
 +
| matis = {{#vardefine:colour|339340}}  
 +
| fyros = {{#vardefine:colour|C63}}  
 +
| tryker   = {{#vardefine:colour|36C}}  
 +
| #default        = {{#vardefine:colour|000}} }}<!-x-
 +
-x->{| 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>
Line 12: Line 23:
 
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }}
 
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }}
 
|-
 
|-
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" |
+
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" |
 
|-
 
|-
 
|
 
|
 
|-
 
|-
{{#if: {{{race|}}} | ! align="centre" style="background: #{{#var:colour}}; width:50%;" {{!}} <font color="white">'''Homin inhabitants:'''</font>
+
{{#if: {{{race|}}} | ! align="center" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Homins:'''</font>
 
!align="center" {{!}} {{{race}}}
 
!align="center" {{!}} {{{race}}}
 
{{!}}- | }}
 
{{!}}- | }}
|}<!--
+
|-
 +
{{#if: {{{eco|}}} | ! align="center" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Ecosystem:'''</font>
 +
!align="center" {{!}} {{{eco}}}
 +
{{!}}- | }}
 +
|-
 +
{{#if: {{{size|}}} | ! align="center" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Area:'''</font>
 +
!align="center" {{!}} {{{size}}} km²
 +
{{!}}- | }}
 +
|}--></includeonly><!--
  
 
--><noinclude>{{clear}} __NOTOC__
 
--><noinclude>{{clear}} __NOTOC__
Line 29: Line 48:
 
|name=
 
|name=
 
|race=
 
|race=
 +
|eco=
 +
|size=
 
|}}
 
|}}
 
</pre>
 
</pre>
  
 
===Not optional parameters===
 
===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===
 
===Optional parameters===
; continent
+
; race
:Specifies on which continent the region is in.
+
:Specifies the homin inhabitants.
  
 
; name
 
; name
Line 53: Line 65:
 
:Specifies the image that should be used for the region.
 
:Specifies the image that should be used for the region.
  
;section
+
;eco
:Used in case of Prime Roots regions, it specifies the section of Prime Roots the region is in.
+
:Name of the ecosystem.
 +
 
 +
;size
 +
:Square kilometers of size
  
 
==Example==
 
==Example==
{{RegionInfoBox
+
{{ContinentInfoBox
 
|image=MG_map.jpg
 
|image=MG_map.jpg
 
|name=Witherings
 
|name=Witherings
|race=Zorai
+
|race=Zoraï
 +
|eco=Jungle
 +
|size=37.59
 
|}}
 
|}}
  
 
[[Category: Infobox templates|ContinentInfoBox]]
 
[[Category: Infobox templates|ContinentInfoBox]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:58, 9 April 2019


Description

Usage

{{RegionInfoBox
|image=
|name=
|race=
|eco=
|size=
|}}

Not optional parameters

Optional parameters

race
Specifies the homin inhabitants.
name
If used the template uses a different name than what {{PAGENAME}} provides.
image
Specifies the image that should be used for the region.
eco
Name of the ecosystem.
size
Square kilometers of size

Example

Geographical Amber
Witherings

Country of Zoraï people

MG map.jpg
Homins Zoraï
Area 37.59 km²