Difference between revisions of "Template:ContinentInfoBox"
From EncyclopAtys
(14 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | <includeonly> |
− | | | + | {{RegionInfoBox |
− | | | + | |type=C |
− | | | + | |name={{{name|}}} |
− | | | + | |logo={{{logo|}}} |
− | | | + | |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: | + | !align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" | |
|- | |- | ||
| | | | ||
|- | |- | ||
− | {{#if: {{{race|}}} | ! align=" | + | {{#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=== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Optional parameters=== | ===Optional parameters=== | ||
− | ; | + | ; race |
− | :Specifies | + | :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. | ||
− | ; | + | ;eco |
− | : | + | :Name of the ecosystem. |
+ | |||
+ | ;size | ||
+ | :Square kilometers of size | ||
==Example== | ==Example== | ||
− | {{ | + | {{ContinentInfoBox |
|image=MG_map.jpg | |image=MG_map.jpg | ||
|name=Witherings | |name=Witherings | ||
− | |race= | + | |race=Zoraï |
+ | |eco=Jungle | ||
+ | |size=37.59 | ||
|}} | |}} | ||
− | [[Category: Infobox templates| | + | [[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² |