Template:Country showdata: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>S.A. Julio
m {{break}}
meta>S.A. Julio
m unnecessary for first instance
Line 83: Line 83:
{{#if: {{{flag alias-naval|}}}{{{link alias-naval|}}}{{{flag alias-air force|}}}{{{link alias-air force|}}}{{{flag alias-space force|}}}{{{link alias-space force|}}}{{{flag alias-army|}}}{{{link alias-army|}}}{{{flag alias-coast guard|}}}{{{link alias-coast guard|}}}{{{flag alias-military|}}}{{{link alias-military|}}}{{{flag alias-marines|}}}{{{link alias-marines|}}} |
{{#if: {{{flag alias-naval|}}}{{{link alias-naval|}}}{{{flag alias-air force|}}}{{{link alias-air force|}}}{{{flag alias-space force|}}}{{{link alias-space force|}}}{{{flag alias-army|}}}{{{link alias-army|}}}{{{flag alias-coast guard|}}}{{{link alias-coast guard|}}}{{{flag alias-military|}}}{{{link alias-military|}}}{{{flag alias-marines|}}}{{{link alias-marines|}}} |
===Military ensigns===
===Military ensigns===
{{#if: {{{flag alias-naval|}}} |{{break}}
{{#if: {{{flag alias-naval|}}} |
This template includes a naval ensign flag variant that can be used with [[Template:Navy]]:
This template includes a naval ensign flag variant that can be used with [[Template:Navy]]:
* <code><nowiki>{{navy|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{navy|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{navy|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{navy|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|naval}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|naval}}
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|naval}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|naval}}
| {{#if: {{{link alias-naval|}}} |{{break}}
| {{#if: {{{link alias-naval|}}} |
This nation's naval ensign is the same as its national flag, so [[Template:Navy]] produces the following:
This nation's naval ensign is the same as its national flag, so [[Template:Navy]] produces the following:
* <code><nowiki>{{navy|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{navy|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{navy|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{navy|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}

Revision as of 07:03, 17 May 2020