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>Orne
... sqiggy brackets in wrong place
imported>Orne
documenting my earlier change
Line 11: Line 11:
==Usage==
==Usage==
Produces a right-floated infobox for places and adds category: places. Will auto-add <nowiki>{{noimage}}</nowiki> if <tt>image=</tt> is left blank.
Produces a right-floated infobox for places and adds category: places. Will auto-add <nowiki>{{noimage}}</nowiki> if <tt>image=</tt> is left blank.

===Behaviour===
* 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.


<pre>{{Infobox place
<pre>{{Infobox place
| image = <!--Image link-->
| image = <!--Image link-->
| caption = <!-- Caption for image -->
| caption = <!-- Caption for image -->
| location = <!-- Article title for Location where the place is located -->
| location = <!-- Location where the place is located -->
| purpose = <!-- Purpose for facility -->
| purpose = <!-- Purpose for facility -->
}}
}}

Revision as of 01:22, 13 January 2007

Infobox place

Usage

Produces a right-floated infobox for places and adds category: places. Will auto-add {{noimage}} if image= is left blank.

Behaviour

  • 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.
{{Infobox place
| image = <!--Image link-->
| caption = <!-- Caption for image -->
| location = <!-- Location where the place is located -->
| purpose = <!-- Purpose for facility -->
}}