Difference between revisions of "Template:5e Location"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
m
 
Line 1: Line 1:
 
<includeonly>{{#if: {{{nodb|}}}|<!--skip-->|<!--
 
<includeonly>{{#if: {{{nodb|}}}|<!--skip-->|<!--
--property store-->{{#if: {{{sorttext|}}}|{{#set: SortText={{{sorttext}}} {{NAMESPACE}}}}|}}{{#if: {{{altname|}}}|{{#set: AKA={{{altname}}}}}|}}{{#if: {{{type|}}}|{{#set: Type={{{type}}}}}|}}{{#if: {{{setting|}}}|{{#set: Setting={{{setting}}}}}|}}{{#if: {{{plane|}}}|{{#set: Plane={{{plane}}}}}|}}{{#if: {{{world|}}}|{{#set: World={{{world}}}}}|}}{{#if: {{{continent|}}}|{{#set: Continent={{{continent}}}}}|}}{{#if: {{{region|}}}|{{#set: Region={{{region}}}}}|}}{{#if: {{{nation|}}}|{{#set: Nation={{{nation}}}}}|}}{{#if: {{{subregion|}}}|{{#set: Subregion={{{subregion}}}}}|}}<!--Categories-->{{#if: {{{sorttext}}}|{{DEFAULTSORTKEY:{{{sorttext}}} {{NAMESPACE}}}}|}}[[Category: 5e Location]]{{#if: {{{setting|}}}|[[Category: 5e {{{setting}}}]]|}}{{#if: {{{plane|}}}|[[Category: 5e {{{plane}}}]]|}}
+
--property store-->{{#if: {{{sorttext|}}}|{{#set: SortText={{{sorttext}}} {{NAMESPACE}}}}|}}{{#if: {{{altname|}}}|{{#set: AKA={{{altname}}}}}|}}{{#if: {{{type|}}}|{{#set: Type={{{type}}}}}|}}{{#if: {{{setting|}}}|{{#set: Setting={{{setting}}}}}|}}{{#if: {{{plane|}}}|{{#set: Plane={{{plane}}}}}|}}{{#if: {{{world|}}}|{{#set: World={{{world}}}}}|}}{{#if: {{{continent|}}}|{{#set: Continent={{{continent}}}}}|}}{{#if: {{{region|}}}|{{#set: Region={{{region}}}}}|}}{{#if: {{{nation|}}}|{{#set: Nation={{{nation}}}}}|}}{{#if: {{{subregion|}}}|{{#set: Subregion={{{subregion}}}}}|}}<!--Categories-->{{#if: {{{sorttext}}}|{{DEFAULTSORTKEY:{{{sorttext}}} {{NAMESPACE}}}}|}}[[Category: 5e Locations]]{{#if: {{{setting|}}}|[[Category: 5e {{{setting}}}]]|}}{{#if: {{{plane|}}}|[[Category: 5e {{{plane}}}]]|}}
 
|}}<!--endif nodb-->{{#if: {{{hide|}}}|<!--skip-->|<!--
 
|}}<!--endif nodb-->{{#if: {{{hide|}}}|<!--skip-->|<!--
 
--Display--
 
--Display--

Latest revision as of 15:02, 27 March 2024

Use[edit]

Displays and records information about an organization.

Syntax[edit]

{{5e Location
|name=
|sorttext=
|refs=
|altname= <!--blank, alternate name(s)-->
|type= <!--Plane, World, City, River, Structure, etc.-->
|setting= <!--Greyhawk, Forgotten Realms, etc.-->
|plane= <!--Material Plane, Feywild, Limbo, etc.-->
|world= <!--blank, Oerth, Toril, etc.-->
|continent= <!--blank, Oerik, Faerûn, etc.-->
|region= <!--blank, Flanaess, Sword Coast, etc.-->
|nation= <!--blank, Perrenland, Thay, etc.-->
|subregion= <!--blank, county, etc.-->
}}

Optional Entries[edit]

|collapsed= <!--blank, true-->
|hide= <!--blank, true-->
|nodb= <!--blank, true to skip db & categories-->

Example[edit]

{{5e Location
|name=Sword Mountains
|sorttext=
|altname= <!--blank, alternate name(s)-->
|type=Mountain Range
|setting=Forgotten Realms
|plane=Material Plane
|world=Toril
|continent=Faerûn
|region=Sword Coast
|nation=
|subregion=
}}


produces...

Sword Mountains (Location)  +

Type: Mountain Range


Setting: Forgotten Realms
Plane: Material Plane
World: Toril
Continent: Faerûn
Region: Sword Coast