- 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
Line 1: Line 1:
<includeOnly>
<includeOnly>
[[Category:{{{section|Moonless Age}}} Locations]]
[[Category:{{{section|}}} Locations]]
{{PageType|Locations}}
[[Category:{{{region|}}} 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><div align="center">{{{aliases|}}}</div></format></data>
   ''{{{section}}}''<br/>
<group row-items="2">
    <header> </header>
    <data source="factions"><label>Related Factions</label></data>
    <data source="characters"><label>Related Characters</label></data>
  </group>
<group collapse="closed">
  <header>Locations & Sub-Regions</header>
   <data source="locations" />
</group>
</infobox>
<noinclude>
Usage example:
<nowiki>
{{Location
| name =
| aliases =
| section =
| image =
| region =
| faction =
| 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'', 500x200 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
* faction - Factions known to inhabit or control the location.
* section - the comic in which the location appears; default ''Moonless Age''
* characters - Prominent leaders and residents.
* region - a name of the geopolitical subject this location is part of
* locations
* locations - a list of points of intersest inside this location
* factions - list of related factions
* characters - list of related characters


</noinclude>
</noinclude>

Revision as of 01:50, 24 September 2023

Usage example:

{{Location
 | name =
 | aliases = 
 | section =
 | image =
 | region = 
 | faction =
 | 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, 500x200 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.
  • faction - Factions known to inhabit or control the location.
  • characters - Prominent leaders and residents.
  • locations