Template:5e Location: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude> <!-- Cargo Table --> {{#cargo_declare: _table = 5e_Location |Name = String |Sort_Text = String |Alt_Name = List (, ) of string |Type = List (, ) of string |Setting= List (, ) of string |Plane = List (, ) of Wikitext string |World = List (, ) of string |Continent = List (, ) of string |Region = List (, ) of string |Nation = List (, ) of string |Subregion = List (, ) of string }} </noinclude><includeonly>{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store: _table = 5...") |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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 | ||
|Alt_Name = List (, ) of string | |Alt_Name = List (, ) of string | ||
|Type = List (, ) of string | |Type = List (, ) of string | ||
| | |LSetting= List (, ) of string | ||
|Plane = List (, ) of Wikitext string | |Plane = List (, ) of Wikitext string | ||
|World = List (, ) of string | |World = List (, ) of 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|}}} | |||
--Display-- | |nodb={{{nodb|}}} | ||
}} | |||
<!--Categories-->{{#if: {{{sorttext}}}|{{DEFAULTSORTKEY:{{{sorttext}}} {{NAMESPACE}}}}|}}[[Category: 5e Locations]]{{#if: {{{setting|}}}|[[Category: 5e {{{setting|}}}]]|}}{{#if: {{{plane|}}}|[[Category: 5e {{{plane|}}}]]|}} | |||
<!--endif nodb--><!-- | |||
--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: | --> | ||
'''Region:''' {{{region}}}|}}{{#if: {{{nation|}}}| | </includeonly><noinclude>{{template badge}}{{tocright}} | ||
'''Nation:''' {{{nation}}}|}}{{#if: {{{subregion|}}}| | |||
'''Subregion:''' {{{subregion}}}|}} | |||
</div | |||
</div | |||
</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 | ||
Latest revision as of 16:33, 18 May 2025
This template defines the table "DnD_Location". View table.
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) +