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 location: Difference between revisions
Jump to navigation
Jump to search
imported>Hardvice + Usage, + cat |
imported>Piemanmoo fixing for userpages |
||
(18 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="width: | <includeonly>{{#if: {{{image|}}}| |{{noimage}}}}</includeonly> | ||
{| class="infobox" style="width: 270px; text-align: left; font-size: 90%; background-color: #C0C0C0; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #808080; padding: 2px; -moz-border-radius:10px;" cellspacing="2" | |||
|- | |- | ||
! style="background: {{{color|#D3D3D3}}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #808080; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{ | ! style="background: {{{color|#D3D3D3}}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #808080; 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: {{{language|}}} | <tr> <th>Language Spoken:</th> <td>{{{language}}}</td> </tr>}} | -->{{#if: {{{language|}}} | <tr> <th>Language(s) Spoken:</th> <td>{{{language}}}</td> </tr>}}<!-- | ||
{{#ifeq: {{{WPLink}}}|yes| <tr> <th colspan="2"><center>[ | -->{{#ifeq: {{{WPLink}}}|yes| <tr> <th colspan="2"><center>[[wikipedia:{{SUBPAGENAMEE}}|Wikipedia Article]]</center></td> </tr>}} | ||
|}<includeonly> | |}<includeonly>{{#ifeq:{{{gn|}}}|yes|{{nousercat|World Locations}}{{nousercat|Graphic Novel Locations}}|{{nousercat|World Locations}}}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
Produces a right-floated infobox for locations and adds category: location. | Produces a right-floated infobox for locations and adds category: world location. Will auto-add <nowiki>{{noimage}}</nowiki> if <tt>image=</tt> is left blank. | ||
<pre>{{Infobox location | <pre>{{Infobox location | ||
Line 16: | Line 17: | ||
| language = <!-- Language spoken --> | | language = <!-- Language spoken --> | ||
| WPLink = <!-- Set to yes to link to Wikipedia article --> | | WPLink = <!-- Set to yes to link to Wikipedia article --> | ||
| gn = <!-- Yes for Graphic novel-only location --> | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category: | |||
[[Category: Sidebars]] | |||
</noinclude> |
Latest revision as of 21:28, 4 April 2009
Infobox location |
---|
Usage
Produces a right-floated infobox for locations and adds category: world location. Will auto-add {{noimage}} if image= is left blank.
{{Infobox location | image = <!--Image link--> | caption = <!-- Caption for image --> | language = <!-- Language spoken --> | WPLink = <!-- Set to yes to link to Wikipedia article --> | gn = <!-- Yes for Graphic novel-only location --> }}