Difference between revisions of "Template:ContinentInfoBox"

From EncyclopAtys

Jump to: navigation, search
m
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{lc: {{{race}}}}}
+
<includeonly>
 +
{{RegionInfoBox
 +
|type=C
 +
|name={{{name|}}}
 +
|logo={{{logo|}}}
 +
|image={{{image|}}}
 +
|continent={{{continent|}}}
 +
|race={{{race|}}}
 +
|eco={{{eco|}}}
 +
|size={{{size|}}}
 +
|}}
 +
 
 +
<!-----------------------{{#switch: {{lc: {{{race}}}}}
 
| zoraï      = {{#vardefine:colour|871F78}}  
 
| zoraï      = {{#vardefine:colour|871F78}}  
 
| matis = {{#vardefine:colour|339340}}  
 
| matis = {{#vardefine:colour|339340}}  
 
| fyros  = {{#vardefine:colour|C63}}  
 
| fyros  = {{#vardefine:colour|C63}}  
 
| tryker  = {{#vardefine:colour|36C}}  
 
| tryker  = {{#vardefine:colour|36C}}  
| #default        = {{#vardefine:colour|000}} }}<!--
+
| #default        = {{#vardefine:colour|000}} }}<!-x-
-->{| class="infobox"
+
-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 11: 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="center" style="background: #{{#var:colour}}; width:50%;" {{!}} <font color="white">'''Homins:'''</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}}}
 
{{!}}- | }}
 
{{!}}- | }}
|}</includeonly><!--
+
|-
 +
{{#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 28: 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 52: 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==
Line 59: Line 75:
 
|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²