Difference between revisions of "Template:Country showdata"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
(Tracking category for data templates with no or empty flag alias parameter) |
(Categorize sandboxes only in Category:Country data template sandboxes) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 28: | Line 28: | ||
===Flag variants=== | ===Flag variants=== | ||
{{#if:{{{flag link|}}} | {{details|{{{flag link}}}}} | {{#ifexist: Flag of {{{alias}}} | {{details|Flag of {{{alias}}}}} | }} }} | {{#if:{{{flag link|}}} | {{details|{{{flag link}}}}} | {{#ifexist: Flag of {{{alias}}} | {{details|Flag of {{{alias}}}}} | }} }} | ||
+ | {{#ifeq:{{{variant|♦}}}|♦|{{red|Note: These variants cannot be used unless the line <code>{{!}} variant {{=}} {{(((}}variant{{!}}{{)))}}</code> is added to this template.}}}} | ||
<table class="wikitable"> | <table class="wikitable"> | ||
<tr><th>Label</th><th>Flag image (40px)</th><th>Image name</th></tr> | <tr><th>Label</th><th>Flag image (40px)</th><th>Image name</th></tr> | ||
Line 162: | Line 163: | ||
{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!-- | {{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!-- | ||
+ | -->{{#ifeq:{{SUBPAGENAME}}|sandbox|<!-- | ||
+ | -->[[Category:Country data template sandboxes|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]|<!-- | ||
+ | -->{{#ifexist:{{FULLPAGENAME}}/doc|<!-- | ||
+ | -->[[Category:Country data templates with documentation subpage|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]|<!-- | ||
+ | -->[[Category:Uncategorized country data templates|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if:{{{size|}}}|[[Category:Country data templates with distinct default size|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!-- | ||
+ | -->}}<!-- | ||
-->[[Category:All country data templates|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!-- | -->[[Category:All country data templates|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!-- | ||
-->{{#if:{{{shortname alias|}}}|<!-- | -->{{#if:{{{shortname alias|}}}|<!-- | ||
-->[[Category:Country data templates with distinct shortname|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!-- | -->[[Category:Country data templates with distinct shortname|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!-- | ||
− | + | -->}}<!-- | |
-->{{#ifeq:{{PAGENAME}}|Country data {{{alias}}}||<!-- | -->{{#ifeq:{{PAGENAME}}|Country data {{{alias}}}||<!-- | ||
-->{{#ifeq:{{PAGENAME}}|Country data {{{shortname alias}}}||<!-- | -->{{#ifeq:{{PAGENAME}}|Country data {{{shortname alias}}}||<!-- | ||
-->[[Category:Country data templates with distinct template name|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!-- | -->[[Category:Country data templates with distinct template name|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!-- | ||
− | + | -->}}<!-- | |
− | + | -->{{#if:{{{flag alias|}}}||<!-- | |
-->[[Category:Country data templates without flag alias|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}]]<!-- | -->[[Category:Country data templates without flag alias|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}]]<!-- | ||
− | + | -->}}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- |
Revision as of 16:54, 15 March 2016
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |