Welcome to Warhammer 40k - Lexicanum! Log in and join the community.

Difference between revisions of "Template:Portal Linkbox"

From Warhammer 40k - Lexicanum
Jump to: navigation, search
Line 1: Line 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: 125px;text-align: center;{{Portal Box Head Styles/Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}}}}"
+
{| style="background:#555; font-size:85%; line-height:110%; width: 150px;text-align: center;{{Portal Box Head Styles/Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}}}}"
 
| [[Image:{{{image|{{{2}}}}}}|45x43px]]
 
| [[Image:{{{image|{{{2}}}}}}|45x43px]]
 
| style="padding:0 0.2em;{{Portal Box Styles/Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}}}}"|'''''[[Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}} Portal]]'''''
 
| style="padding:0 0.2em;{{Portal Box Styles/Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}}}}}"|'''''[[Portal:{{{name|{{{1|{{PAGENAME}}}}}}}}|{{{name|{{{1|{{PAGENAME}}}}}}}} Portal]]'''''

Revision as of 22:31, 19 May 2008

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

Syntax

{{Portal Linkbox|Portal Name|Portal image}}

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