Vorlage:SettleInfoBox: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
K (Der Seiteninhalt wurde durch einen anderen Text ersetzt: „Kategorie:Vorlage:Infobox</noinclude>“)
K
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
 +
<noinclude>{{Trad
 +
|DE=Vorlage:SettleInfoBox
 +
|EN=Template:SettleInfoBox
 +
|ES=Plantilla:SettleInfoBox
 +
|FR=Modèle:SettleInfoBox
 +
|RU=
 +
}}</noinclude>
 +
<includeonly>
 +
{{#switch: {{lc: {{{civ}}}}}
 +
| 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=zorai}}}}
 +
| [[zoraï]]= {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}}
 +
| zorai= {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}}
 +
| [[zorai]]= {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}}
 +
| #default = {{#vardefine:colour|{{ColorAtys|type=dark|group=marauder}}}}
 +
}}<!--
 +
-->{| 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 title-->
 +
|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 Stadt}}}}}
 +
|-                                <!--Logo, name-->
 +
|colspan="2" <!--
 +
-->style="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}}}|64x64px|text-middle]]}} <big>{{3DText|3D=glow|text={{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}</big> <small>{{3DText|3D=glow|text={{{cap|}}} }}<small>
 +
|-                                <!--Image-->
 +
|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|}}}| [[Image:{{{image}}}|frameless|center]]}}
 +
|-                                <!--Zivilisation-->
 +
{{#if: {{{civ|}}} | !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" {{!}} '''Zivilisation'''
 +
!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; "<!--
 +
-->{{!}} {{{civ}}}
 +
{{!}}- | }}
 +
|-                                <!--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" {{!}} '''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}}}
 +
{{!}}- | }}
 +
|-                                <!--Region-->
 +
{{#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" {{!}} '''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; " <!--
 +
-->{{!}} {{{region}}}
 +
{{!}}- | }}
 +
|-                                <!--Altar-->
 +
{{#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" {{!}} '''Altar'''
 +
!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; " <!--
 +
-->{{!}} {{{altar}}}
 +
{{!}}- | }}
 +
|-                                <!--lvl-->
 +
{{#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" {{!}} '''Schwierigkeit'''
 +
!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; " <!--
 +
-->{{!}} {{{q}}}
 +
{{!}}- | }}
 +
|}</includeonly>
 +
<noinclude>{{SettleInfoBox
 +
|name=Zora
 +
|civ=Zoraï
 +
|logo=Zor_emblem.png
 +
|image=Zora_fr.jpeg
 +
|continent=Verdorrende Lande
 +
|region=Städte der Einsicht
 +
|altar=Kami
 +
|cap=Hauptstadt
 +
|q=50
 +
}}<!--
 +
--><div style="float:left;margin:0.2em;top:0;width:30%;border:thin inset #{{ColorAtys|type=dark|group=OOC}}; vertical-align:top;border-radius:1em;background:#{{ColorAtys|type=light|group=OOC}};color:#{{ColorAtys|type=fg|group=OOC}};padding:0.1em;{{#if:{{{left|}}} | margin-left:0; | float:right;margin-right:0; }}">
 +
<div style="border:thin outset #{{ColorAtys|type=dark}}; border-radius:2em;margin:.2em;
 +
font-size:1.2em; font-weight:bold; text-align:center; color:#000; padding:.2em .4em;">{{3DText|text={{{titre|Vorlage:SettleInfoBox}}} }}</div>
 +
 +
'''Kopieren/Einfügen:''''
 +
<div style="margin: 0em .5em; padding: 0em .5em;"><pre><nowiki>{{SettleInfoBox
 +
|name=
 +
|civ=
 +
|logo=
 +
|image=
 +
|continent=
 +
|region
 +
|altar=
 +
|cap=Capital o nada
 +
|q=
 +
}}</nowiki></pre></div>
 +
'''Beispiel:'''
 +
<div style="margin:0em .5em; padding:.5em;"><pre><nowiki>{{SettleInfoBox
 +
|name=Zora
 +
|civ=Zorai
 +
|logo=Zor_emblem.png
 +
|image=Zora_fr.jpeg
 +
|continent=Verdorrende Lande
 +
|region=Städte der Einsicht
 +
|altar=Kami
 +
|cap=Hauptstadt
 +
|q=50
 +
}}</nowiki></pre></div>
 +
</div>
 
[[Kategorie:Vorlage:Infobox]]</noinclude>
 
[[Kategorie:Vorlage:Infobox]]</noinclude>

Aktuelle Version vom 14. April 2022, 08:59 Uhr

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


Bernstein der Stadt
text-middle Zora Hauptstadt
Zora fr.jpeg
Zivilisation Zoraï
Kontinent Verdorrende Lande
Region Städte der Einsicht
Altar Kami
Schwierigkeit 50
Vorlage:SettleInfoBox

Kopieren/Einfügen:'

{{SettleInfoBox
|name=
|civ=
|logo=
|image=
|continent=
|region
|altar=
|cap=Capital o nada
|q=
}}

Beispiel:

{{SettleInfoBox
|name=Zora
|civ=Zorai
|logo=Zor_emblem.png
|image=Zora_fr.jpeg
|continent=Verdorrende Lande
|region=Städte der Einsicht
|altar=Kami
|cap=Hauptstadt
|q=50
}}