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
Line 5: Line 5:


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: Sources]]
[[Category: Reference templates]]
[[Category: Reference templates]]

Revision as of 11:09, 18 August 2014

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')
  • {Template: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