Difference between revisions of "Template:Place tag"

From The Coppermind
Jump to navigation Jump to search
m (+css)
m
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}}}<!--
 
--->}}<!--
 
--->}}<!--

Revision as of 22:11, 8 March 2024

{{tag|class=cm-place-tag|{{{1}}}|text={{{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