This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Template:Portalnavcell2: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Hardvice
fix image link
imported>Hardvice
allow either episode or standard sized imgs
Line 1: Line 1:
<center><div align="center" style="background-color:white; width: 80px; border:1px gray solid;">
<center>
<div align="center" style="background-color:white; width: 80px; border:1px gray solid;">
<div style="position: relative; height: 62px; overflow: hidden;">
<div style="position: relative; height: 44px; overflow: hidden;">
<div style="position: absolute; top: 0px; left: 0px; font-size: 70px; width: 80px; overflow: hidden; line-height: 62px; z-index: 3; link-hover: none">[[{{{link}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]</div>
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 65px; width: 80px; overflow: hidden; line-height: 44px; z-index: 3; link-hover: none">[[{{{link}}}|&nbsp;&nbsp;&nbsp;&nbsp;]]</div>
<div style="position: absolute; top: {{#ifeq: {{{type|}}} | episode | 9px; | 0px;}} left: 0px; z-index: 2; height:{{#ifeq: {{{type|}}} | episode |45px;|62px;}}">[[Image:{{{image}}}|80px|{{{link}}}]]</div></div>
<div><small>[[{{{link}}}|{{{text}}}]]{{#if:{{{nonlinktext|}}}|{{{nonlinktext}}}}}</small></div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2; height:44px;">[[Image:{{{image}}}|80px|{{{link}}}]]</div></div>
<div><small>[[{{{link}}}|{{{text}}}]]</small></div>
</div></center><noinclude>
</div></center><noinclude>


Line 11: Line 10:


<pre>
<pre>
{{Portalnavcell2
{{Portalnavcell
|image=<!-- Filename of image -->
|image=<!-- Filename of image -->
|link=<!-- Article title of episode -->
|link=<!-- Article title of episode -->
|text=<!-- Link text -->
|text=<!-- Link text -->
|type=<!-- Episode for episodes -->
}}
}}
</pre>
</pre>
Line 21: Line 21:
<pre>{{Portalnavcell|image=|link=}}</pre>
<pre>{{Portalnavcell|image=|link=}}</pre>


[[Category: Temporary Pages]]
[[Category:Templates]]
[[Category:Portal Elements]]
</noinclude>
</noinclude>

Revision as of 07:11, 1 February 2007

[[{{{link}}}|      ]]
[[Image:{{{image}}}|80px|{{{link}}}]]
[[{{{link}}}|{{{text}}}]]

Usage

Produces a cell within Template:Portalnav

{{Portalnavcell2
|image=<!-- Filename of image -->
|link=<!-- Article title of episode -->
|text=<!-- Link text -->
|type=<!-- Episode for episodes -->
}}

Inline (for copy and paste):

{{Portalnavcell|image=|link=}}