Vorlage:RegionInfoBox: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
 
(11 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{#switch: {{lc: {{{continent}}}}}
+
<includeonly>
| kleiner nexus     = {{#vardefine:colour|6C3}}  
+
{{#switch: {{lc: {{{eco}}}}}
| verdorrende lande = {{#vardefine:colour|871F78}}  
+
| Urwurzeln = {{#vardefine:colour|{{ColorAtys|type=dark|group=primes}}}}
| grüne anhöhen    = {{#vardefine:colour|339340}}  
+
| [[Urwurzeln]]     = {{#vardefine:colour|{{ColorAtys|type=dark|group=primes}}}}
| brennende wüste  = {{#vardefine:colour|C63}}  
+
| Dschungel  = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}}  
| aeden aqueous    = {{#vardefine:colour|36C}}  
+
| [[Dschungel]]      = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}}
| #default         = {{#vardefine:colour|000}} }}<!--
+
| Wald = {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}}
-->{| class="infobox"
+
| [[Wald]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}}
|-
+
| Wüste  = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}  
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font>
+
| [[Wüste]]  = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}  
|-
+
| Seen  = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}}  
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }}
+
| [[Seen]]  = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}}  
|-
+
| #default ={{#vardefine:colour|{{ColorAtys|type=dark|group=}}}}
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" |
+
}}
|-
+
{{#switch: {{lc: {{{race}}}}}
|
+
| Fyros= {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}
|-
+
| [[Fyros]]= {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}
{{#if: {{{continent|}}} | ! align="centre" style="background: #{{#var:colour}}; width:50%;" {{!}} <font color="white">'''Continent:'''</font>
+
| Matis= {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}}
!align="center" {{!}} {{{continent}}}
+
| [[Matis]]= {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}}
 +
| Tryker= {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}}
 +
| [[Tryker]]= {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}}
 +
| Zoraï= {{#vardefine:colour|{{ColorAtys|type=dark|group=zoraï}}}}
 +
| [[Zoraï]]= {{#vardefine:colour|{{ColorAtys|type=dark|group=zoraï}}}}
 +
| Zorai= {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}
 +
| [[Zorai]]= {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}
 +
}}<!--
 +
-->{| class="infobox" style="float: right;    width:25%;  max-width:30%;  margin: 0.1em;  overflow: auto; <!--
 +
-->border: thick outset #C90; border-radius:1em;  padding: 0.1em;<!--
 +
-->background-color: #C90; background-color: rgba(255, 165, 0, 0.5); background-image: radial-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5)); <!--
 +
-->cellspacing: 0.01em; cellpadding:0.01em; vertical-align:center;  "
 +
|-                                <!--Box-Titel-->
 +
|colspan="2" <!--
 +
-->style="text-align:right; vertical-align:center; padding:.01em .04em; <!--
 +
-->font-size:1em; font-weight:b_old; font-variant:small-caps;  " | {{3DText|text={{{title|Bernstein der Geographie}}}}}
 +
|-                                <!--Logo, Name-->
 +
|colspan="2" <!--
 +
-->style="background:transparent; background-color: (rgba(255, 165, 0, 0.2)); background-image: linear-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5),#A50);<!--
 +
-->background:transparent; background: #{{#var:colour}}; background-image: linear-gradient(rgba(255, 255, 255, 0.2),#{{#var:colour}},#A50);<!--
 +
-->vertical-align:middle;text-align:left; padding:.02em .4em; <!--
 +
-->{{#if: {{{logo|}}}| |line-height: 1.6}}; <!--
 +
-->font-size:1.2em; font-weight:bold;  "|{{#if: {{{logo|}}}| [[Image:{{{logo}}}|64px|top|left]]}} <big>{{3DText|3D=glow|text={{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}</big><br/>
 +
|-                                 <!--Bild-->
 +
|colspan="2" <!--
 +
-->style="background-color: (rgba(255, 165, 0, 0.2)); background-image: linear-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5),#A50);<!--
 +
-->text-align:left; padding:0em; "<!--
 +
-->|{{#if: {{{image|}}}| [[file:{{{image}}}|frameless|center]]}}
 +
|-                                <!--Kontinent-->
 +
{{#if: {{{continent|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:right; padding:.2em .8em; color:white" {{!}} '''Sub-Kontinent'''
 +
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->{{!}} {{{continent}}}
 +
{{!}}- | }}
 +
|-                                 <!--Ökosystem-->
 +
{{#if: {{{eco|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:right; padding:.2em .8em; color:white" {{!}} '''Ökosystem'''
 +
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 +
-->text-align:left; padding:.2em .4em; "<!--
 +
-->{{!}} {{{eco}}}
 +
{{!}}- | }}
 +
|-                                <!--Sektion-->
 +
{{#if: {{{section|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:right; padding:.2em .8em; color:white" {{!}} '''Urwurzel&nbsp;Sektion'''
 +
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->{{!}} {{{section}}}
 +
{{!}}- | }}
 +
|-                                 <!--Orte-->
 +
{{#if: {{{places|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:right; padding:.2em .8em; color:white" {{!}} '''Orte'''
 +
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->{{!}} {{{places}}}
 +
{{!}}- | }}
 +
|-                                 <!--Stämme-->
 +
{{#if: {{{tribes|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:right; padding:.2em .8em; color:white" {{!}} '''Stämme'''
 +
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->{{!}} {{{tribes}}}
 +
{{!}}- | }}
 +
|-                                <!--Banditen-->
 +
{{#if: {{{bandits|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:right; padding:.2em .8em; color:white" {{!}} '''Banditen'''
 +
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->{{!}} {{{bandits}}}
 +
{{!}}- | }}
 +
|-                                <!--Außenposten-->
 +
{{#if: {{{posts|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:right; padding:.2em .8em; color:white" {{!}} '''Außenposten'''
 +
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->{{!}} {{{posts}}}
 +
{{!}}- | }}
 +
|-                                <!--neutrale-->
 +
{{#if: {{{neut|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:right; padding:.2em .8em; color:white" {{!}} '''Neutrale Altäre'''
 +
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->{{!}} {{{neut}}}
 +
{{!}}- | }}
 +
|-                                <!--Lvl-->
 +
{{#if: {{{lvl|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:right; padding:.2em .8em; color:white" {{!}} '''Niveau der Region'''
 +
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->{{!}} {{{lvl}}}
 
{{!}}- | }}
 
{{!}}- | }}
{{#if: {{{section|}}} | ! align="centre" style="background: #{{#var:colour}}; width:50%;" {{!}} <font color="white">'''Prime Roots Section:'''</font>
+
|-                                <!--Größe-->
!align="center" {{!}} {{{section}}}
+
{{#if: {{{size|}}} | !style="background: #{{#var:colour}}; background-image: linear-gradient(to left,#{{#var:colour}}, white 1%,rgba(255, 165, 0, 0.1) 4%,rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:right; padding:.2em .8em; color:white" {{!}} '''Areal'''
 +
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->{{!}} {{{size}}} km²
 
{{!}}- | }}
 
{{!}}- | }}
!align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Region Level:'''</font>
+
|}</includeonly><noinclude>
!align="center" | {{{lvl}}}
+
{{Trad
|-
+
|DE=Vorlage:RegionInfoBox
!align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Neutral Altar:'''</font>
+
|EN=Template:RegionInfoBox
!align="center" | {{{neut}}}
+
|ES=Template:RegionInfoBox
|}<!--
+
|FR=Template:RegionInfoBox
 
+
|RU=Template:RegionInfoBox
--><noinclude>{{clear}} __NOTOC__
+
}}
==Description==
+
== Beschreibung ==
===Usage===
+
=== Verwendung ===
 
<pre>
 
<pre>
 
{{RegionInfoBox
 
{{RegionInfoBox
 +
|name=
 
|image=
 
|image=
 
|continent=
 
|continent=
 +
|eco=
 +
|places=
 +
|posts=
 +
|tribes=
 +
|bandits=
 +
|neut=
 
|lvl=
 
|lvl=
|neut=
+
|size=
|}}
+
}}</pre>
</pre>
 
  
===Not optional parameters===
+
=== Parameter ===
 
; lvl
 
; lvl
:Specifies the level range of the region, eg. 100 - 150
+
:Gibt die Level des Gebietes an, z. B. 100 - 150
  
 
; neut
 
; neut
:specifies to what faction the neutral altar of the region belongs, can be:
+
:gibt an, zu welcher Fraktion der neutrale Teleporter in dieser Region gehört, das kann sein:
:* Kami and Karavan
+
:* Kami und Karavan
 
:* Kami
 
:* Kami
 
:* Karavan
 
:* Karavan
:* None
+
:* Keine
  
===Optional parameters===
 
 
; continent
 
; continent
:Specifies on which continent the region is in.
+
:Man gibt den Subkontinent an, auf dem sich diese Region befindet:
 +
:* Aeden Aqueous
 +
:* Brennende Wüste
 +
:* Nexus
 +
:* Grüne Anhöhen
 +
:* Verdorrende Lande
  
 
; name
 
; name
:If used the template uses a different name than what <nowiki>{{PAGENAME}}</nowiki> provides.
+
:Wenn man ihn verwendet, wird die Vorlage einen anderen Namen verwenden als den, den <nowiki>{{PAGENAME}}</nowiki> angibt.
  
 
; image
 
; image
:Specifies the image that should be used for the region.
+
:Gibt an, welches Bild für die Region verwendet werden soll.
  
 
;section
 
;section
:Used in case of Prime Roots regions, it specifies the section of Prime Roots the region is in.
+
:Bei Urwurzelregionen gibt dies an, in welchem Abschnitt der Urwurzeln sich die Region befindet.
  
==Example==
+
== Beispiele ==
 
{{RegionInfoBox
 
{{RegionInfoBox
 +
|name=Bosquet Vierge
 +
|image=MG_map.jpg
 +
|continent=Pays Malade
 +
|eco=Jungle
 +
|places=Étang vierge,
 +
Lac des oiseaux
 +
|tribes=Amazones,
 +
Shadow runners
 +
|bandits=Plain sources,
 +
Shadow bandits
 +
|posts=Atelier de l'Étang vierge,
 +
[[Forteresse de Sai-Shun]]
 +
|neut=Karavan
 +
|lvl=50 - 100
 +
|size=20.09
 +
}}
 +
{| style="width: 450px;"
 +
|-
 +
| <pre><nowiki>{{RegionInfoBox
 +
|name= Jungfräulicher Hain
 
|image=MG_map.jpg
 
|image=MG_map.jpg
 
|continent=Verdorrende Lande
 
|continent=Verdorrende Lande
 +
|eco=Dschungel
 +
|places=Jungfrauen-Teich,
 +
Vogelsee
 +
|tribes=Hamazans, Schattenschmuggler
 +
|bandits=Plain sources,
 +
Shadow bandits
 +
|posts=Werkstatt des jungfräulichen Sees,
 +
[[Sai-Shun-Festung]]
 +
|neut=Karavan
 
|lvl=50 - 100
 
|lvl=50 - 100
|neut=Karavan
+
|size=20.09
 +
}}</nowiki></pre>
 +
|}
 +
{{clear}}
 +
{{RegionInfoBox
 +
|type=C
 +
|logo=Matis_emblem.png
 +
|image=Forestnight.jpg
 +
|name=Grüne Anhöhen
 +
|race=Matis
 +
|eco=Wald
 +
|size=20.09
 
|}}
 
|}}
 
+
{| style="width: 450px;"
[[Category: Infobox Vorlagen|RegionInfoBox]]
+
|-
 +
| <pre><nowiki>{{RegionInfoBox
 +
|type=C
 +
|logo=Matis_emblem.png
 +
|image=Forestnight.jpg
 +
|name=Grüne Anhöhen
 +
|race=Matis
 +
|eco=Wald
 +
|size=20.09
 +
|}}</nowiki></pre>
 +
|}
 +
[[Kategorie:Vorlage:Infobox]] [[Kategorie:Bernsteinwürfel]]
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 4. Januar 2022, 17:27 Uhr

de:Vorlage:RegionInfoBox
en:Template:RegionInfoBox
es:Template:RegionInfoBox
fr:Template:RegionInfoBox
ru:Template:RegionInfoBox
 
UnderConstruction.png
Übersetzung zur Überprüfung
Gib nicht den Mitwirkenden die Schuld, sondern komm und hilf ihnen. 😎

Beschreibung

Verwendung

{{RegionInfoBox
|name=
|image=
|continent=
|eco=
|places=
|posts=
|tribes=
|bandits=
|neut=
|lvl=
|size=
}}

Parameter

lvl
Gibt die Level des Gebietes an, z. B. 100 - 150
neut
gibt an, zu welcher Fraktion der neutrale Teleporter in dieser Region gehört, das kann sein:
  • Kami und Karavan
  • Kami
  • Karavan
  • Keine
continent
Man gibt den Subkontinent an, auf dem sich diese Region befindet:
  • Aeden Aqueous
  • Brennende Wüste
  • Nexus
  • Grüne Anhöhen
  • Verdorrende Lande
name
Wenn man ihn verwendet, wird die Vorlage einen anderen Namen verwenden als den, den {{PAGENAME}} angibt.
image
Gibt an, welches Bild für die Region verwendet werden soll.
section
Bei Urwurzelregionen gibt dies an, in welchem Abschnitt der Urwurzeln sich die Region befindet.

Beispiele

Bernstein der Geographie
Bosquet Vierge
MG map.jpg
Sub-Kontinent Pays Malade
Ökosystem Jungle
Orte Étang vierge,

Lac des oiseaux

Stämme Amazones,

Shadow runners

Banditen Plain sources,

Shadow bandits

Außenposten Atelier de l'Étang vierge,

Forteresse de Sai-Shun

Neutrale Altäre Karavan
Niveau der Region 50 - 100
Areal 20.09 km²
{{RegionInfoBox
|name= Jungfräulicher Hain
|image=MG_map.jpg
|continent=Verdorrende Lande
|eco=Dschungel
|places=Jungfrauen-Teich, 
Vogelsee
|tribes=Hamazans, Schattenschmuggler
|bandits=Plain sources,
Shadow bandits 
|posts=Werkstatt des jungfräulichen Sees,
[[Sai-Shun-Festung]]
|neut=Karavan
|lvl=50 - 100
|size=20.09
}}



Bernstein der Geographie
Matis emblem.png
Grüne Anhöhen
Forestnight.jpg
Ökosystem Wald
Areal 20.09 km²
{{RegionInfoBox
|type=C
|logo=Matis_emblem.png
|image=Forestnight.jpg
|name=Grüne Anhöhen
|race=Matis
|eco=Wald
|size=20.09
|}}