Modèle:RegionInfoBox : Différence entre versions
De EncyclopAtys
Ligne 1 : | Ligne 1 : | ||
− | {{#switch: {{lc: {{{continent}}}}} | + | <includeonly>{{#switch: {{lc: {{{continent}}}}} |
| nexus mineur = {{#vardefine:colour|{{ColorAtys|type=dark|group=ranger}}}} | | nexus mineur = {{#vardefine:colour|{{ColorAtys|type=dark|group=ranger}}}} | ||
| [[nexus mineur]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=ranger}}}} | | [[nexus mineur]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=ranger}}}} | ||
Ligne 18 : | Ligne 18 : | ||
|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 39 : | Ligne 39 : | ||
-->text-align:left; padding:0em; "<!-- | -->text-align:left; padding:0em; "<!-- | ||
-->|{{#if: {{{image|}}}| [[Image:{{{image}}}|frameless|center]]}} | -->|{{#if: {{{image|}}}| [[Image:{{{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" {{!}} '''Continent''' | -->text-align:right; padding:.2em .8em; color:white" {{!}} '''Continent''' | ||
Ligne 46 : | Ligne 46 : | ||
-->{{!}} {{{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 60 : | ||
-->{{!}} {{{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));<!-- | ||
+ | -->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));<!-- | !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}}} | ||
+ | {{!}}- | }} | ||
|- <!--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" {{!}} '''Area''' |
!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=Template:RegionInfoBox | |DE=Template:RegionInfoBox | ||
Ligne 77 : | Ligne 116 : | ||
|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= | ||
+ | |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 102 : | Ligne 145 : | ||
:* Aucun | :* Aucun | ||
− | |||
; continent | ; continent | ||
:On indique le continent où se trouve cette région: | :On indique le continent où se trouve cette région: | ||
Ligne 122 : | Ligne 164 : | ||
==Exemple== | ==Exemple== | ||
{{RegionInfoBox | {{RegionInfoBox | ||
+ | |name= | ||
|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'Etang vierge, | ||
+ | [[Forteresse de Sai-Shun]] | ||
+ | |neut=Karavan | ||
|lvl=50 - 100 | |lvl=50 - 100 | ||
− | | | + | |size=? |
}} | }} | ||
[[Catégorie:Modèle:Infobox|RegionInfoBox]] | [[Catégorie:Modèle:Infobox|RegionInfoBox]] | ||
</noinclude> | </noinclude> |
Version du 5 avril 2019 à 14:15
Sommaire
Description
Usage
{{RegionInfoBox |name= |image= |continent= |eco= |places= |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 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.
Exemple
Ambre Geographique | |
RegionInfoBox | |
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'Etang vierge, |
Autels neutres | Karavan |
Niveau de la région | 50 - 100 |
Aire | ? km² |