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 →Usage: update |
imported>AdminBot m Removing Category:Templates from templates which already belong to other categories |
||
| (4 intermediate revisions by one other user 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: |
<center><div align="center" style=" border-style:solid; border-width: 1px; border-color: grey; padding: 5px; margin: 5px; width: 150px "> |
||
<div style="position: relative; height: |
<div style="position: relative; height: 118px; overflow: hidden;"> |
||
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: |
<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}}}| |
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|150px|{{{link}}}]]</div></div> |
||
<div>[[{{{link}}}|{{#if: {{{linktext|}}} | {{{linktext}}} | {{{link}}} }}]]</div> |
<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> |
||
| Line 18: | Line 18: | ||
|linktext=<!-- (OPTIONAL) Override text for link, e.g. Univeristy of Chennai --> |
|linktext=<!-- (OPTIONAL) Override text for link, e.g. Univeristy of Chennai --> |
||
|location=<!-- (OPTIONAL) Place's location, e.g. Madras, India.--> |
|location=<!-- (OPTIONAL) Place's location, e.g. Madras, India.--> |
||
|nonlinktext=<!-- OPTIONAL Additional text outside link (used to even lengths)--> |
|||
}} |
}} |
||
</pre> |
</pre> |
||
| Line 24: | Line 25: | ||
<pre>{{PortalPlaces|image=|link=|location=}}</pre> |
<pre>{{PortalPlaces|image=|link=|location=}}</pre> |
||
| ⚫ | |||
[[Category:Portal Elements]] |
[[Category:Portal Elements]] |
||
| ⚫ | |||
</noinclude> |
</noinclude> |
||
Latest revision as of 22:45, 12 November 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=}}