Modèle:RegionInfoBox : Différence entre versions
De EncyclopAtys
m (tests Zo') |
|||
(20 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}}}} |
− | | #default | + | | [[jungle]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}} |
− | -->{| class="infobox" | + | | 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}}}} |
− | + | | lacs = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}} | |
− | |- | + | | [[lacs]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}} |
− | !align=" | + | | #default ={{#vardefine:colour|{{ColorAtys|type=dark|group=}}}} |
− | |- | + | }} |
− | | | + | {{#switch: {{lc: {{{race}}}}} |
− | |- | + | | fyros= {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}} |
− | {{#if: {{{ | + | | [[fyros]]= {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}} |
− | !align=" | + | | 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; <!-- | ||
+ | -->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|Ambre Geographique}}}}} | ||
+ | |- <!--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/> | ||
+ | |- <!--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|}}}| [[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));<!-- | ||
+ | -->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));<!-- | ||
+ | -->text-align:left; padding:.2em .4em; " <!-- | ||
+ | -->{{!}} {{{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));<!-- | ||
+ | -->text-align:right; padding:.2em .8em; color:white" {{!}} '''Prime Roots Section''' | ||
+ | !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}}} | ||
+ | {{!}}- | }} | ||
+ | |- <!--Lieux-dits--> | ||
+ | {{#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" {{!}} '''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));<!-- | ||
+ | -->text-align:left; padding:.2em .4em; " <!-- | ||
+ | -->{{!}} {{{posts}}} | ||
+ | {{!}}- | }} | ||
+ | |- <!--neut--> | ||
+ | {{#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" {{!}} '''Autels neutres''' | ||
+ | !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 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}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{ | + | |- <!--size--> |
− | ! | + | {{#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" {{!}} '''Aire''' | ||
+ | !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 | |
− | + | }} | |
==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 52 : | 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 | ||
+ | :*Desert ardent | ||
+ | :*Nexus mineur | ||
+ | :*Sommets verdoyants | ||
+ | :*Pays malade | ||
; name | ; name | ||
Ligne 65 : | 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 |}} |