Difference between revisions of "Template:Place tag"

From The Coppermind
Jump to navigation Jump to search
m (+css)
m (Oops)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{tag|class=cm-place-tag<!--
 
{{tag|class=cm-place-tag<!--
-->|{{#if:{{toponym|{{{1}}}|}}<!--
+
-->|{{#if:{{toponym|{{{1}}}}}<!--
---->|{{toponym link|{{{1}}}|}}<!--
+
---->|{{toponym|{{{1}}}|link=y}}<!--
 
---->|{{{1}}}<!--
 
---->|{{{1}}}<!--
 
--->}}<!--
 
--->}}<!--
-->|text={{#if:{{toponym|{{{1}}}|}}<!--
+
-->|text={{#if:{{toponym|{{{1}}}}}<!--
---->|{{ucfirst:{{toponym|{{{1}}}|}}}}<!--
+
---->|{{ucfirst:{{toponym|{{{1}}}}}}}<!--
  +
---->|{{{1}}}<!--
  +
--->}}<!--
  +
-->|cat={{#if:{{toponym|{{{1}}}}}<!--
  +
---->|{{toponym|{{{1}}}}}<!--
 
---->|{{{1}}}<!--
 
---->|{{{1}}}<!--
 
--->}}<!--
 
--->}}<!--

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]