Difference between revisions of "Template:5e Location"
From Dungeons and Dragons Wiki
(Created page with "<includeonly>{{#if: {{{nodb|}}}|<!--skip-->|<!-- --property store-->{{#if: {{{sorttext|}}}|{{#set: SortText={{{sorttext}}} {{NAMESPACE}}}}|}}{{#if: {{{altname|}}}|{{#set: AKA=...") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
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 | + | --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-- | ||
− | --><div style="float:right; border | + | --><div style="display:block; float:right; border:solid 1px goldenrod; border-radius:0.5em; box-shadow: 5px 5px 3px burlywood; background:lightyellow; max-width:30vw; padding:0 0.5em;"> |
<big>'''''{{{name|}}}'''</big> {{#if: {{{refs|}}}|{{{refs}}} |}}({{5ep|Location}}) <span class="mw-customtoggle-myLocationDivision" style="display:inline; float:right;">+</span><br /> | <big>'''''{{{name|}}}'''</big> {{#if: {{{refs|}}}|{{{refs}}} |}}({{5ep|Location}}) <span class="mw-customtoggle-myLocationDivision" style="display:inline; float:right;">+</span><br /> | ||
{{#if: {{{colapsed|}}}|<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myLocationDivision">|<div class="mw-collapsible mw-expanded" id="mw-customcollapsible-myLocationDivision">|}} | {{#if: {{{colapsed|}}}|<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myLocationDivision">|<div class="mw-collapsible mw-expanded" id="mw-customcollapsible-myLocationDivision">|}} |
Latest revision as of 15:02, 27 March 2024
Contents
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) +