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:PortalPlotPoints: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Hardvice
test var
imported>Ryangibsonstewart
m Reverted edits by Martin Van Buren (Talk); changed back to last version by AdminBot
 
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<center><div align="center" style=" border-style:solid; border-width: 1px; border-color: grey; padding: 5px; margin: 5px; width: {{{width|150}}}px; text-align: center; ">
<center><div align="center" style=" border-style:solid; border-width: 1px; border-color: grey; padding: 5px; margin: 5px; width: {{{width|150}}}px; text-align: center; ">
<div style="position: relative; height: {{#expr: {{{width|150}}} / 1.28 round 0}}px; overflow: hidden;">
<div style="position: relative; height: {{#expr: {{{width|150}}} / 1.28 round 0}}px; overflow: hidden;">
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: {{#expr: ({{{width|150}}} / 1.28 round 0) + 10}}px; overflow: hidden; width: {{{width|150}}}px; height: {{#expr: {{{width|150}}} / 1.28 round 0}}px; line-height: {{#expr: {{{width|150}}} / 1.28 round 0}}px; z-index: 3; link-hover: none">[[{{#if: {{{catlink|}}}|{{#ifeq: {{NAMESPACE}} | Category | {{{catlink}}} | {{{link}}}}} | {{{link}}}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]</div>
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: {{#expr: ({{{width|150}}} / 1.28 round 0) + 10}}px; overflow: hidden; width: {{{width|150}}}px; height: {{#expr: {{{width|150}}} / 1.28 round 0}}px; line-height: {{#expr: {{{width|150}}} / 1.28 round 0}}px; z-index: 3; link-hover: none">[[{{#if:{{{catlink|}}}|{{#ifeq:{{NAMESPACE}}|Category|{{{catlink|}}}|{{{link}}}}}|{{{link}}}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]</div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2"><center>[[Image:{{{image}}}|{{{width|150}}}px|{{#if:{{{text|}}} | {{{text}}} | {{{link}}}}}]]</center></div></div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2;{{#ifeq:{{{deceased|}}}|true|filter:alpha(opacity=50);-moz-opacity:.50;|}}"><center>[[Image:{{{image|blank.jpg}}}|{{{width|150}}}px|{{#if:{{{text|}}} | {{{text}}} | {{{link}}}}}]]</center></div></div>
<div>{{#ifeq: {{#expr: {{{width|150}}}<120}} | 1 | <small>}}[[{{{link}}}|{{#if:{{{text|}}}|{{{text}}}|{{{link}}}}}]]{{#ifeq: {{#expr: {{{width|150}}}<120}} | 1 | </small>}}</div>{{#if:{{{nonlinktext|}}} | {{{nonlinktext}}}}}
<div>{{#ifeq:{{{deceased|}}}|true|<span style="color: silver;">''|}}{{#ifeq: {{#expr: {{{width|150}}}<120}} | 1 | <small>}}[[{{#if:{{{catlink|}}}|{{#ifeq:{{NAMESPACE}}|Category|{{{catlink|}}}|{{{link}}}}}|{{{link}}}}}|{{#if:{{{text|}}}|{{{text}}}|{{{link}}}}}]]{{#ifeq: {{#expr: {{{width|150}}}<120}} | 1 | </small>}}{{#ifeq:{{{deceased|}}}|true|''</span>|}}</div>{{#if:{{{nonlinktext|}}} | {{{nonlinktext}}}}}
</div>{{{catlink}}}</center><noinclude>
</div></center><noinclude>


==Usage==
==Usage==
For use on [[Portals]] for Locations, Events, Images, and Items
For use on [[Portals]] for Locations, Events, Images, Groups and Items


<pre>
<pre>
Line 16: Line 16:
|text=<!-- OPTIONAL Alternate link text -->
|text=<!-- OPTIONAL Alternate link text -->
|nonlinktext=<!-- OPTIONAL Additional text outside link (used to even lengths)-->
|nonlinktext=<!-- OPTIONAL Additional text outside link (used to even lengths)-->
|deceased=<!-- Set to "true" for deceased locations and groups -->
|width=<!-- OPTIONAL Width of cell. Defaults to 150px}}
|width=<!-- OPTIONAL Width of cell. Defaults to 150px}}
}}
}}
Line 23: Line 24:
<pre>{{PortalPlotPoints|image=|link=}}</pre>
<pre>{{PortalPlotPoints|image=|link=}}</pre>



[[Category:Templates]]
[[Category:Portal Elements]]
[[Category:Portal Elements]]
[[Category: Portal Cells]]
</noinclude>
</noinclude>

Latest revision as of 04:38, 25 August 2011

[[{{{link}}}|     ]]
{{{link}}}
[[{{{link}}}|{{{link}}}]]

Usage

For use on Portals for Locations, Events, Images, Groups and Items

{{PortalPlotPoints
|image=<!-- Filename of image, e.g. Activating_evolution.jpg -->
|link=<!-- Article title of episode, e.g. Activating Evolution -->
|catlink=<!--OPTIONAL link to use when portal is included in a category-->
|text=<!-- OPTIONAL Alternate link text -->
|nonlinktext=<!-- OPTIONAL Additional text outside link (used to even lengths)-->
|deceased=<!-- Set to "true" for deceased locations and groups -->
|width=<!-- OPTIONAL Width of cell.  Defaults to 150px}}
}}

Inline (for copy and paste):

{{PortalPlotPoints|image=|link=}}