Template:5e Location: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(migration to Template:DnD Location) |
||
| Line 2: | Line 2: | ||
<!-- Cargo Table --> | <!-- Cargo Table --> | ||
{{#cargo_declare: | {{#cargo_declare: | ||
_table = | _table = DnD_Location | ||
|Name = String | |Name = String | ||
|Sort_Text = String | |Sort_Text = String | ||
| Line 15: | Line 15: | ||
|Subregion = List (, ) of string | |Subregion = List (, ) of string | ||
}} | }} | ||
</noinclude><includeonly>{{ | </noinclude><includeonly>{{DnD Location | ||
|name={{{name|}}} | |||
| | |sorttext={{{sorttext|}}} | ||
| | |refs={{{refs|}}} | ||
| | |altname={{{altname|}}} | ||
| | |type={{{type|}}} | ||
| | |setting={{{setting|}}} | ||
| | |plane={{{plane|}}} | ||
| | |world={{{world|}}} | ||
| | |continent={{{continent|}}} | ||
| | |region={{{region|}}} | ||
| | |nation={{{nation|}}} | ||
| | |subregion={{{subregion|}}} | ||
}}<!--Categories-->{{#if: {{{sorttext}}}|{{DEFAULTSORTKEY:{{{sorttext}}} {{NAMESPACE}}}}|}}[[Category: 5e | |collapsed={{{collapsed|}}} | ||
|hide={{{hide|}}} | |||
|nodb={{{nodb|}}} | |||
}} | |||
{{#if: {{{nodb|}}}|<!--skip-->|<!--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 Hidden-- | ||
<div style="float:right; border-style:solid; border-width:1px; border-color:#0000ff; border-radius:0.5em; box-shadow: 5px 5px 3px gainsboro; max-width: 30vw; padding:0 0.5em; margin:0.5em 0em;"> | |||
<big>'''''{{{name|}}}'''</big> {{#if: {{{refs|}}}|{{{refs}}} |}}({{5ed|Location}}) <span class="mw-customtoggle-myLocationDivision" style="display:inline; float:right;">+</span><br /> | <big>'''''{{{name|}}}'''</big> {{#if: {{{refs|}}}|{{{refs}}} |}}({{5ed|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">|}} | ||
| Line 37: | Line 41: | ||
'''Type:''' {{{type|}}}<br /> | '''Type:''' {{{type|}}}<br /> | ||
<hr /> | <hr /> | ||
'''Setting:''' {{{setting | {{#if: {{{setting|}}}|'''Setting:''' {{{setting}}}<br />|}}{{#if: {{{plane|}}}|'''Plane:''' {{{plane}}}|}}{{#if: {{{world|}}}<br />|}}{{#if: {{{continent|}}}|'''Continent:''' {{{continent}}}<br />|}}{{#if: '''Region:''' {{{region}}}<br />|}}{{#if: {{{nation|}}}|'''Nation:''' {{{nation}}}<br />|}}{{#if: {{{subregion|}}}|'''Subregion:''' {{{subregion}}}|}} | ||
'''Plane:''' {{{plane| | </div> | ||
</div> | |||
'''Continent:''' {{{continent}}}|}}{{#if: | -->|}}<!--endif not hide--> | ||
'''Region:''' {{{region}}}|}}{{#if: {{{nation|}}}| | </includeonly><noinclude>{{deprecated|Template:DnD Location}}{{template badge}}{{tocright}} | ||
'''Nation:''' {{{nation}}}|}}{{#if: {{{subregion|}}}| | |||
'''Subregion:''' {{{subregion}}}|}} | |||
</div | |||
</div> | |||
|}}<!--endif not hide--> | |||
</includeonly><noinclude>{{tocright}} | |||
==Use== | ==Use== | ||
Displays and records information about an organization. | Displays and records information about an organization. | ||
| Line 89: | Line 87: | ||
}}</pre> | }}</pre> | ||
===Produces=== | |||
{{5e Location | {{5e Location | ||
|name=Sword Mountains | |name=Sword Mountains | ||
Revision as of 08:26, 18 May 2025
This template defines the table "DnD_Location". View table.
| This information is deprecated. This material was replaced by: Template:DnD Location |
Template ⁿ
Use
Displays and records information about an organization.
Syntax
{{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
|collapsed= <!--blank, true--> |hide= <!--blank, true--> |nodb= <!--blank, true to skip db & categories-->
Example
{{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) +