تغييرات

قالب:Place Link/Doc

تم إضافة ٢٬٠٨٨ بايت, ٠٠:٠٩، ٨ سبتمبر ٢٠١٨
not just MW and OB
== Summary ==
This template creates a link to the given place page. The format is appropriate for a list of places, and includes the place description and a map link. The place description is taken from the <code>description</code> parameter provided in the place's [[Template:Place Summary|Place Summary]] template. For Morrowind, Bloodmoon, Oblivion, Shivering Isles, Skyrim, Dragonborn, and ESO places, a map link is automatically generated unless <code>mapname=none</code> is specified.

== Parameters ==
{{Parameters
|1|required|Place page name.
|2|optional|Name to display. Defaults to <code>place</code> stripped of any parenthetical text (e.g., "Weynon Priory (place)" becomes "Weynon Priory").
|mapname|optional|Name to use for map link. Defaults to the saved <code>mapname</code> for the location, or <code>place</code> stripped as above if there is no saved <code>mapname</code>. Set to "none" for no map link.
|mod|optional|Two letter code for a mod/add-on. Will display the tag for it immediately after the link.
|ns_base|optional|Namespace of the game being referenced. If not provided, the current namespace will be used.
|nolink|optional|Set to any value to disable linking when the link would redirect back to the current page.
|!|Loaded Parameters|
|description<br>marker_icon<br>settlement<br>zone|optional|In addition to the parameters listed above, these parameters are loaded from the relevant page's {{tl|Place Summary}}, but can be overridden if needed. For Elder Scrolls Online maps, specifying the zone is useful for locations that exist in more than one zone.
}}

== Examples ==
=== Simple ===
<pre>{{Place Link|Cloud Ruler Temple}}</pre>
{{Place Link|Cloud Ruler Temple|ns_base=Oblivion}}

=== Altname and No Map ===
<pre>{{Place Link|Dareloth's House|Guildmaster's Quarters|mapname=none|ns_base=Oblivion}}</pre>
{{Place Link|Dareloth's House|Guildmaster's Quarters|mapname=none|ns_base=Oblivion}}

<includeonly>[[Category:Link Templates]][[Category:MetaTemplate-Templates Using Load]]</includeonly><noinclude>[[Category:Template Documentation]]</noinclude>
٣٧٬٦٢٢
٣٧٬٦٢٢ تعديلا