Template:Country showdata: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Illegitimate Barrister
No edit summary
meta>Illegitimate Barrister
No edit summary
Line 108: Line 108:
{{#if: {{{flag alias-military|}}} |
{{#if: {{{flag alias-military|}}} |
This template includes a marine ensign flag variant that can be used with [[Template:Armed forces]]:
This template includes a marine ensign flag variant that can be used with [[Template:Armed forces]]:
* <code><nowiki>{{military|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{military|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{Armed forces|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Armed forces|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|military}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|military}}
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|military}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|military}}
| {{#if: {{{link alias-military|}}} |
| {{#if: {{{link alias-military|}}} |
This nation's military ensign is the same as its national flag, so [[Template: Armed forces]] produces the following:
This nation's military ensign is the same as its national flag, so [[Template: Armed forces]] produces the following:
* <code><nowiki>{{military|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{military|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{Armed forces|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Armed forces|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
}}}}
}}}}
{{#if: {{{flag alias-navy|}}} |
{{#if: {{{flag alias-navy|}}} |

Revision as of 07:05, 14 February 2018