Template:Country showdata: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Illegitimate Barrister
No edit summary
meta>Illegitimate Barrister
added Navy
Line 74: Line 74:
-->{{#if: {{{flag alias-marines|}}} | <tr><td><code>marines</code></td><td style="text-align:center;">[[File:{{{flag alias-marines}}}|40px|{{{border-marines|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-marines}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-marines|}}} | <tr><td><code>marines</code></td><td style="text-align:center;">[[File:{{{flag alias-marines}}}|40px|{{{border-marines|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-marines}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-coast guard|}}} | <tr><td><code>coast guard</code></td><td style="text-align:center;">[[File:{{{flag alias-coast guard}}}|40px|{{{border-coast guard|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-coast guard}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-coast guard|}}} | <tr><td><code>coast guard</code></td><td style="text-align:center;">[[File:{{{flag alias-coast guard}}}|40px|{{{border-coast guard|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-coast guard}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-air force|}}} | <tr><td><code>air force</code></td><td style="text-align:center;">[[File:{{{flag alias-air force}}}|40px|{{{border-air force|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-air force}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-navy|}}} | <tr><td><code>navy</code></td><td style="text-align:center;">[[File:{{{flag alias-navy}}}|40px|{{{border-navy|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-navy}}}</code></td></tr> }}<!--
{{#if: {{{flag alias-air force|}}} | <tr><td><code>air force</code></td><td style="text-align:center;">[[File:{{{flag alias-air force}}}|40px|{{{border-air force|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-air force}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-army|}}} | <tr><td><code>army</code></td><td style="text-align:center;">[[File:{{{flag alias-army}}}|40px|{{{border-army|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-army}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-army|}}} | <tr><td><code>army</code></td><td style="text-align:center;">[[File:{{{flag alias-army}}}|40px|{{{border-army|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-army}}}</code></td></tr> }}<!--
--></table>
--></table>
Line 103: Line 104:
This nation's marine ensign is the same as its national flag, so [[Template:Marines]] produces the following:
This nation's marine ensign is the same as its national flag, so [[Template:Marines]] produces the following:
* <code><nowiki>{{marines|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{marines|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{marines|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{marines|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
}}}}
{{#if: {{{flag alias-navy|}}} |
This template includes a navy 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>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|navy}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|navy}}
| {{#if: {{{link alias-navy|}}} |
This nation's navy flag 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}}}}
}}}}
}}}}
{{#if: {{{flag alias-coast guard|}}} |
{{#if: {{{flag alias-coast guard|}}} |

Revision as of 01:24, 13 February 2018