Modèle:Portail Linkbox2 : Différence entre versions

De Warhammer 40k - Lexicanum
m (test)
m (/test)
Ligne 1 : Ligne 1 :
<includeonly><onlyinclude><div class="tright portal" style="margin:0.5em 0 0.5em 0.5em;margin-right:10px">
+
<includeonly><onlyinclude><div class="tright portal" style="margin:0.5em 0 0.5em 0.5em;">
 
{|style="background:#555; font-size:85%; line-height:110%; width: 150px;text-align:center; {{Rounded}}; {{Portal Box Head Styles/Portail:{{{name|{{{4|{{{1|{{PAGENAME}}}}}}}}}}}
 
{|style="background:#555; font-size:85%; line-height:110%; width: 150px;text-align:center; {{Rounded}}; {{Portal Box Head Styles/Portail:{{{name|{{{4|{{{1|{{PAGENAME}}}}}}}}}}}
 
| {{{name|{{{4|{{{1|{{PAGENAME}}}}}}}}}}}}}}"
 
| {{{name|{{{4|{{{1|{{PAGENAME}}}}}}}}}}}}}}"
|style="width:45px;height:45px;text-align:center;margin-right:10px"| [[Image:{{{image|{{{2}}}}}}|45x43px]]
+
|style="width:45px;height:45px;text-align:center"| [[Image:{{{image|{{{2}}}}}}|45x43px]]
 
| style="padding:0 0.2em;{{Rounded}};{{Portal Box Styles/Portail:{{{name|{{{4|{{{1|{{PAGENAME}}}}}}}}}}}|{{{name|{{{4|{{{1|{{PAGENAME}}}}}}}}}}}}}}; {{Rounded}}"|'''''[[Portail:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}]]'''''<br />'''''[[{{{Sub Article|{{{3|{{PAGENAME}}}}}}}}]]'''''
 
| style="padding:0 0.2em;{{Rounded}};{{Portal Box Styles/Portail:{{{name|{{{4|{{{1|{{PAGENAME}}}}}}}}}}}|{{{name|{{{4|{{{1|{{PAGENAME}}}}}}}}}}}}}}; {{Rounded}}"|'''''[[Portail:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}]]'''''<br />'''''[[{{{Sub Article|{{{3|{{PAGENAME}}}}}}}}]]'''''
 
|}</div></onlyinclude></includeonly>
 
|}</div></onlyinclude></includeonly>

Version du 7 janvier 2012 à 21:29


Utilisation

Ce méta-modèle permet des balise du type "Box" ou "Portal".

  • Le code-source ne doit être inséré dans aucun article.
  • La couleur d'arrière plan de la balise est reprise automatiquement des couleurs du Portail.


Exemples de modèles "variantes" du code principal :

Exemples de codes insérés : Résultat à l'affichage :
{{Portail Linkbox2|Chaos|Empschildrenlogo.gif|Emperor's Children|Emperor's Children}}
{{Portail Linkbox2|Space Marines|Iron Hands-logo.png|Iron Hands|Iron Hands}}