Difference between revisions of "Template:Place tag"

From The Coppermind
Jump to navigation Jump to search
(+spaces)
m (Oops)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{tag<!--
+
{{tag|class=cm-place-tag<!--
-->|{{#if:{{toponym|{{{1}}}|}}<!--
+
-->|{{#if:{{toponym|{{{1}}}}}<!--
---->|{{toponym|{{{1}}}|}}<!--
+
---->|{{toponym|{{{1}}}|link=y}}<!--
  +
---->|{{{1}}}<!--
  +
--->}}<!--
  +
-->|text={{#if:{{toponym|{{{1}}}}}<!--
  +
---->|{{ucfirst:{{toponym|{{{1}}}}}}}<!--
  +
---->|{{{1}}}<!--
  +
--->}}<!--
  +
-->|cat={{#if:{{toponym|{{{1}}}}}<!--
  +
---->|{{toponym|{{{1}}}}}<!--
 
---->|{{{1}}}<!--
 
---->|{{{1}}}<!--
 
--->}}<!--
 
--->}}<!--
Line 9: Line 17:
   
 
[[Category: Link macros]]
 
[[Category: Link macros]]
  +
  +
== 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 22:13, 8 March 2024

[[{{{1}}}|{{{1}}}]][[Category:{{{1}}}]]

This template tries to find the toponym for {{{1}}} and then tags it with that. It defaults to {{tag}} if no toponym is found.

Articles using Template[edit]