- This wiki is very much under construction. The original wiki was set to be shut down and the wiki was largely mirrored to a Fandom-based version, though most of the reference images had not yet been copied over. This migration was put on hold when it appeared the original wiki could in fact be retained, however the old wiki was lost in its entirety when the server was among the many taken down by a massive series of cyberattacks on data centers during early February, 2023. It is now being rebuilt with the launch of Hel. Sorry if it's a little messy right now!
Mascot Ariel Kid.png

Template:Location: Difference between revisions

From Drowtales
Jump to navigation Jump to search
(Created page with "<includeOnly> [[Category:{{{section|Moonless Age}}} Locations]] {{PageType|Locations}} {{#if: {{{region|}}} | [[Category:{{{region}}} Locations]] {{#vardefine:region|{{{region}}} }} }} </includeOnly> <div class="InfoBox"> <div class="InfoBoxHeader">{{PAGENAME}}</div> <div style='clear:both; text-align:center'> {{#if: {{{section|}}} | ''{{{section}}}''<br/> }} {{#if: {{{region|}}} | ''[[{{{region}}}]] location''<br/> }} <div style="padding:5px;">{{#ifexist:File:...")
 
mNo edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeOnly>
<includeOnly>
[[Category:{{{section|Moonless Age}}} Locations]]
[[Category:{{{section|}}} Locations]]
{{PageType|Locations}}
{{#if: {{{region|}}}
| [[Category:{{{region}}} Locations]]
{{#vardefine:region|{{{region}}} }}
}}
</includeOnly>
</includeOnly>
<div class="InfoBox">
<infobox layout="stacked">
   <div class="InfoBoxHeader">{{PAGENAME}}</div>
   <title source="name"><default>{{PAGENAME}}</default></title>
<div style='clear:both; text-align:center'>
  <image source="image"><default>[[File:Portrait_Default.png]]</default></image>
{{#if: {{{section|}}} |
  <data source="aliases"><format><i><big><div align="center">{{{aliases|}}}</div></big></i></format></data>
   ''{{{section}}}''<br/>
<group>
    <header> </header>
   <data source="region"><format><div align="center">Location in {{{region|}}}</div></format></data>
</group>
<group>
    <header>Related Factions</header>
    <data source="factions"></data>
  </group>
<group>
    <header>Notable Residents</header>
    <data source="characters"></data>
  </group>
<group>
  <header>Locations & Sub-Regions</header>
  <data source="locations" />
</group>
</infobox>
<noinclude>
Usage example:
<nowiki>
{{Location
| name =
| aliases =
| section =
| image =
| region =
| factions =
| characters =
| locations =
}}
}}
{{#if: {{{region|}}} |
</nowiki>
  ''[[{{{region}}}]] location''<br/>
<br>
}}
<div style="padding:5px;">{{#ifexist:File:Postcard_{{PAGENAME}}.png
            |[[Image:Postcard_{{PAGENAME}}.png|link=File:Postcard_{{PAGENAME}}.png|240px]]
            |[[Image:Postcard_default.png|link=File:Postcard_{{PAGENAME}}.png|240px|(Image missing)]]
}}</div></div><div style="clear:both"></div>{{#if: {{{aliases|}}} |
<div class="InfoBoxHeader">Also known as</div>
{{{aliases}}}
|}}
{{#if: {{{locations|}}} |
<div class="InfoBoxHeader">Points of interest</div>
{{{locations}}}
|}}
{{#if: {{{factions|}}} |
<div class="InfoBoxHeader">Related factions</div>
{{{factions}}}
|}}
{{#if: {{{characters|}}} |
<div class="InfoBoxHeader">Related characters</div>
{{{characters}}}
|}}
</div>
<noinclude>
[[Category:Page Types]]
[[Category:Page Types]]
A template for use on Location Pages. It creates the infobox seen on the right side of each page.
A template for use on Location Pages. It creates the infobox seen on the right of each page.
 
Essential arguments:
* name - This should generally be left blank to default to the page name.
* section - The story in which the location is set, such as ''Moonless Age'' or ''Hel''. This places it in the correct category pages.
* image - An image postcard for the location. Should be 240x111 pixels for ''Moonless Age'', 300x200 pixels for ''Hel''. <nowiki><gallery></gallery></nowiki> around multiple images will allow a gallery mode, if desired.
'''Please use the format of Postcard_LocationName.png for the primary portrait.''' In addition to standardizing with the legacy location images from the original version of the wiki, it is needed for the [[Template:LocationCard]] to work properly creating location thumbnails when cited on certain other locations.


Optional arguments
Optional arguments:
* aliases - list of alternate names
* aliases - If known by additional names or terms.
* image - the image for this location; standard size is 240x111px
* region - If the location is part of a large location in turn.
* section - the comic in which the location appears; default ''Moonless Age''
* factions - Factions known to inhabit or control the location.
* region - a name of the geopolitical subject this location is part of
* characters - Prominent leaders and residents.
* locations - a list of points of intersest inside this location
* locations - Additional prominent sub-locations or regions.
* factions - list of related factions
* characters - list of related characters


</noinclude>
</noinclude>

Latest revision as of 00:39, 3 October 2023

Usage example:

{{Location
 | name =
 | aliases = 
 | section =
 | image =
 | region = 
 | factions =
 | characters =
 | locations =
}}


A template for use on Location Pages. It creates the infobox seen on the right of each page.

Essential arguments:

  • name - This should generally be left blank to default to the page name.
  • section - The story in which the location is set, such as Moonless Age or Hel. This places it in the correct category pages.
  • image - An image postcard for the location. Should be 240x111 pixels for Moonless Age, 300x200 pixels for Hel. <gallery></gallery> around multiple images will allow a gallery mode, if desired.

Please use the format of Postcard_LocationName.png for the primary portrait. In addition to standardizing with the legacy location images from the original version of the wiki, it is needed for the Template:LocationCard to work properly creating location thumbnails when cited on certain other locations.

Optional arguments:

  • aliases - If known by additional names or terms.
  • region - If the location is part of a large location in turn.
  • factions - Factions known to inhabit or control the location.
  • characters - Prominent leaders and residents.
  • locations - Additional prominent sub-locations or regions.