Editing Template:Place Summary
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | <includeonly><!-- | + | <includeonly><cleanspace> |
− | -->{{# | + | <!-- Space switches --> |
− | -->{{# | + | {{#local:userspace|1|if={{#ifeq:{{SUBJECTSPACE}}|User|1}}}} |
− | --><!-- -- | + | {{#local:gamespace|1|ifnot={{#switch:{{SUBJECTSPACE}}|User|Template|UESPWiki=1}}}} |
− | {{#if:{{{mapname|}}}| | + | {{#define:ns_base|Skyrim|if={{{userspace|}}}}} |
+ | |||
+ | <!-- Case only defines --> | ||
+ | {{#define:addabove|case=any}} | ||
+ | {{#define:addbelow|case=any}} | ||
+ | {{#define:city|case=any}} | ||
+ | {{#define:district|case=any}} | ||
+ | {{#define:region|case=any}} | ||
+ | {{#define:region2|case=any}} | ||
+ | {{#define:region3|case=any}} | ||
+ | |||
+ | <!-- Image Parameters and Checks --> | ||
+ | {{#define:image|case=any}} | ||
+ | {{#define:imgdesc|case=any}} | ||
+ | {{Parameter Check|type=Place}} | ||
+ | {{#unset:image|if={{#ifeq:{{lc:{{{image|}}}}}|none|1}}}} | ||
+ | |||
+ | <!-- Content defines --> | ||
+ | {{#if:{{{titlename|}}}|{{DEFAULTSORT:{{{titlename}}}}}}}<!-- Do not add DEFAULTSORT if titlename wasn't explicitly passed --> | ||
+ | {{#define:titlename|{{#label:{{SUBPAGENAME}}}}}} | ||
+ | |||
+ | {{#local:citydesc|{{#label:{{{city}}}}}|if={{{city|}}}}} | ||
+ | {{#define:description|case=any}} | ||
+ | {{#if:{{{description|}}}||{{#if:{{{gamespace|}}}|[[Category:{{NS_NAME}} Places Needing Descriptions]]}}}} | ||
+ | {{#define:location|{{Autolink|{{{city|}}}}}{{#if:{{{district|}}}|, [[{{NS_BASE}}:{{#ifeq:{{NS_BASE}}|Morrowind|Vivec }}{{{district}}}|{{{district}}}]]}}{{#if:{{{coords|}}}|, {{nowrap|{{{coords}}}}}}}|if={{{city|{{{district|}}}}}}}} | ||
+ | {{#define:location|{{Autolink|{{{town|}}}}}{{#if:{{{coords|}}}|, {{nowrap|{{{coords}}}}}}}|if={{{town|}}}}} | ||
+ | {{#define:mapname|{{LABELNAME}}|case=any}} | ||
+ | {{#define:mapbase|{{NS_BASE}}}} | ||
+ | {{#ifeq:{{{mapname|}}}|none|| | ||
{{#switch:{{{mapbase}}} | {{#switch:{{{mapbase}}} | ||
|Oblivion|Shivering|Morrowind|Bloodmoon|Skyrim|Dragonborn={{#if:{{{mapx|}}} | |Oblivion|Shivering|Morrowind|Bloodmoon|Skyrim|Dragonborn={{#if:{{{mapx|}}} | ||
Line 11: | Line 39: | ||
}} | }} | ||
}} | }} | ||
− | --><!-- | + | {{#define:lorepage|{{LABELNAME}}}} |
− | -->{{#if:{{{notrail|}}}||{{Trail|Places|{{#switch:{{{type}}} | + | {{#local:lorelink|{{#if:{{#pos:{{{lorepage|}}}|[}}|{{{lorepage}}}|{{#ifexistx:Lore:{{{lorepage}}}|[[Lore:{{{lorepage}}}|lore page]]}}}}}} |
+ | {{#local:linkline|{{{maplinkdisp|}}} {{#if:{{{lorelink|}}}|{{nowrap|({{{lorelink}}})}}}}}} | ||
+ | {{#local:propheader|{{#switch:{{{type|}}}|Inn=Publican|Guild Hall=Guildmaster|Telvanni Tower=Master|Proprietor}}}} | ||
+ | {{#define:regionheader|Regions|if={{{region2|{{{region3|}}}}}}|case=any}} | ||
+ | {{#define:regionheader|Region|case=any}} | ||
+ | {{#define:marker_icon|{{NS_ID:{{{ns_base|{{NS_PARENT}}}}}}}-mapicon-{{{marker_id}}}.png|if={{#if:{{{marker_id|}}}| {{#ifexpr:{{#len:{{{marker_id}}}}}>2|1|0}} |0}} }} | ||
+ | |||
+ | <!-- DESTINATION DATA --> | ||
+ | {{#local:destheader|{{{transtype|}}}<br/>|if={{{transtype|}}}}} | ||
+ | {{#local:destheader|{{{destheader|}}}Destinations}} | ||
+ | |||
+ | {{#save:description|mapname|maplink|type|marker_icon}} | ||
+ | |||
+ | <!-- Trail --> | ||
+ | {{#if:{{{gamespace|}}}|{{#if:{{{notrail|}}}||{{Trail|Places|{{#switch:{{{type}}} | ||
|Body of Water=Bodies of Water | |Body of Water=Bodies of Water | ||
|City=Cities | |City=Cities | ||
Line 23: | Line 65: | ||
|Barracks=Barracks | |Barracks=Barracks | ||
|{{{type}}}s | |{{{type}}}s | ||
− | }}}}}} | + | }}}}}}}} |
− | + | ||
− | -->{{#if:{{{city|}}}|[[Category:{{ | + | <!-- Categories --> |
− | -->{{#if:{{{district|}}}|[[Category:{{ | + | </cleanspace>{{#if:{{{gamespace|}}}|<!-- |
− | -->{{#if:{{{region|}}}|[[Category:{{ | + | -->{{#if:{{{city|}}}|[[Category:{{NS_CATEGORY}}-Places-{{{citydesc}}}]]}}<!-- |
− | -->{{#if:{{{region2|}}}|[[Category:{{ | + | -->{{#if:{{{district|}}}|[[Category:{{NS_CATEGORY}}-Places-{{{citydesc}}} {{{district}}}]]}}<!-- |
− | -->{{#if:{{{region3|}}}|[[Category:{{ | + | -->{{#if:{{{region|}}}|[[Category:{{NS_CATEGORY}}-Places-{{#trimlinks:{{{region}}}}}]]}}<!-- |
− | -->{{#if:{{{oretype|}}}|[[Category:{{ | + | -->{{#if:{{{region2|}}}|[[Category:{{NS_CATEGORY}}-Places-{{#trimlinks:{{{region2}}}}}]]}}<!-- |
− | -->{{#if:{{{oretype2|}}}|[[Category:{{ | + | -->{{#if:{{{region3|}}}|[[Category:{{NS_CATEGORY}}-Places-{{#trimlinks:{{{region3}}}}}]]}}<!-- |
− | -->{{#if:{{{oretype3|}}}|[[Category:{{ | + | -->{{#if:{{{oretype|}}}|[[Category:{{NS_CATEGORY}}-Places-{{ucfirst:{{{oretype}}}}}_Veins]]}}<!-- |
− | -->{{#if:{{{oretype4|}}}|[[Category:{{ | + | -->{{#if:{{{oretype2|}}}|[[Category:{{NS_CATEGORY}}-Places-{{ucfirst:{{{oretype2}}}}}_Veins]]}}<!-- |
− | -->{{#if:{{{oretype5|}}}|[[Category:{{ | + | -->{{#if:{{{oretype3|}}}|[[Category:{{NS_CATEGORY}}-Places-{{ucfirst:{{{oretype3}}}}}_Veins]]}}<!-- |
− | -->{{#if:{{{oretype6|}}}|[[Category:{{ | + | -->{{#if:{{{oretype4|}}}|[[Category:{{NS_CATEGORY}}-Places-{{ucfirst:{{{oretype4}}}}}_Veins]]}}<!-- |
− | -->{{#if:{{{oretype7|}}}|[[Category:{{ | + | -->{{#if:{{{oretype5|}}}|[[Category:{{NS_CATEGORY}}-Places-{{ucfirst:{{{oretype5}}}}}_Veins]]}}<!-- |
− | -->{{#if:{{{alchemy|}}}|[[Category:{{ | + | -->{{#if:{{{oretype6|}}}|[[Category:{{NS_CATEGORY}}-Places-{{ucfirst:{{{oretype6}}}}}_Veins]]}}<!-- |
− | -->{{#if:{{{enchanting|}}}|[[Category:{{ | + | -->{{#if:{{{oretype7|}}}|[[Category:{{NS_CATEGORY}}-Places-{{ucfirst:{{{oretype7}}}}}_Veins]]}}<!-- |
− | -->{{#if:{{{tanning|}}}|[[Category:{{ | + | -->{{#if:{{{alchemy|}}}|[[Category:{{NS_CATEGORY}}-Places-Alchemy_Labs]]}}<!-- |
− | -->{{#if:{{{smelter|}}}|[[Category:{{ | + | -->{{#if:{{{enchanting|}}}|[[Category:{{NS_CATEGORY}}-Places-Arcane_Enchanters]]}}<!-- |
− | -->{{#if:{{{forge|}}}|[[Category:{{ | + | -->{{#if:{{{tanning|}}}|[[Category:{{NS_CATEGORY}}-Places-Tanning_Racks]]}}<!-- |
− | -->{{#if:{{{grindstone|}}}|[[Category:{{ | + | -->{{#if:{{{smelter|}}}|[[Category:{{NS_CATEGORY}}-Places-Smelters]]}}<!-- |
− | -->{{#if:{{{workbench|}}}|[[Category:{{ | + | -->{{#if:{{{forge|}}}|[[Category:{{NS_CATEGORY}}-Places-Forges]]}}<!-- |
− | -->{{#if:{{{cooking|}}}|[[Category:{{ | + | -->{{#if:{{{grindstone|}}}|[[Category:{{NS_CATEGORY}}-Places-Grindstones]]}}<!-- |
− | -->{{#if:{{{clay|}}}|[[Category:{{ | + | -->{{#if:{{{workbench|}}}|[[Category:{{NS_CATEGORY}}-Places-Workbenches]]}}<!-- |
− | -->{{#if:{{{stone|}}}|[[Category:{{ | + | -->{{#if:{{{cooking|}}}|[[Category:{{NS_CATEGORY}}-Places-Cooking Pots]]}}<!-- |
− | -->{{#if:{{{amethyst|}}}|[[Category:{{ | + | -->{{#if:{{{clay|}}}|[[Category:{{NS_CATEGORY}}-Places-Clay Deposits]]}}<!-- |
− | -->{{#if:{{{emerald|}}}|[[Category:{{ | + | -->{{#if:{{{stone|}}}|[[Category:{{NS_CATEGORY}}-Places-Stone Quarries]]}}<!-- |
− | -->{{#if:{{{ruby|}}}|[[Category:{{ | + | -->{{#if:{{{amethyst|}}}|[[Category:{{NS_CATEGORY}}-Places-Amethyst Geodes]]}}<!-- |
− | -->{{#if:{{{sapphire|}}}|[[Category:{{ | + | -->{{#if:{{{emerald|}}}|[[Category:{{NS_CATEGORY}}-Places-Emerald Geodes]]}}<!-- |
− | -->{{#if:{{{heartstone|}}}|[[Category:{{ | + | -->{{#if:{{{ruby|}}}|[[Category:{{NS_CATEGORY}}-Places-Ruby Geodes]]}}<!-- |
− | -->{{#if:{{{stalhrim|}}}|[[Category:{{ | + | -->{{#if:{{{sapphire|}}}|[[Category:{{NS_CATEGORY}}-Places-Sapphire Geodes]]}}<!-- |
− | -->{{#if:{{{wordwall|}}}|[[Category:{{ | + | -->{{#if:{{{heartstone|}}}|[[Category:{{NS_CATEGORY}}-Places-Heart Stone Deposits]]}}<!-- |
− | -->{{#if:{{{clearable|}}}|{{#ifeq:{{lc:{{{clearable}}}}}|no||[[Category:{{ | + | -->{{#if:{{{stalhrim|}}}|[[Category:{{NS_CATEGORY}}-Places-Stalhrim Deposits]]}}<!-- |
− | -->{{#ifeq:{{lc:{{{respawn|}}}}}|never|[[Category:{{ | + | -->{{#if:{{{wordwall|}}}|[[Category:{{NS_CATEGORY}}-Places-Word Walls]]}}<!-- |
− | -->{{#if:{{{discoverable|}}}|{{#ifeq:{{lc:{{{discoverable}}}}}|no||[[Category:{{ | + | -->{{#if:{{{clearable|}}}|{{#ifeq:{{lc:{{{clearable}}}}}|no||[[Category:{{NS_CATEGORY}}-Places-Clearable]]}}}} <!-- |
− | -->__NOTOC__ | + | -->{{#ifeq:{{lc:{{{respawn|}}}}}|never|[[Category:{{NS_CATEGORY}}-Places-Safe]]}}<!-- |
+ | -->{{#if:{{{discoverable|}}}|{{#ifeq:{{lc:{{{discoverable}}}}}|no||[[Category:{{NS_CATEGORY}}-Places-Discoverable]]}}|{{#if:{{{marker_id|}}}|[[Category:{{NS_CATEGORY}}-Places-Discoverable]]}}}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->__NOTOC__<cleantable> | ||
{| class="wikitable infobox" style="width:25%" | {| class="wikitable infobox" style="width:25%" | ||
!colspan=2| | !colspan=2| | ||
{| class="hiddentable" style="width:100%" | {| class="hiddentable" style="width:100%" | ||
{{#if:{{{marker_icon|}}}|{{!}} style="vertical-align:top" {{!}} [[File:{{{marker_icon}}}|left]]}} | {{#if:{{{marker_icon|}}}|{{!}} style="vertical-align:top" {{!}} [[File:{{{marker_icon}}}|left]]}} | ||
− | | style="width:100%" | {{{type}}}:<br>{{{titlename | + | | style="width:100%" | {{{type}}}:<br>{{{titlename}}}{{#if:{{{linkline|}}}|<br>{{{linkline}}}}} |
|} | |} | ||
|- | |- | ||
− | + | ! Added by Add-On | |
− | ! Added by | + | | {{{mod|}}} |
− | + | ||
|- | |- | ||
− | |||
! # of Zones | ! # of Zones | ||
− | + | | {{{zones|}}} | |
|- | |- | ||
− | + | {{#include:{{FULLPAGENAME0}}/{{NS_PARENT}} {{{type}}}|if={{{type|}}}}} | |
|- | |- | ||
− | {{# | + | {{#include:{{FULLPAGENAME0}}/{{NS_PARENT}}}} |
− | + | ||
− | {{ | + | |
|- | |- | ||
− | {{ | + | !{{{jobtitle1|{{{propname|{{{propheader}}}}}}}}} |
− | + | |{{{job1|{{{prop|}}}}}} | |
− | {{ | + | |
|- | |- | ||
− | + | !{{{jobtitle2|{{{propheader}}}}}} | |
− | ! | + | |{{{job2|}}} |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | {{ | + | !{{{jobtitle3|{{{propheader}}}}}} |
− | + | |{{{job3|}}} | |
− | {{ | + | |
|- | |- | ||
− | + | !{{{jobtitle4|{{{propheader}}}}}} | |
− | !{{{ | + | |{{{job4|}}} |
− | + | ||
|- | |- | ||
− | + | !{{{jobtitle5|{{{propheader}}}}}} | |
− | !{{{ | + | |{{{job5|}}} |
− | {{ | + | |
|- | |- | ||
− | {{# | + | {{#include:{{FULLPAGENAME0}}/{{NS_PARENT}} Services}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
{{#if:{{{occupants|}}}| | {{#if:{{{occupants|}}}| | ||
{{!}}- | {{!}}- | ||
− | !colspan=2{{!}} Occupants | + | !colspan=2{{!}} {{#ifeq:{{NS_PARENT}}|Oblivion|[[Oblivion:Dungeons#Occupants|Occupants]]|Occupants}} |
{{!}}- | {{!}}- | ||
{{!}}colspan=2 style="text-align:center;"{{!}}{{#if:1|{{{occupants|}}}}}}}{{#if:{{{treasure|}}}|  | {{!}}colspan=2 style="text-align:center;"{{!}}{{#if:1|{{{occupants|}}}}}}}{{#if:{{{treasure|}}}|  | ||
Line 149: | Line 146: | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align:center;"{{!}}{{{treasure}}}}} | {{!}} colspan=2 style="text-align:center;"{{!}}{{{treasure}}}}} | ||
+ | |- | ||
+ | !{{{destheader}}} | ||
+ | |{{#if:{{{dest1|}}}|*{{Autolink|{{{dest1}}}}}  | ||
+ | }}{{#if:{{{dest2|}}}|*{{Autolink|{{{dest2}}}}}  | ||
+ | }}{{#if:{{{dest3|}}}|*{{Autolink|{{{dest3}}}}}  | ||
+ | }}{{#if:{{{dest4|}}}|*{{Autolink|{{{dest4}}}}}}} | ||
|- | |- | ||
{{#ifeq:{{{locationcode|}}}|none||  | {{#ifeq:{{{locationcode|}}}|none||  | ||
Line 155: | Line 158: | ||
{{!}}colspan=2 style="text-align:center;"{{!}}<small>{{{locationcode|Unknown {{huh}}}}}</small> | {{!}}colspan=2 style="text-align:center;"{{!}}<small>{{{locationcode|Unknown {{huh}}}}}</small> | ||
{{!}}-}}{{#if:{{{region|}}}|  | {{!}}-}}{{#if:{{{region|}}}|  | ||
− | !colspan=2{{!}}{{ | + | !colspan=2{{!}}{{{regionheader}}} |
{{!}}- | {{!}}- | ||
{{!}}colspan=2 style="text-align:center;"{{!}}{{Autolink|{{{region}}}}}{{#if:{{{region2|}}}|, {{Autolink|{{{region2}}}}}}}{{#if:{{{region3|}}}|, {{Autolink|{{{region3}}}}}}}{{#if:{{{coords|}}}|, {{nowrap|{{{coords}}}}}}} | {{!}}colspan=2 style="text-align:center;"{{!}}{{Autolink|{{{region}}}}}{{#if:{{{region2|}}}|, {{Autolink|{{{region2}}}}}}}{{#if:{{{region3|}}}|, {{Autolink|{{{region3}}}}}}}{{#if:{{{coords|}}}|, {{nowrap|{{{coords}}}}}}} | ||
Line 163: | Line 166: | ||
{{!}}colspan=2 style="text-align:center;"{{!}}{{{location|}}}}} | {{!}}colspan=2 style="text-align:center;"{{!}}{{{location|}}}}} | ||
|- | |- | ||
− | {{# | + | {{#include:{{FULLPAGENAME0}}/{{NS_PARENT}} Other}} |
− | + | |}</cleantable>{{#if:{{{image|}}}|[[Image:{{{image}}}|thumb|left|{{{imgdesc|}}}]]}}{{{addabove|}}} {{#if:{{{description|}}}|'''{{{titlename}}}''' {{#if:{{{is/are|}}}|are|is}} {{lcfirst:{{{description}}}}} |{{huh|nosup=1|'''{{FC|red|Please add a description for}} {{{titlename}}}.'''}}}} {{{addbelow|}}}</includeonly><noinclude>{{/Doc}}</noinclude> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |