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

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Ryangibsonstewart
m Reverted edits by Martin Van Buren (Talk); changed back to last version by Piemanmoo
imported>Ryangibsonstewart
book
 
Line 1: Line 1:
<includeonly>{{#if: {{{image|}}}||{{noimage}}}}{{DEFAULTSORT:{{{sort|{{SUBPAGENAME}}}}}}}</includeonly>
<includeonly>{{#if: {{{image|}}}||{{#if: {{{book|}}}||{{noimage}}}}}}{{DEFAULTSORT:{{{sort|{{SUBPAGENAME}}}}}}}</includeonly>
{| class="infobox" style="width: 270px; text-align: left; font-size: 90%; background-color: #FEFFE5; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #CC9933; padding: 2px; -moz-border-radius:10px;" cellspacing="2"
{| class="infobox" style="width: 270px; text-align: left; font-size: 90%; background-color: #FEFFE5; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #CC9933; padding: 2px; -moz-border-radius:10px;" cellspacing="2"
|-
|-
Line 18: Line 18:
<pre>{{Infobox place
<pre>{{Infobox place
| image = <!--Image link-->
| image = <!--Image link-->
| book = <!--anything if this is a book place and there isn't an image-->
| caption = <!-- Caption for image -->
| caption = <!-- Caption for image -->
| location = <!-- Location where the place is located -->
| location = <!-- Location where the place is located -->

Latest revision as of 04:11, 5 September 2015

Infobox place

Usage

Produces a right-floated infobox for articles referring to places in the Heroes series.

Behavior

  • If the image value is left blank, the template will auto-add the {{noimage}} template to the top of the page.
  • If the location value is the same as an Article title, the text will automatically be converted into a reference. If not, the value will display as normal (non-linked) text. The location article is expected to belong to either Category:World Locations or Category:Graphic Novel Locations.
{{Infobox place
| image = <!--Image link-->
| book = <!--anything if this is a book place and there isn't an image-->
| caption = <!-- Caption for image -->
| location = <!-- Location where the place is located -->
| purpose = <!-- Purpose for facility -->
| sort = <!-- optional category sort -->
}}