Diferencia entre revisiones de «Plantilla:SpellInfoBox»
De EnciclopAtys
(Página creada con «<includeonly>{{#vardefine:colour|006}}<!-- -->{| class="infobox" style="float: right; width:25%; max-width:30%; margin: 0.1em; overflow: auto; <!-- -->border: thick...») |
|||
(No se muestran 11 ediciones intermedias del mismo usuario) | |||
Línea 1: | Línea 1: | ||
<includeonly>{{#vardefine:colour|006}}<!-- | <includeonly>{{#vardefine:colour|006}}<!-- | ||
− | -->{| | + | -->{|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;<!-- | ||
− | -->background-color: #C90; background-color: rgba(255, | + | -->background-color: #C90; background-color: rgba(255, 153, 0, 0.5); background-image: radial-gradient(rgba(255, 255, 255, 0.2),rgba(255, 153, 0, 0.5)); <!-- |
-->cellspacing: 0.01em; cellpadding:0.01em; vertical-align:center; " | -->cellspacing: 0.01em; cellpadding:0.01em; vertical-align:center; " | ||
− | |- <!--Box title--> | + | |- <!--Box title --> |
|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= | + | -->font-size:1em; font-weight:b_old; font-variant:small-caps; " | {{3DText|text=Ámbar de la magia}} |
− | |- | + | |------------------------- <!--name of the subject--> |
− | + | ! align="centre" colspan="2" style="background: {{#var:colour}}; background-color: (rgba(255, 165, 0, 0.2)); background-color: (rgba(255, 165, 0, 0.2)); background-image: linear-gradient(#A50,rgba(255, 165, 0, 0.5),rgba(255, 255, 255, 0.2));background-image: linear-gradient( rgba(255, 255, 255, 0.5),rgba(255, 165, 0, 0.5),rgba(160, 80, 0, 0.5)); padding: 0.3em;" <!-- | |
− | -->style="background: | + | -->| <big>{{3DText|text={{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}</big> |
− | |||
− | |||
− | |||
− | --> | ||
|- <!--Image--> | |- <!--Image--> | ||
|colspan="2" <!-- | |colspan="2" <!-- | ||
Línea 22: | Línea 18: | ||
|- <!--Type de sort--> | |- <!--Type de sort--> | ||
{{#if: {{{type|}}} | !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: {{{type|}}} | !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:#bfd" {{!}} ''' | + | -->text-align:right; padding:.2em .8em; color:#bfd" {{!}} '''Clase de hechizo''' |
!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; " <!-- | ||
Línea 29: | Línea 25: | ||
|- <!--Domaine--> | |- <!--Domaine--> | ||
{{#if: {{{domain|}}} | !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: {{{domain|}}} | !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:#bfd" {{!}} ''' | + | -->text-align:right; padding:.2em .8em; color:#bfd" {{!}} '''Campo''' |
!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; " <!-- | ||
Línea 36: | Línea 32: | ||
|- <!--Compétence--> | |- <!--Compétence--> | ||
{{#if: {{{skill|}}} | !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: {{{skill|}}} | !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:#bfd" {{!}} ''' | + | -->text-align:right; padding:.2em .8em; color:#bfd" {{!}} '''Competencia''' |
!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; " <!-- | ||
Línea 43: | Línea 39: | ||
|- <!--Niveau requis--> | |- <!--Niveau requis--> | ||
{{#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));<!-- | {{#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:#bfd" {{!}} ''' | + | -->text-align:right; padding:.2em .8em; color:#bfd" {{!}} '''Nivel requerido''' |
!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; " <!-- | ||
Línea 62: | Línea 58: | ||
<pre> | <pre> | ||
{{SpellInfoBox | {{SpellInfoBox | ||
+ | |name= | ||
|image= | |image= | ||
|tooltip= | |tooltip= | ||
Línea 79: | Línea 76: | ||
|}} | |}} | ||
==Paramètres== | ==Paramètres== | ||
+ | ;name | ||
+ | : Nombre si diferente del nombre de la pagina '''(¡pues, cuidado con la inclusión!) ''' | ||
;domain | ;domain | ||
: Indique à quel domaine appartient le sort i.e. Désert, Forêt, Jungle, Lacs ou Primes Racines. | : Indique à quel domaine appartient le sort i.e. Désert, Forêt, Jungle, Lacs ou Primes Racines. | ||
Línea 107: | Línea 106: | ||
|}}</nowiki> | |}}</nowiki> | ||
− | [[ | + | [[Categoría:Plantilla:Infobox]] [[Categoría:Cubos de ámbar]] |
</noinclude> | </noinclude> |
Revisión actual del 14:06 24 abr 2022
Contenido
Description
Usage
{{SpellInfoBox |name= |image= |tooltip= |type= |domain= |skill= |lvl= |}}
Ámbar de la magia | |
SpellInfoBox | |
---|---|
Clase de hechizo | Offensif |
Campo | Désert |
Competencia | Élémentaire |
Nivel requerido | 125 |
Paramètres
- name
- Nombre si diferente del nombre de la pagina (¡pues, cuidado con la inclusión!)
- domain
- Indique à quel domaine appartient le sort i.e. Désert, Forêt, Jungle, Lacs ou Primes Racines.
- skill
- Indique à quelle compétence de magie appartient le sort i.e. élémentaire.
- lvl
- Indique à quel niveau le sort peut commencé à être maitrisé.
- image
- Parce que c'est plus parlant.
- type
- Spécifie le type de sort i.e. celeste, atysien ou primal.
- tooltip
- Définit l'info-bulle qui apparait lorsqu'on l'on maintient la souris sur l'image.
Exemple
{{SpellInfoBox |image=Phoenix-fire.jpg |tooltip=L'oiseau de feu |domain=Désert |type=Offensif |skill=Élémentaire |lvl=125 |}}