Modèle:RegionInfoBox : Différence entre versions
De EncyclopAtys
m (tests Zo') |
|||
Ligne 1 : | Ligne 1 : | ||
{{#switch: {{lc: {{{continent}}}}} | {{#switch: {{lc: {{{continent}}}}} | ||
− | | nexus mineur | + | | nexus mineur = {{#vardefine:colour|{{ColorAtys|type=dark|group=ranger}}}} |
− | | pays malade = {{#vardefine:colour| | + | | [[nexus mineur]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=ranger}}}} |
− | | sommets verdoyants = {{#vardefine:colour| | + | | pays malade = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}} |
− | | desert ardent = {{#vardefine:colour| | + | | [[pays malade]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=zorai}}}} |
− | | aeden aqueous = {{#vardefine:colour| | + | | sommets verdoyants = {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}} |
+ | | [[sommets verdoyants]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=matis}}}} | ||
+ | | desert ardent = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}} | ||
+ | | [[desert ardent]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=fyros}}}} | ||
+ | | aeden aqueous = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}} | ||
+ | | [[aeden aqueous]] = {{#vardefine:colour|{{ColorAtys|type=dark|group=tryker}}}} | ||
| #default = {{#vardefine:colour|000}} }}<!-- | | #default = {{#vardefine:colour|000}} }}<!-- | ||
− | -->{| class="infobox" | + | -->{| 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|Region}}}}} | ||
+ | |- <!--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/> | ||
+ | <!-- old template |- | ||
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font> | !align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font> | ||
|- | |- | ||
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }} | ! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }} | ||
|- | |- | ||
− | !align="centre" colspan="2" style="background: #{{#var:colour}}; padding: | + | !align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" | |
− | |||
− | | | ||
|- | |- | ||
− | {{#if: {{{continent|}}} | ! | + | |--> |
− | ! | + | |- <!--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]]}} | ||
+ | |- <!--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" {{!}} '''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}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
− | {{#if: {{{section|}}} | ! | + | |- <!--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}}} | ||
{{!}}- | }} | {{!}}- | }} | ||
− | ! | + | |- <!--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" | '''Region Level''' |
− | ! | + | !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|?}}} |
+ | |- <!--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" | '''Neutral 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; " | {{{neut|?}}} | ||
+ | |- <!--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" | '''Area''' | ||
+ | !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² | ||
|}<!-- | |}<!-- | ||
− | --><noinclude>{{clear}} __NOTOC__ | + | --><noinclude> |
+ | {{Trad | ||
+ | |DE=Template:RegionInfoBox | ||
+ | |EN=Template:RegionInfoBox | ||
+ | |ES=Template:RegionInfoBox | ||
+ | |FR=Template:RegionInfoBox | ||
+ | |RU=Template:RegionInfoBox | ||
+ | }}{{clear}} __NOTOC__ | ||
+ | |||
==Description== | ==Description== | ||
===Usage=== | ===Usage=== | ||
Ligne 54 : | Ligne 103 : | ||
===Paramètres optionnels=== | ===Paramètres optionnels=== | ||
; continent | ; continent | ||
− | :On indique le continent où se trouve cette région | + | :On indique le continent où se trouve cette région: |
+ | :*Aeden aqueous | ||
+ | :*Desert ardent | ||
+ | :*Nexus mineur | ||
+ | :*Sommets verdoyants | ||
+ | :*Pays malade | ||
; name | ; name |
Version du 13 janvier 2019 à 15:38
Region | |
RegionInfoBox | |
Region Level | ? |
---|---|
Neutral Altar | ? |
Area | ? km² |
Description
Usage
{{RegionInfoBox |image= |continent= |lvl= |neut= |}}
Paramètres obligatoires
- 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
Paramètres optionnels
- 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 |
---|---|
Autels neutres | Karavan |
Niveau de la région | 50 - 100 |