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:Portalnavcell: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Orne revert |
imported>Ryangibsonstewart m Reverted edits by Martin Van Buren (Talk); changed back to last version by AdminBot |
||
| (10 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<center><div align="center" style="background-color:white; border-style:solid; border-width: 1px; border-color: grey; padding: 5px; margin: 5px; width: 80px "> |
<center><div align="center" style="background-color:white; border-style:solid; border-width: 1px; border-color: grey; padding: 5px; margin: 5px; width: 80px "> |
||
<div style="position: relative; height: |
<div style="position: relative; height: 62px; overflow: hidden;"> |
||
<div style="position: absolute; top: 0px; left: 0px; font-size: |
<div style="position: absolute; top: 0px; left: 0px; font-size: 70px; width: 80px; overflow: hidden; line-height: 62px; z-index: 3; link-hover: none">[[{{#if:{{{catlink|}}}|{{#ifeq:{{NAMESPACE}}|Category|{{{catlink|}}}|{{{link}}}}}|{{{link}}}}}| ]]</div> |
||
<div style=" |
<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}}}]]</small></div> |
<div><small>[[{{#if:{{{catlink|}}}|{{#ifeq:{{NAMESPACE}}|Category|{{{catlink|}}}|{{{link}}}}}|{{{link}}}}}|{{{text}}}]]{{#if:{{{nonlinktext|}}}|{{{nonlinktext}}}}}</small></div> |
||
</div></center><noinclude> |
</div></center><noinclude> |
||
| Line 13: | Line 13: | ||
|image=<!-- Filename of image --> |
|image=<!-- Filename of image --> |
||
|link=<!-- Article title of episode --> |
|link=<!-- Article title of episode --> |
||
|catlink=<!-- OPTIONAL alternate link for use on Category pages --> |
|||
|text=<!-- Link text --> |
|text=<!-- Link text --> |
||
|type=<!-- Episode for episodes --> |
|||
}} |
}} |
||
</pre> |
</pre> |
||
| Line 20: | Line 22: | ||
<pre>{{Portalnavcell|image=|link=}}</pre> |
<pre>{{Portalnavcell|image=|link=}}</pre> |
||
| ⚫ | |||
[[Category: |
[[Category:Portal Elements]] |
||
| ⚫ | |||
</noinclude> |
</noinclude> |
||
Latest revision as of 04:46, 25 August 2011
[[{{{link}}}|{{{text}}}]]
Usage
Produces a cell within Template:Portalnav
{{Portalnavcell
|image=<!-- Filename of image -->
|link=<!-- Article title of episode -->
|catlink=<!-- OPTIONAL alternate link for use on Category pages -->
|text=<!-- Link text -->
|type=<!-- Episode for episodes -->
}}
Inline (for copy and paste):
{{Portalnavcell|image=|link=}}