Template:Flagicon: Difference between revisions

m
1 revision imported
en>BrownHairedGirl
(use {{namespace detect showall}} to stop userpages and talk pages being categorised in Category:Flagicons with missing country data templates)
m (1 revision imported)
 
(6 intermediate revisions by 5 users not shown)
Line 1:
<includeonly>{{safesubst<noinclude />:#ifeq: {{Yesno-no|{{{noredlink|}}}}}|yes<noinclude><!--
--></noinclude>|<noinclude><!--
#Check for existence of Template: Country data foo before invoking it
--></noinclude>{{safesubst<noinclude />:#ifexist: Template: Country data {{{1|}}}<noinclude><!--
--></noinclude>|<noinclude><!--
# It exists, so proceed
--></noinclude>{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude><!--
--></noinclude>|<noinclude><!--
# It doesn't exist, so do nothing
--></noinclude>}}<noinclude><!--
--></noinclude>|<noinclude><!--
# DEFAULT call Template: Country data {{{1|}}}
# with no prior checks
--></noinclude>{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude><!--
# Track use where "Template:Country data Foo" does not exist
--></noinclude>{{safesubst<noinclude />:#ifexist: Template:Country data {{{1|}}}||{{safesubst<noinclude />:namespace detect showall
| 1 =
| 2 = [[Category:Flagicons with missing country data templates]]
Line 20:
| talk = 1
| other = 2
}}}}<noinclude><!--
--></noinclude>}}</includeonly>{{safesubst<noinclude />:#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using flagicon template with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Flagicon]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | noredlink | size | variant }}<noinclude>
-->}}</includeonly><noinclude>
{{DEFAULTSORT:Law by year}}
{{Documentation}}
</noinclude>
verified
5,307

edits