Difference between revisions of "Template:Map ref"

From The Coppermind
Jump to navigation Jump to search
m (+cat)
m (Text replacement - "Category: Sources [[" to "[[")
 
(2 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
Line 20: Line 26:
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
   
[[Category: Sources]]
 
 
[[Category: Reference templates]]
 
[[Category: Reference templates]]
 
[[category: maps]]
 
[[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]