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
Jump to navigation
Jump to search
Content deleted Content added
imported>Hardvice allow either episode or standard sized imgs |
imported>AdminBot m Removing Category:Templates from templates which already belong to other categories |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<center><div align="center" style="background-color:white; width: |
<center><div align="center" style="background-color:white; width: {{{width|80}}}px; border:1px gray solid;"> |
||
<div style="position: relative; height: |
<div style="position: relative; height: {{#expr: {{{width|80}}} / 1.28 round 0}}px; overflow: hidden;"> |
||
<div style="position: absolute; top: 0px; left: 0px; font-size: |
<div style="position: absolute; top: 0px; left: 0px; font-size: {{{width|80}}}px; width: {{{width|80}}}px; overflow: hidden; line-height: {{#expr: {{{width|80}}} / 1.28 round 0}}px; z-index: 3; link-hover: none">[[{{{link}}}| ]]</div> |
||
<div style="position: absolute; top: {{#ifeq: {{{type|}}} | episode | 9px; | 0px;}} left: 0px; z-index: 2; height:{{#ifeq: {{{type|}}} | episode |45px;| |
<div style="position: absolute; top: {{#ifeq: {{{type|}}} | episode | 9px; | 0px;}} left: 0px; z-index: 2; height:{{#ifeq: {{{type|}}} | episode |45px;|{{#expr: {{{width|80}}} / 1.28 round 0}}px;}}">[[Image:{{{image}}}|{{{width|80}}}px|{{{link}}}]]</div></div> |
||
<div><small>[[{{{link}}}|{{{text}}}]]{{#if:{{{nonlinktext|}}}|{{{nonlinktext}}}}}</small></div> |
<div><small>[[{{{link}}}|{{{text}}}]]{{#if:{{{nonlinktext|}}}|{{{nonlinktext}}}}}</small></div> |
||
</div></center><noinclude> |
</div></center><noinclude> |
||
| Line 15: | Line 15: | ||
|text=<!-- Link text --> |
|text=<!-- Link text --> |
||
|type=<!-- Episode for episodes --> |
|type=<!-- Episode for episodes --> |
||
|width=<!--OPTIONAL Cell width. Default is 80--> |
|||
}} |
}} |
||
</pre> |
</pre> |
||
| Line 21: | Line 22: | ||
<pre>{{Portalnavcell|image=|link=}}</pre> |
<pre>{{Portalnavcell|image=|link=}}</pre> |
||
| ⚫ | |||
[[Category:Portal Elements]] |
[[Category:Portal Elements]] |
||
| ⚫ | |||
</noinclude> |
</noinclude> |
||
Latest revision as of 22:46, 12 November 2007
[[{{{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 -->
|width=<!--OPTIONAL Cell width. Default is 80-->
}}
Inline (for copy and paste):
{{Portalnavcell|image=|link=}}