Template:TagKey/sandbox: Difference between revisions

From OpenStreetMap Wiki
Jump to navigation Jump to search
Content deleted Content added
Minh Nguyen (talk | contribs)
Copied from Template:TagKey (1514233)
 
Minh Nguyen (talk | contribs)
Migrated to Module:Tag
 
Line 1: Line 1:
<includeonly><tt style="background:#EEF;font-size:1em;line-height:1.6;white-space:nowrap" dir="ltr" class="mw-content-ltr"><!--
<tt style="background:#EEF;font-size:1em;line-height:1.6;white-space:nowrap" dir="ltr" class="mw-content-ltr">{{#invoke:tag|key<noinclude>|removed|:=flag:type</noinclude>}}</tt><noinclude>{{Documentation}}</noinclude>
Which style of key linking do we have?
-->{{#if: {{{:|}}}
| <!--
Type 1: Each key part is separately linked.
-->[[{{TagPagename
| lang = {{{kl|{{{lang|}}}}}}
| 1 = {{{1<noinclude>|name</noinclude>}}}
}}<!--
-->|{{{1<noinclude>|name</noinclude>}}}<!--
-->]]<!--
-->:<!--
-->[[{{TagPagename
| lang = {{{kl:|{{{lang|}}}}}}
| 1 = {{{:|}}}
}}<!--
-->|{{{:|}}}<!--
-->]]<!--
-->{{#if: {{{::|}}}
| <nowiki />:<!--
-->[[{{TagPagename
| lang = {{{kl::|{{{lang|}}}}}}
| 1 = {{{::|}}}
}}<!--
-->|{{{::|}}}<!--
-->]]
}}
| <!--
Type 2: Whole key is linked to main key page.
-->[[{{TagPagename
| lang = {{{kl|{{{lang|}}}}}}
| 1 = {{{1<noinclude>|name</noinclude>}}}
}}<!--
-->|{{{1<noinclude>|name</noinclude>}}}<!--
-->{{#if: {{{subkey|}}}
| <nowiki />:<!--
-->{{{subkey|}}}<!--
-->{{#if: {{{subkey2|}}}
| <nowiki />:<!--
-->{{{subkey2|}}}
}}
}}<!--
-->]]
}}</tt></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 15:27, 25 April 2024

removed:flag:type