Template:Country showdata: Difference between revisions

protect Category calls with namespace tests
(relatedXparam does not work)
(protect Category calls with namespace tests)
Line 111:
{{{{FULLPAGENAME}}/doc}}
}}
{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!--
-->[[Category:Country data templates|{{{templatename|{{{alias}}}}}}]]<!--
-->{{#if:{{{shortname alias|}}}|<!--
|[[Category:Country data templates with distinct shortname|{{{templatename|{{{alias}}}}}}]]
}}{{#ifeq -->[[Category:{{PAGENAME}}|Country data templates with distinct shortname|{{{templatename|{{{alias}}}|}}}]]<!--
-->}}<!--
|{{#ifeq: {{PAGENAME}}|Country data {{{shortname alias}}}|
-->{{#ifeq:{{PAGENAME}}|Country data {{{alias}}}||<!--
|[[Category:Country data templates with distinct template name]]
| -->{{#ifeq: {{PAGENAME}}|Country data {{{shortname alias}}}||<!--
}}
| -->[[Category:Country data templates with distinct shortname|{{{templatename|{{{alias}}}}}}template name]]<!--
}}
-->}}<!--
|link box=This is the documentation for '''Template:{{PAGENAME}}'''. It is automatically generated by [[Template:Country showdata]].<br />Please {{purge|purge the cache}} after making any changes to this template.{{#ifexist:{{FULLPAGENAME}}/doc
-->}}<!--
|<br />This template has a [[{{FULLPAGENAME}}/doc|/doc]] subpage for the purposes of [[WP:CAT|categories]], [[H:ILL|interlanguage links]] and documentation specific to this template.
-->}}
|{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop
|link box=This is the documentation for '''Template:{{PAGENAME}}'''. It is automatically generated by [[Template:Country showdata]].<br />Please {{purge|purge the cache}} after making any changes to this template.{{#ifexist:{{FULLPAGENAME}}/doc<!--
|<br />This template is [[WP:PROTECT|fully protected]] and any [[WP:CAT|categories]] and [[H:ILL|interlanguage links]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage, which is not protected. |<br />Any [[WP:CAT|categories]] and [[H:ILL|interlanguage links]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage, which does not exist yet.
-->{{#ifexist:{{FULLPAGENAME}}/doc|<!--
}}
| --><br />This template has a [[{{FULLPAGENAME}}/doc|/doc]] subpage for the purposes of [[WP:CAT|categories]], [[H:ILL|interlanguage links]] and documentation specific to this template.|<!--
}}
| -->{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|<!--
| --><br />This template is [[WP:PROTECT|fully protected]] and any [[WP:CAT|categories]] and [[H:ILL|interlanguage links]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage, which is not protected. |<br />Any [[WP:CAT|categories]] and [[H:ILL|interlanguage links]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage, which does not exist yet.!--
--><br />Any [[WP:CAT|categories]] and [[H:ILL|interlanguage links]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage, which does not exist yet.<!--
-->}}<!--
-->}}
}}</includeonly><noinclude>
{{documentation}}
Anonymous user