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:PortalPlaces: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hardvice +nonlinktext |
imported>Hardvice adjust |
||
| Line 3: | Line 3: | ||
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 130px; overflow: hidden; line-height: 118px; z-index: 3; link-hover: none">[[{{{link}}}| ]]</div> |
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 130px; overflow: hidden; line-height: 118px; z-index: 3; link-hover: none">[[{{{link}}}| ]]</div> |
||
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|150px|{{{link}}}]]</div></div> |
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|150px|{{{link}}}]]</div></div> |
||
<div>[[{{{link}}}|{{#if: {{{linktext|}}} | {{{linktext}}} | {{{link}}} }}]] |
<div>[[{{{link}}}|{{#if: {{{linktext|}}} | {{{linktext}}} | {{{link}}} }}]]{{#if:{{{nonlinktext|}}} | {{{nonlinktext}}}}}</div> |
||
<div>{{#if: {{{location|}}} | {{#ifexist: {{{location}}} | [[{{{location}}}]] | {{{location}}} }} | Unknown Location}}</div> |
<div>{{#if: {{{location|}}} | {{#ifexist: {{{location}}} | [[{{{location}}}]] | {{{location}}} }} | Unknown Location}}</div> |
||
</div></center><noinclude> |
</div></center><noinclude> |
||
Revision as of 06:07, 6 February 2007
[[{{{link}}}|{{{link}}}]]
Unknown Location
Usage
For use on Portal:Places
Location will auto-link to existing location articles, but it will not create red links. If blank, it will show "Unknown Location".
{{PortalPlaces
|image=<!-- Filename of image, e.g. chennai_university.jpg -->
|link=<!-- Article title of place, e.g. Chennai University -->
|linktext=<!-- (OPTIONAL) Override text for link, e.g. Univeristy of Chennai -->
|location=<!-- (OPTIONAL) Place's location, e.g. Madras, India.-->
|nonlinktext=<!-- OPTIONAL Additional text outside link (used to even lengths)-->
}}
Inline (for copy and paste):
{{PortalPlaces|image=|link=|location=}}