Difference between revisions of "Template:Country showdata"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(relatedXparam does not work)
(protect Category calls with namespace tests)
Line 111: Line 111:
 
{{{{FULLPAGENAME}}/doc}}
 
{{{{FULLPAGENAME}}/doc}}
 
}}
 
}}
[[Category:Country data templates|{{{templatename|{{{alias}}}}}}]]
+
{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!--
{{#if:{{{shortname alias|}}}
+
  -->[[Category:Country data templates|{{{templatename|{{{alias}}}}}}]]<!--
|[[Category:Country data templates with distinct shortname|{{{templatename|{{{alias}}}}}}]]
+
  -->{{#if:{{{shortname alias|}}}|<!--
}}{{#ifeq:{{PAGENAME}}|Country data {{{alias}}}|
+
    -->[[Category:Country data templates with distinct shortname|{{{templatename|{{{alias}}}}}}]]<!--
|{{#ifeq: {{PAGENAME}}|Country data {{{shortname alias}}}|
+
  -->}}<!--
  |[[Category:Country data templates with distinct template name]]
+
  -->{{#ifeq:{{PAGENAME}}|Country data {{{alias}}}||<!--
}}
+
    -->{{#ifeq: {{PAGENAME}}|Country data {{{shortname alias}}}||<!--
}}
+
      -->[[Category:Country data templates with distinct 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
+
-->}}
  |<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.
+
|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|<!--
 +
    --><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.<!--
 +
  -->}}<!--
 +
-->}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 14:48, 15 August 2012

Documentation icon Template documentation[create]