Vorlage:ContinentInfoBox: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
(copy from en)
 
 
(3 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 31: Zeile 31:
 
{{!}}- | }}
 
{{!}}- | }}
 
|-
 
|-
{{#if: {{{eco|}}} | ! align="center" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Ecosystem:'''</font>
+
{{#if: {{{eco|}}} | ! align="center" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Ökosystem:'''</font>
 
!align="center" {{!}} {{{eco}}}
 
!align="center" {{!}} {{{eco}}}
 
{{!}}- | }}
 
{{!}}- | }}
 
|-
 
|-
{{#if: {{{size|}}} | ! align="center" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Area:'''</font>
+
{{#if: {{{size|}}} | ! align="center" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" {{!}} <font color="white">'''Größe:'''</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
 
:Details der dort lebenden Homins
 
 
 
; name
 
:Wenn genutzt, wird das Template einen anderen Namen nutzen als <nowiki>{{PAGENAME}}</nowiki> anzeigt.
 
 
 
; image
 
:Specifiert das Bild der Region.
 
 
 
;eco
 
:Name<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}}
 
| 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²
 
!align="center" {{!}} {{{size}}} km²
 
{{!}}- | }}
 
{{!}}- | }}
Zeile 133: Zeile 66:
  
 
;eco
 
;eco
:Name des Ökosystem.
+
:Name of the ecosystem.
 
 
;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
 
;size
Zeile 163: Zeile 80:
 
|}}
 
|}}
  
[[Category: Infobox templates|ContinentInfoBox]]
+
[[Kategorie:Vorlage:Infobox|ContinentInfoBox]]
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 22. Juni 2020, 12:15 Uhr


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

Bernstein der Geographie
Witherings
MG map.jpg
Ökosystem Jungle
Areal 37.59 km²