Vorlage:ContinentInfoBox: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
(copy from en)
 
K
Zeile 66: Zeile 66:
  
 
;eco
 
;eco
:Name<includeonly>
+
:Name</noinclude>
{{RegionInfoBox
 
|type=C
 
|name={{{name|}}}
 
|logo={{{logo|}}}
 
|image={{{image|}}}
 
|continent={{{continent|}}}
 
|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>
 
|-
 
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }}
 
|-
 
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" |
 
|-
 
|
 
|-
 
{{#if: {{{race|}}} | ! align="center" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Homins:'''</font>
 
!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__
 
==Description==
 
===Usage===
 
<pre>
 
{{RegionInfoBox
 
|image=
 
|name=
 
|race=
 
|eco=
 
|size=
 
|}}
 
</pre>
 
 
 
===Not optional parameters===
 
 
 
===Optional parameters===
 
; race
 
:Specifies the homin inhabitants.
 
 
 
; name
 
:If used the template uses a different name than what <nowiki>{{PAGENAME}}</nowiki> provides.
 
 
 
; image
 
:Specifies the image that should be used for the region.
 
 
 
;eco
 
:Name des Ökosystem.
 
 
 
;size
 
:Größe in Quadratkilometern
 
 
 
==Example==
 
{{ContinentInfoBox
 
|image=MG_map.jpg
 
|name=Witherings
 
|race=Zoraï
 
|eco=Jungle
 
|size=37.59
 
|}}
 
 
 
[[Category: Infobox templates|ContinentInfoBox]]
 
</noinclude>
 
.
 
 
 
;size
 
:Square kilometers of size
 
 
 
==Example==
 
{{ContinentInfoBox
 
|image=MG_map.jpg
 
|name=Witherings
 
|race=Zoraï
 
|eco=Jungle
 
|size=37.59
 
|}}
 
 
 
[[Category: Infobox templates|ContinentInfoBox]]
 
</noinclude>
 

Version vom 25. Mai 2020, 18:33 Uhr


Description

Usage

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

Not optional parameters

Optional parameters

race
Details der dort lebenden Homins
name
Wenn genutzt, wird das Template einen anderen Namen nutzen als {{PAGENAME}} anzeigt.
image
Specifiert das Bild der Region.
eco
Name