Difference between revisions of "Template:ContinentInfoBox"
From EncyclopAtys
m |
|||
| (One intermediate revision 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 22: | Line 34: | ||
!align="center" {{!}} {{{eco}}} | !align="center" {{!}} {{{eco}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
| − | |}</includeonly><!-- | + | |- |
| + | {{#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 33: | Line 49: | ||
|race= | |race= | ||
|eco= | |eco= | ||
| + | |size= | ||
|}} | |}} | ||
</pre> | </pre> | ||
| Line 50: | Line 67: | ||
;eco | ;eco | ||
:Name of the ecosystem. | :Name of the ecosystem. | ||
| + | |||
| + | ;size | ||
| + | :Square kilometers of size | ||
==Example== | ==Example== | ||
| Line 57: | Line 77: | ||
|race=Zoraï | |race=Zoraï | ||
|eco=Jungle | |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 | |
| Homins | Zoraï |
|---|---|
| Area | 37.59 km² |