Difference between revisions of "Template:Map ref"

From The Coppermind
Jump to navigation Jump to search
(Created page with "<includeonly>{{#tag:ref<!-- TEXT -->|{{{pre|}}}[[:file:{{map|{{{1}}}|}}|{{{text|Map of {{{2|{{{1}}}|}}}|}}}]]{{{post|}}}<!-- NAME -->|name={{{name|{{{page|{{{1}}}|}}}|}}}<!-...")
 
m (Text replacement - "Category: Sources [[" to "[[")
 
(5 intermediate revisions by one other user not shown)
Line 2: Line 2:
   
 
TEXT
 
TEXT
  +
-->|<!--
-->|{{{pre|}}}[[:file:{{map|{{{1}}}|}}|{{{text|Map of {{{2|{{{1}}}|}}}|}}}]]{{{post|}}}<!--
 
  +
  +
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
  +
 
-->[[:file:{{map|{{{1}}}|}}|{{{text|Map of {{{2|{{{1}}}|}}}|}}}]]<!--
  +
  +
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
   
 
NAME
 
NAME
-->|name={{{name|{{{page|{{{1}}}|}}}|}}}<!--
+
-->|name={{{name|{{map|{{{1}}}|}}|}}}<!--
   
 
GROUP
 
GROUP
 
-->|group={{{group|}}}<!--
 
-->|group={{{group|}}}<!--
   
-->}}</includeonly><noinclude>A reference which includes a link to a map file (see {{t|map}}.
+
-->}}</includeonly><noinclude>This template is used to refer to in-world maps. It uses {{t|map}} to find the map file name.
  +
  +
To use, include {{t|map ref|location|alt-name}}
  +
* {{{2}}} replaces the place text (for example {{t|map|Final Empire|the Final Empire}} will show 'Map of the Final Empire')
  +
* {{{text}}} replaces the whole link text
  +
* {{{pre}}} is included before the link
  +
* {{{post}}} is included after the link
  +
* {{{name}}} replaces {{t|map|{{{1}}}|}} as the reference name
  +
* {{{group}}} sets the reference group
   
 
[[Category: Reference templates]]
 
[[Category: Reference templates]]
  +
[[category: maps]]
  +
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Latest revision as of 05:42, 22 May 2022

This template is used to refer to in-world maps. It uses {{map}} to find the map file name.

To use, include {{map ref|location|alt-name}}

  • {{{2}}} replaces the place text (for example {{map|Final Empire|the Final Empire}} will show 'Map of the Final Empire')
  • {{{text}}} replaces the whole link text
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces {{map|{{{1}}}}} as the reference name
  • {{{group}}} sets the reference group

Articles using Template[edit]