« Modèle:Ressources2 » : différence entre les versions

aucun résumé des modifications
Aucun résumé des modifications
Balise : Éditeur de wikicode 2017
Aucun résumé des modifications
Balise : Éditeur de wikicode 2017
Ligne 2 : Ligne 2 :
<div style="height: 3em; line-height: 0.5em; text-align: right; padding: 0.2em 0.2em 0 0; margin-bottom: -0.4em; color: {{#switch:{{{rareté|0}}}|1=#72ccdf|2=#9a7bff|3=#eec162|4=#32dc78|default=inherit}}; font-size: 150%; letter-spacing: -0.2em;">{{#invoke:String|rep|◆|{{{rareté|0}}}}}</div>
<div style="height: 3em; line-height: 0.5em; text-align: right; padding: 0.2em 0.2em 0 0; margin-bottom: -0.4em; color: {{#switch:{{{rareté|0}}}|1=#72ccdf|2=#9a7bff|3=#eec162|4=#32dc78|default=inherit}}; font-size: 150%; letter-spacing: -0.2em;">{{#invoke:String|rep|◆|{{{rareté|0}}}}}</div>
<div style="height: 2.5em; line-height: 1em; text-align: left; padding: 0 0.2em; white-space: nowrap;">  
<div style="height: 2.5em; line-height: 1em; text-align: left; padding: 0 0.2em; white-space: nowrap;">  
<span style="font-size: 150%; color: white;">{{{symbole}}}</span>
[[{{{nom|}}}|<span style="font-size: 150%; color: white;">{{{symbole}}}]]</span>
<br>
<br>
[[{{{nom|}}}|<span style="color: white; line-height: 1em; margin-top: -0.7em;">{{{nom}}}</span>]]
[[{{{nom|}}}|<span style="color: white; line-height: 1em; margin-top: -0.7em;">{{{nom}}}</span>]]