Template:Country showdata: Difference between revisions

use new parser function to render protection template (padlock icon) automatically
(test new parser function)
(use new parser function to render protection template (padlock icon) automatically)
Line 1:
<noinclude>{{pp-semi-template|small=yes}}</noinclude><includeonly>
__NOEDITSECTION__
{{#switch: {{PROTECTIONLEVEL:edit}} | sysop={{pp-template|small=yes}} | autoconfirmed={{pp-semi-template|small=yes}} }}
{{country data protected|{{{templatename|{{{alias}}}}}}}}
<div class="template-documentation">
<div style="font-size: 1.5em; border-bottom: 1px solid #aaa;"><span class="mw-headline">Template documentation</span></div>
''This is the documentation for '''Template:{{PAGENAME}}'''. It is automatically generated by [[Template:Country showdata]]''
 
Protection status is {{PROTECTIONLEVEL:edit}}.
 
<tt>Template:{{PAGENAME}}</tt> is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as <tt>[[Template:flag|flag]]</tt>, <tt>[[Template:flagicon|flagicon]]</tt>, and others.
Anonymous user