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
Jump to navigation
Jump to search
Content deleted Content added
imported>Hardvice +cat |
imported>Ryangibsonstewart book |
||
| (13 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{image|}}}||{{noimage}}}}</includeonly> |
<includeonly>{{#if: {{{image|}}}||{{#if: {{{book|}}}||{{noimage}}}}}}{{DEFAULTSORT:{{{sort|{{SUBPAGENAME}}}}}}}</includeonly> |
||
{| class="infobox" style="width: |
{| 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" |
||
|- |
|- |
||
! style="background: {{{color|#FFFF99}}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 80%; border: 1px solid #CC9933; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{ |
! style="background: {{{color|#FFFF99}}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 80%; border: 1px solid #CC9933; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{SUBPAGENAME}} |
||
|- |
|- |
||
{{#if: {{{image|}}} | <tr> <td align="center" colspan="2">[[Image:{{{image}}}|250px]] {{#if: {{{caption|}}} | <br>{{{caption}}}}}</td> </tr>}} |
{{#if: {{{image|}}} | <tr> <td align="center" colspan="2">[[Image:{{{image}}}|250px]] {{#if: {{{caption|}}} | <br>{{{caption}}}}}</td> </tr>}} |
||
{{#if: {{{location|}}} | <tr> <th>Location:</th> <td>[[{{{location}}}]]</td> </tr>}} |
{{#if: {{{location|}}} | <tr> <th>Location:</th> <td>{{#ifexist: {{{location}}} | [[{{{location}}}]] | {{{location}}} }}</td> </tr>}} |
||
{{#if: {{{purpose|}}} | <tr> <th>Purpose:</th> <td>{{{purpose}}}</td> </tr>}} |
{{#if: {{{purpose|}}} | <tr> <th>Purpose:</th> <td>{{{purpose}}}</td> </tr>}} |
||
|}<noinclude> |
|}<noinclude> |
||
==Usage== |
==Usage== |
||
Produces a right-floated infobox for |
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 <nowiki>{{</nowiki>[[:Template:noimage|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]]. |
|||
<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 = <!-- Location where the place is located --> |
||
| purpose = <!-- Purpose for facility --> |
| purpose = <!-- Purpose for facility --> |
||
| sort = <!-- optional category sort --> |
|||
}} |
}} |
||
</pre> |
</pre> |
||
[[Category: Templates]] |
|||
[[Category: Sidebars]] |
[[Category: Sidebars]] |
||
</noinclude> |
</noinclude> |
||
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 -->
}}