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

De Warhammer 40k - Lexicanum
m
m
Ligne 1 : Ligne 1 :
 
<includeonly><onlyinclude><div class="tright portal" style="margin:0.5em 0 0.5em 0.5em;">
 
<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;{{Portal Box Head Styles/Portail:{{{name|{{{3|{{{1|{{PAGENAME}}}}}}}}}}}
+
{| style="background:#555; font-size:85%; line-height:110%; width: 150px;text-align: center;{{Portal Box Head Styles/Portail:{{{name|{{{4|{{{1|{{PAGENAME}}}}}}}}}}}
| {{{name|{{{3|{{{1|{{PAGENAME}}}}}}}}}}}}}}"
+
| {{{name|{{{4|{{{1|{{PAGENAME}}}}}}}}}}}}}}"
 
|style="width:45px;height:45px;text-align:center"| [[Image:{{{image|{{{2}}}}}}|45x43px]]
 
|style="width:45px;height:45px;text-align:center"| [[Image:{{{image|{{{2}}}}}}|45x43px]]
| style="padding:0 0.2em;{{Portal Box Styles/Portail:{{{name|{{{3|{{{1|{{PAGENAME}}}}}}}}}}}|{{{name|{{{3|{{{1|{{PAGENAME}}}}}}}}}}}}}}"|'''''[[Portail:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}]]'''''<br />'''''[[{{{Sub Article|{{{3|{{PAGENAME}}}}}}}}]]'''''
+
| style="padding:0 0.2em;{{Portal Box Styles/Portail:{{{name|{{{4|{{{1|{{PAGENAME}}}}}}}}}}}|{{{name|{{{4|{{{1|{{PAGENAME}}}}}}}}}}}}}}"|'''''[[Portail:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}]]'''''<br />'''''[[{{{Sub Article|{{{3|{{PAGENAME}}}}}}}}]]'''''
 
|}</div></onlyinclude></includeonly>
 
|}</div></onlyinclude></includeonly>
  
Ligne 9 : Ligne 9 :
  
 
This is a helper template that aids in the creation of portal linkboxes
 
This is a helper template that aids in the creation of portal linkboxes
{{Portail Linkbox2|Chaos|Empschildrenlogo.gif|Emperor's Children}}
+
{{Portail Linkbox2|Chaos|Empschildrenlogo.gif|Emperor's Children|Emperor's Children}}
{{Portail Linkbox2|Space Marines|Iron Hands-logo.png|Iron Hands}}
+
{{Portail Linkbox2|Space Marines|Iron Hands-logo.png|Iron Hands|Iron Hands}}
 
== Syntax ==
 
== Syntax ==
 
  <nowiki>{{Portal Linkbox2|Portal Name|Portal image|Sub Article}}</nowiki>
 
  <nowiki>{{Portal Linkbox2|Portal Name|Portal image|Sub Article}}</nowiki>

Version du 8 janvier 2010 à 09:49



This is a helper template that aids in the creation of portal linkboxes

Syntax

{{Portal Linkbox2|Portal Name|Portal image|Sub Article}}

The box background is automatically inherited from the portal heading style.