Difference between revisions of "Template:Country showdata"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
(adding params for related) |
|||
Line 95: | Line 95: | ||
===Related templates=== | ===Related templates=== | ||
Please see the following related <tt>country_data</tt> templates: | Please see the following related <tt>country_data</tt> templates: | ||
− | * [[Template:Country data {{{related1}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related1}}}}}</span><!-- | + | * [[Template:Country data {{{related1}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related1}}}{{#if:{{{related1param|}}}|{{!}}{{{related1param}}}}}}}</span><!-- |
-->{{#if: {{{related2|}}} | | -->{{#if: {{{related2|}}} | | ||
− | * [[Template:Country data {{{related2}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related2}}}}}</span> }}<!-- | + | * [[Template:Country data {{{related2}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related2}}}{{#if:{{{related2param|}}}|{{!}}{{{related2param}}}}}}}</span> }}<!-- |
-->{{#if: {{{related3|}}} | | -->{{#if: {{{related3|}}} | | ||
− | * [[Template:Country data {{{related3}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related3}}}}}</span> }}<!-- | + | * [[Template:Country data {{{related3}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related3}}}{{#if:{{{related3param|}}}|{{!}}{{{related3param}}}}}}}</span> }}<!-- |
-->{{#if: {{{related4|}}} | | -->{{#if: {{{related4|}}} | | ||
− | * [[Template:Country data {{{related4}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related4}}}}}</span> }}<!-- | + | * [[Template:Country data {{{related4}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related4}}}{{#if:{{{related4param|}}}|{{!}}{{{related4param}}}}}}}</span> }}<!-- |
-->{{#if: {{{related5|}}} | | -->{{#if: {{{related5|}}} | | ||
− | * [[Template:Country data {{{related5}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related5}}}}}</span> }}<!-- | + | * [[Template:Country data {{{related5}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related5}}}{{#if:{{{related5param|}}}|{{!}}{{{related5param}}}}}}}</span> }}<!-- |
-->{{#if: {{{related6|}}} | | -->{{#if: {{{related6|}}} | | ||
− | * [[Template:Country data {{{related6}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related6}}}}}</span> }}<!-- | + | * [[Template:Country data {{{related6}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related6}}}{{#if:{{{related6param|}}}|{{!}}{{{related6param}}}}}}}</span> }}<!-- |
-->}} | -->}} | ||
{{#ifexist:{{FULLPAGENAME}}/doc | | {{#ifexist:{{FULLPAGENAME}}/doc | | ||
Line 119: | Line 119: | ||
}} | }} | ||
}} | }} | ||
− | |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 | + | |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. | + | |<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 | |{{#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 />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. |
}} | }} | ||
}} | }} |
Revision as of 13:40, 15 August 2012
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. |