Modèle:RegionInfoBox : Différence entre versions
De EncyclopAtys
(19 révisions intermédiaires par 3 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | {{#switch: {{lc: {{{ | + | <includeonly> |
− | | | + | {{#switch: {{lc: {{{eco}}}}} |
− | | [[ | + | | primes = {{#vardefine:colour|{{ColorAtys|type=dark|group=primes}}}} |
− | | | + | | [[primes]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=primes}}}} |
− | | [[ | + | | [[Primes Racines]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=primes}}}} |
− | | | + | | jungle = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}} |
− | | [[ | + | | [[jungle]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}} |
− | | | + | | forêt = {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}} |
− | | [[ | + | | [[forêt]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}} |
− | | | + | | désert = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}} |
− | | [[ | + | | [[désert]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}} |
− | | #default | + | | lacs = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}} |
+ | | [[lacs]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}} | ||
+ | | #default ={{#vardefine:colour|{{ColorAtys|type=dark|group=}}}} | ||
+ | }} | ||
+ | {{#switch: {{lc: {{{race}}}}} | ||
+ | | 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;<!-- | ||
Ligne 18 : | Ligne 33 : | ||
|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| | + | -->font-size:1em; font-weight:b_old; font-variant:small-caps; " | {{3DText|text={{{title|Ambre Geographique}}}}} |
|- <!--Logo, name--> | |- <!--Logo, name--> | ||
|colspan="2" <!-- | |colspan="2" <!-- | ||
Ligne 26 : | Ligne 41 : | ||
-->{{#if: {{{logo|}}}| |line-height: 1.6}}; <!-- | -->{{#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/> | -->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/> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- <!--Image--> | |- <!--Image--> | ||
|colspan="2" <!-- | |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);<!-- | -->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; "<!-- | -->text-align:left; padding:0em; "<!-- | ||
− | -->|{{#if: {{{image|}}}| [[ | + | -->|{{#if: {{{image|}}}| [[file:{{{image}}}|frameless|center]]}} |
− | |- <!-- | + | |- <!--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" {{!}} ''' | + | -->text-align:right; padding:.2em .8em; color:white" {{!}} '''Sous-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}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
− | |- <!-- | + | |- <!--Ecosystème--> |
+ | {{#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" {{!}} '''Écosystème''' | ||
+ | !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}}} | ||
+ | {{!}}- | }} | ||
+ | |- <!--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" {{!}} '''Prime Roots Section''' | -->text-align:right; padding:.2em .8em; color:white" {{!}} '''Prime Roots Section''' | ||
Ligne 53 : | Ligne 67 : | ||
-->{{!}} {{{section}}} | -->{{!}} {{{section}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
− | |- <!-- | + | |- <!--Lieux-dits--> |
− | !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: {{{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" | ''' | + | -->text-align:right; padding:.2em .8em; color:white" {{!}} '''Lieux-dits''' |
+ | !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}}} | ||
+ | {{!}}- | }} | ||
+ | |- <!--Tribus--> | ||
+ | {{#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" {{!}} '''Tribus''' | ||
+ | !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}}} | ||
+ | {{!}}- | }} | ||
+ | |- <!--Bandits--> | ||
+ | {{#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" {{!}} '''Bandits''' | ||
+ | !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}}} | ||
+ | {{!}}- | }} | ||
+ | |- <!--Avant-postes--> | ||
+ | {{#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" {{!}} '''Avant-postes''' | ||
!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; " <!-- |
+ | -->{{!}} {{{posts}}} | ||
+ | {{!}}- | }} | ||
|- <!--neut--> | |- <!--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));<!-- | + | {{#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" | + | -->text-align:right; padding:.2em .8em; color:white" {{!}} '''Autels neutres''' |
!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}}} | ||
+ | {{!}}- | }} | ||
+ | |- <!--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 de la région''' | ||
+ | !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}}} | ||
+ | {{!}}- | }} | ||
|- <!--size--> | |- <!--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));<!-- | + | {{#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" | + | -->text-align:right; padding:.2em .8em; color:white" {{!}} '''Aire''' |
!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² |
− | + | {{!}}- | }} | |
− | + | |}</includeonly><noinclude> | |
{{Trad | {{Trad | ||
− | |DE= | + | |DE=Vorlage:RegionInfoBox |
|EN=Template:RegionInfoBox | |EN=Template:RegionInfoBox | ||
|ES=Template:RegionInfoBox | |ES=Template:RegionInfoBox | ||
|FR=Template:RegionInfoBox | |FR=Template:RegionInfoBox | ||
|RU=Template:RegionInfoBox | |RU=Template:RegionInfoBox | ||
− | }} | + | }} |
− | |||
==Description== | ==Description== | ||
===Usage=== | ===Usage=== | ||
<pre> | <pre> | ||
{{RegionInfoBox | {{RegionInfoBox | ||
+ | |name= | ||
|image= | |image= | ||
|continent= | |continent= | ||
+ | |eco= | ||
+ | |places= | ||
+ | |posts= | ||
+ | |tribes= | ||
+ | |bandits= | ||
+ | |neut= | ||
|lvl= | |lvl= | ||
− | | | + | |size= |
− | + | }}</pre> | |
− | </pre> | ||
− | ===Paramètres | + | ===Paramètres=== |
; lvl | ; lvl | ||
:Indique le niveau de la zone, par exemple 100 - 150 | :Indique le niveau de la zone, par exemple 100 - 150 | ||
Ligne 101 : | Ligne 152 : | ||
:* Aucun | :* Aucun | ||
− | |||
; continent | ; continent | ||
− | :On indique le continent où se trouve cette région: | + | :On indique le sous-continent où se trouve cette région: |
:*Aeden aqueous | :*Aeden aqueous | ||
:*Desert ardent | :*Desert ardent | ||
Ligne 119 : | Ligne 169 : | ||
:Pour les régions des Primes Racines, cela indique dans quelle section des Primes Racines se trouve la région. | :Pour les régions des Primes Racines, cela indique dans quelle section des Primes Racines se trouve la région. | ||
− | == | + | ==Exemples== |
{{RegionInfoBox | {{RegionInfoBox | ||
+ | |name=Bosquet Vierge | ||
|image=MG_map.jpg | |image=MG_map.jpg | ||
|continent=Pays Malade | |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 | |lvl=50 - 100 | ||
+ | |size=20.09 | ||
+ | }} | ||
+ | {| style="width: 450px;" | ||
+ | |- | ||
+ | | <pre><nowiki>{{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 | |neut=Karavan | ||
− | }} | + | |lvl=50 - 100 |
− | + | |size=20.09 | |
− | [[Catégorie:Modèle:Infobox|RegionInfoBox]] | + | }}</nowiki></pre> |
+ | |} | ||
+ | {{clear}} | ||
+ | {{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> | ||
+ | |} | ||
+ | [[Catégorie:Modèle:Infobox|RegionInfoBox]] [[Catégorie:Cubes d'ambre]] | ||
</noinclude> | </noinclude> |
Version actuelle datée du 17 juin 2022 à 05:59
Sommaire
Description
Usage
{{RegionInfoBox |name= |image= |continent= |eco= |places= |posts= |tribes= |bandits= |neut= |lvl= |size= }}
Paramètres
- lvl
- Indique le niveau de la zone, par exemple 100 - 150
- neut
- indique à quelle faction appartient le téléporteur neutre de cette région, cela peut être:
- Kami et Karavan
- Kami
- Karavan
- Aucun
- continent
- On indique le sous-continent où se trouve cette région:
- Aeden aqueous
- Desert ardent
- Nexus mineur
- Sommets verdoyants
- Pays malade
- name
- Si on l'utilise, le Gabarit utilisera un autre nom que ce que {{PAGENAME}} indique.
- image
- Indique l'image à utiliser pour la région.
- section
- Pour les régions des Primes Racines, cela indique dans quelle section des Primes Racines se trouve la région.
Exemples
Ambre Geographique | |
Bosquet Vierge | |
Sous-continent | Pays Malade |
---|---|
Écosystème | Jungle |
Lieux-dits | Étang vierge,
Lac des oiseaux |
Tribus | Amazones,
Shadow runners |
Bandits | Plain sources,
Shadow bandits |
Avant-postes | Atelier de l'Étang vierge, |
Autels neutres | Karavan |
Niveau de la région | 50 - 100 |
Aire | 20.09 km² |
{{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 }} |
Ambre Geographique | |
Verdant Heights | |
Écosystème | Forest |
---|---|
Aire | 20.09 km² |
{{RegionInfoBox |type=C |logo=Matis_emblem.png |image=Forestnight.jpg |name=Verdant Heights |race=Matis |eco=Forest |size=20.09 |}} |