Template:Flagdeco: Difference between revisions
From Chalo Chatu, Zambia online encyclopedia
m (1 revision imported) |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{country data {{{1|}}}|flagdeco/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude>{{ | <includeonly>{{#ifeq: {{Yesno-no|{{{noredlink|}}}}}|yes<!-- | ||
-->|<!-- | |||
#Check for existence of Template: Country data foo before invoking it | |||
-->{{#ifexist: Template: Country data {{{1|}}}<!-- | |||
-->|<!-- | |||
# It exists, so proceed | |||
-->{{country data {{{1|}}}|flagdeco/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<!-- | |||
-->|<!-- | |||
# It doesn't exist, so do nothing | |||
-->}}<!-- | |||
-->|<!-- | |||
# DEFAULT call Template: Country data {{{1|}}} | |||
# with no prior checks | |||
-->{{country data {{{1|}}}|flagdeco/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<!-- | |||
# Track use where "Template:Country data Foo" does not exist | |||
-->{{#ifexist: Template:Country data {{{1|}}}||{{namespace detect showall | |||
| 1 = | |||
| 2 = [[Category:Flagdeco with missing country data templates]] | |||
| user = 1 | |||
| talk = 1 | |||
| other = 2 | |||
}}}}<!-- | |||
-->}}</includeonly><noinclude> | |||
{{Documentation}} | |||
</noinclude> |
Latest revision as of 13:12, 22 September 2019
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation[create]