Vorlage:RegionInfoBox: Unterschied zwischen den Versionen
Aus EnzyklopAtys
Lasabo (Diskussion | Beiträge) |
|||
(10 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | {{#switch: {{lc: {{{ | + | <includeonly> |
− | | | + | {{#switch: {{lc: {{{eco}}}}} |
− | | | + | | Urwurzeln = {{#vardefine:colour|{{ColorAtys|type=dark|group=primes}}}} |
− | | | + | | [[Urwurzeln]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=primes}}}} |
− | | | + | | Dschungel = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}} |
− | | | + | | [[Dschungel]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}} |
− | | #default | + | | 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}}}} |
− | ! | + | | [[Wüste]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}} |
− | |- | + | | Seen = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}} |
− | ! | + | | [[Seen]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}} |
− | |- | + | | #default ={{#vardefine:colour|{{ColorAtys|type=dark|group=}}}} |
− | !align=" | + | }} |
− | |- | + | {{#switch: {{lc: {{{race}}}}} |
− | | | + | | Fyros= {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}} |
− | |- | + | | [[Fyros]]= {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}} |
− | {{#if: {{{ | + | | Matis= {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}} |
− | !align=" | + | | [[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 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: {{{ | + | |- <!--Größe--> |
− | ! | + | {{#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² | ||
{{!}}- | }} | {{!}}- | }} | ||
− | + | |}</includeonly><noinclude> | |
− | + | {{Trad | |
− | | | + | |DE=Vorlage:RegionInfoBox |
− | + | |EN=Template:RegionInfoBox | |
− | + | |ES=Template:RegionInfoBox | |
− | | | + | |FR=Template:RegionInfoBox |
− | + | |RU=Template:RegionInfoBox | |
− | + | }} | |
− | == | + | == Beschreibung == |
− | === | + | === Verwendung === |
<pre> | <pre> | ||
{{RegionInfoBox | {{RegionInfoBox | ||
+ | |name= | ||
|image= | |image= | ||
|continent= | |continent= | ||
+ | |eco= | ||
+ | |places= | ||
+ | |posts= | ||
+ | |tribes= | ||
+ | |bandits= | ||
+ | |neut= | ||
|lvl= | |lvl= | ||
− | | | + | |size= |
− | + | }}</pre> | |
− | </pre> | ||
− | === | + | === Parameter === |
; lvl | ; lvl | ||
− | : | + | :Gibt die Level des Gebietes an, z. B. 100 - 150 |
; neut | ; neut | ||
− | : | + | :gibt an, zu welcher Fraktion der neutrale Teleporter in dieser Region gehört, das kann sein: |
− | :* Kami | + | :* Kami und Karavan |
:* Kami | :* Kami | ||
:* Karavan | :* Karavan | ||
− | :* | + | :* Keine |
− | |||
; continent | ; 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 | ; name | ||
− | : | + | :Wenn man ihn verwendet, wird die Vorlage einen anderen Namen verwenden als den, den <nowiki>{{PAGENAME}}</nowiki> angibt. |
; image | ; image | ||
− | : | + | :Gibt an, welches Bild für die Region verwendet werden soll. |
;section | ;section | ||
− | : | + | :Bei Urwurzelregionen gibt dies an, in welchem Abschnitt der Urwurzeln sich die Region befindet. |
− | == | + | == 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 | ||
− | | | + | |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;" | |
− | [[ | + | |- |
+ | | <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
Inhaltsverzeichnis
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 | |
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, |
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 | |
Grüne Anhöhen | |
Ö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 |}} |