Vorlage:RegionInfoBox: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
Zeile 1: Zeile 1:
<includeonly>{{#switch: {{lc: {{{continent}}}|{{PAGENAME}} }}
+
{{#switch: {{lc: {{{continent}}}}}
 
| nexus minor    = {{#vardefine:colour|{{ColorAtys|type=dark|group=ranger}}}}
 
| nexus minor    = {{#vardefine:colour|{{ColorAtys|type=dark|group=ranger}}}}
 
| [[nexus minor]]    = {{#vardefine:colour|{{ColorAtys|type=dark|group=ranger}}}}  
 
| [[nexus minor]]    = {{#vardefine:colour|{{ColorAtys|type=dark|group=ranger}}}}  
 
| witherings      = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}}  
 
| witherings      = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}}  
 
| [[witherings]]      = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}}  
 
| [[witherings]]      = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}}  
 +
| verdorrende lande      = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}}
 +
| [[verdorrende lande]]      = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}}
 
| verdant heights = {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}}
 
| verdant heights = {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}}
 
| [[verdant heights]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}}  
 
| [[verdant heights]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}}  
 +
| grüne anhöhen  = {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}}
 +
| [[grüne anhöhen ]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}}
 
| burning desert  = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}  
 
| burning desert  = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}  
 
| [[burning desert]]  = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}  
 
| [[burning desert]]  = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}  
 +
| grüne anhöhen  = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}
 +
| [[grüne anhöhen]]  = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}
 
| aeden aqueous  = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}}  
 
| aeden aqueous  = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}}  
 
| [[aeden aqueous]]  = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}}  
 
| [[aeden aqueous]]  = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}}  
| #default        = {{#vardefine:colour|000}} }}
+
| kleiner nexus    = {{#vardefine:colour|6C3}}
{{#switch: {{lc: {{{race}}}}}
+
| #default        = {{#vardefine:colour|000}} }}<!--
| fyros= {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}
 
| [[fyros]]= {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}}  
 
| matis= {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}}
 
| [[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; <!--
 
-->{| 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;<!--
 
-->border: thick outset #C90; border-radius:1em;  padding: 0.1em;<!--
Zeile 30: Zeile 25:
 
|colspan="2" <!--
 
|colspan="2" <!--
 
-->style="text-align:right; vertical-align:center; padding:.01em .04em; <!--
 
-->style="text-align:right; vertical-align:center; padding:.01em .04em; <!--
-->font-size:1em; font-weight:b_old; font-variant:small-caps;  " | {{3DText|text={{{title|Auf einen Blick}}}}}
+
-->font-size:1em; font-weight:b_old; font-variant:small-caps;  " | {{3DText|text={{{title|Region}}}}}
 
|-                                <!--Logo, name-->
 
|-                                <!--Logo, name-->
 
|colspan="2" <!--
 
|colspan="2" <!--
Zeile 36: Zeile 31:
 
-->background:transparent; background: #{{#var:colour}}; background-image: linear-gradient(rgba(255, 255, 255, 0.2),#{{#var:colour}},#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; <!--
 
-->vertical-align:middle;text-align:left; padding:.02em .4em; <!--
-->{{#if: {{{logo|}}}| |line-height: 1.6;}} <!--
+
-->{{#if: {{{logo|}}}| |line-height: 1.6}}; <!--
-->font-size:1.2em; font-weight:bold;<!--
+
-->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/>
-->{{#ifeq: {{lc: {{{type}}} }} |c| font-variant:small-caps; }} <!--
+
<!-- old template |-
-->"|<!--
+
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font>
-->{{#if: {{{logo|}}}| [[Image:{{{logo}}}|64px|top|left]]}} <big>{{3DText|3D=glow|text={{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}} }} }}</big>
+
|-
{{#if: {{{race|}}}|{{3DText|3D=glow|group={{lc:{{{race}}}}}|text=Heimat der {{{race}}}}} }}
+
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }}
 +
|-
 +
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" |
 +
|-
 +
|-->
 
|-                                <!--Image-->
 
|-                                <!--Image-->
 
|colspan="2" <!--
 
|colspan="2" <!--
Zeile 47: Zeile 46:
 
-->text-align:left; padding:0em; "<!--
 
-->text-align:left; padding:0em; "<!--
 
-->|{{#if: {{{image|}}}| [[Image:{{{image}}}|frameless|center]]}}
 
-->|{{#if: {{{image|}}}| [[Image:{{{image}}}|frameless|center]]}}
|-                                <!--Race-->
+
|-                                <!--continent-->
{{#if: {{{race|}}} | !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" {{!}} '''Homins'''
 
!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; " <!--
 
-->{{!}} {{{race}}}
 
{{!}}- | }}
 
|-                                <!--Continent-->
 
 
{{#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));<!--
 
{{#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" {{!}} '''Subkontinent'''
+
-->text-align:right; padding:.2em .8em; color:white" {{!}} '''Continent'''
 
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 
!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; " <!--
 
-->text-align:left; padding:.2em .4em; " <!--
 
-->{{!}} {{{continent}}}
 
-->{{!}} {{{continent}}}
 
{{!}}- | }}
 
{{!}}- | }}
|-                                <!--Section-->
+
|-                                <!--section-->
 
{{#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));<!--
 
{{#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" {{!}} '''Teil der Urwurzeln'''
+
-->text-align:right; padding:.2em .8em; color:white" {{!}} '''Prime&nbsp;Roots&nbsp;Section'''
 
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 
!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; " <!--
 
-->text-align:left; padding:.2em .4em; " <!--
 
-->{{!}} {{{section}}}
 
-->{{!}} {{{section}}}
 
{{!}}- | }}
 
{{!}}- | }}
|-                                <!--Lvl-->
+
|-                                <!--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));<!--
+
!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" {{!}} '''Level&nbsp;der&nbsp;Region'''
+
-->text-align:right; padding:.2em .8em; color:white" | '''Region&nbsp;Level'''
 
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 
!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; " <!--
+
-->text-align:left; padding:.2em .4em; " | {{{lvl}}}
-->{{!}} {{{lvl}}}
+
|-                                <!--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));<!--
|-                                <!--Neut-->
+
-->text-align:right; padding:.2em .8em; color:white" | '''Neutral&nbsp;Altar'''
{{#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&nbsp;Altare'''
 
 
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 
!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; " <!--
+
-->text-align:left; padding:.2em .4em; " | {{{neut}}}
-->{{!}} {{{neut}}}
+
|-                                <!--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));<!--
|-                                <!--Size-->
+
-->text-align:right; padding:.2em .8em; color:white" | '''Area'''
{{#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" {{!}} '''Gebiet'''
 
 
!style="background: #{{#var:colour}}; background-image: linear-gradient(to right, rgba(255, 240, 225, 0.9),rgba(255, 165, 0, 0.8));<!--
 
!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; " <!--
+
-->text-align:left; padding:.2em .4em; " | {{{size}}} km²
-->{{!}} {{{size}}} km²
+
|}<!--
{{!}}- | }}
 
|}</includeonly><!--
 
  
 
--><noinclude>
 
--><noinclude>
Zeile 143: Zeile 129:
 
:Used in case of Prime Roots regions, it specifies the section of Prime Roots the region is in.
 
:Used in case of Prime Roots regions, it specifies the section of Prime Roots the region is in.
  
==Examples==
+
==Example==
 
{{RegionInfoBox
 
{{RegionInfoBox
 
|image=MG_map.jpg
 
|image=MG_map.jpg
Zeile 150: Zeile 136:
 
|neut=Karavan
 
|neut=Karavan
 
|size=22.123
 
|size=22.123
|}}
+
|}}
{| style="width: 450px;"
 
|-
 
| <pre><nowiki>{{RegionInfoBox
 
|image=MG_map.jpg
 
|continent=Witherings
 
|lvl=50 - 100
 
|neut=Karavan
 
|size=22.123
 
|}}</nowiki></pre>
 
|}
 
  
{{clear}}
+
[[Category: Infobox templates|RegionInfoBox]]
{{RegionInfoBox
 
|type=C
 
|logo=Matis_emblem.png
 
|image=Forestnight.jpg
 
|name=Verdant Heights
 
|race=Matis
 
|eco=Forest
 
|size=20.09
 
|}}
 
{| style="width: 450px;"
 
|-
 
| <pre><nowiki>{{RegionInfoBox
 
|type=C
 
|logo=Matis_emblem.png
 
|image=Forestnight.jpg
 
|name=Verdant Heights
 
|race=Matis
 
|eco=Forest
 
|size=20.09
 
|}}</nowiki></pre>
 
|}
 
 
[[Kategorie:Vorlage:Infobox|RegionInfoBox]]
 
 
</noinclude>
 
</noinclude>

Version vom 10. Juli 2021, 15:58 Uhr

Region
RegionInfoBox
Region Level {{{lvl}}}
Neutral Altar {{{neut}}}
Area {{{size}}} km²
de:Template: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. 😎

Description

Usage

{{RegionInfoBox
|image=
|continent=
|lvl=
|neut=
|size=
|}}

Not optional parameters

lvl
Specifies the level range of the region, eg. 100 - 150
neut
specifies to what faction the neutral altar of the region belongs, can be:
  • Kami and Karavan
  • Kami
  • Karavan
  • None
size
Size of the region (km²)

Optional parameters

continent
Specifies on which continent the region is in.chose one:
  • Aeden aqueous
  • Burning desert
  • Nexus minor
  • Verdant heights
  • Witherings
name
If used the template uses a different name than what {{PAGENAME}} provides.
image
Specifies the image that should be used for the region.
section
Used in case of Prime Roots regions, it specifies the section of Prime Roots the region is in.

Example

Bernstein der Geographie
RegionInfoBox
MG map.jpg
Sub-Kontinent Witherings
Neutrale Altäre Karavan
Niveau der Region 50 - 100
Areal 22.123 km²