Difference between revisions of "Template:Place tag"

From The Coppermind
Jump to navigation Jump to search
(+spaces)
m (+css)
(2 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 link|{{{1}}}|}}<!--
  +
---->|{{{1}}}<!--
  +
--->}}<!--
  +
-->|text={{#if:{{toponym|{{{1}}}|}}<!--
  +
---->|{{ucfirst:{{toponym|{{{1}}}|}}}}<!--
 
---->|{{{1}}}<!--
 
---->|{{{1}}}<!--
 
--->}}<!--
 
--->}}<!--
Line 9: Line 13:
   
 
[[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}}

Revision as of 20:04, 7 May 2020

[[{{{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