User:Patrick/Country data Netherlands

Template:Country data Netherlands:

There are 1251 templates like this, see Category:Country data templates. The naming scheme is "Template:Country data index".

Included content
The template is called from more than 5000 pages.

The include-part of the template is:

referring to


 * alias: Netherlands
 * flag alias: File:Flag of the Netherlands.svg
 * flag alias-air force: File:NL-VLAG-Luchtmacht.svg
 * link alias-air force: Royal Netherlands Air Force
 * link alias-naval: Royal Netherlands Navy

Thus it contains five data items. It performs a call of a template of choice, and in addition it allows four parameters to be passed on to that template.

To retrieve a raw data item one can use parameter selection template Template:Pst name, for example:

gives.

Template:Country get alias2 contains

so apart from special cases it is the parameter selection template for parameter alias:



Template:Getalias contains

so apart from special cases it produces the value of alias stored in "Template:Country data ".



There is currently only one like this: Template:Get..

Template:Flag
Ca. 2500 templates alone link to Template:Flag. It effectively contains:

Effectively the call  becomes

Template:Country flag contains:

So we get:

As a result:



The link to the image description page is suppressed. To go to the image decription page we can:
 * in ExpandTemplates, copy the image tag from the expanded wikitext to the input box and disable "link=", and click the image in the preview.

Without name parameter, with  we get a call to Template:Country data NED with name=NED, redirecting to Template:Country data Netherlands, so the difference is that we now have name=NED.

Without name parameter, with  we get a call to Template:Flagcountry containing

so here parameter 1 is not the default for name. This produces again a call to Template:Country data NED with name=NED, redirecting to Template:Country data Netherlands, now calling Template:Country flagcountry2, containing:

so now with as default for name the parameter alias. Country codes: and  (which is a redirect to that) are equivalent to.

Template:Navy
Template:Navy effectively contains:

Effectively the call  becomes

Template:Country flagnavy contains:

So we get:

As a result:



The link to the image description page is suppressed,

Documentation
The content of Template:Country data Netherlands for rendering the page itself (the content except the includeonly part) is effectively:

af:Sjabloon:Landdata Nederland ml:ഫലകം:Country data Netherlands sl:Predloga:Podatki države Nizozemska

which is a call of Template:Country showdata, and interwiki links. That template automatically generates the documentation on the template page, and transcludes Template:Country data Netherlands/doc for additional documentation starting from "Other information".

It gives, without the latter:

Template: is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.



Standard parameters
{{#if: |

Flag variants
}} {{#if: Royal Netherlands NavyNL-VLAG-Luchtmacht.svg |

Military ensigns
}} {{#if: NLD |

Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template): }}

Example usage
{{#if: |
 *  🇳🇱 Netherlands  → 🇳🇱 Netherlands
 *  🇳🇱  → 🇳🇱

Using a flag variant
}} {{#if: NLD |
 *  🇳🇱 Netherlands  → 🇳🇱 Netherlands
 *  🇳🇱  → 🇳🇱

Using a redirect alias
}} {{#if: Kingdom of the Netherlands |
 *  🇳🇱  → 🇳🇱
 * <tt> 🇳🇱 netherlands </tt> → 🇳🇱 netherlands
 * <tt> 🇳🇱 NLD </tt> → 🇳🇱 NLD

Related templates
Please see the following related <tt>country_data</tt> templates:
 * Template:Country data Kingdom of the Netherlands Kingdom of the Netherlands

expanded to:

<tt>Template:</tt> is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as <tt>flag</tt>, <tt>flagicon</tt>, and others.



Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following: This template includes an air force ensign flag variant that can be used with Template:Air force:
 * <tt> </tt> →
 * <tt> </tt> →
 * <tt> 🇳🇱 </tt> → 🇳🇱

Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):

Example usage

 * <tt> 🇳🇱 Netherlands </tt> → 🇳🇱 Netherlands
 * <tt> 🇳🇱 </tt> → 🇳🇱

Using a redirect alias

 * <tt> 🇳🇱 </tt> → 🇳🇱
 * <tt> 🇳🇱 netherlands </tt> → 🇳🇱 netherlands
 * <tt> 🇳🇱 NLD </tt> → 🇳🇱 NLD

Related templates
Please see the following related <tt>country_data</tt> templates:
 * Template:Country data Kingdom of the Netherlands Kingdom of the Netherlands
 * Template:Country data Dutch Republic Dutch Republic

rendered as:

<tt>Template:</tt> is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as <tt>flag</tt>, <tt>flagicon</tt>, and others.



Standard parameters
{{#if: |

Flag variants
}} {{#if: Royal Netherlands NavyNL-VLAG-Luchtmacht.svg |

Military ensigns
}} {{#if: NLD |

Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template): }}

Example usage
{{#if: |
 * <tt> 🇳🇱 Netherlands </tt> → 🇳🇱 Netherlands
 * <tt> 🇳🇱 </tt> → 🇳🇱

Using a flag variant
}} {{#if: NLD |
 * <tt> 🇳🇱 Netherlands </tt> → 🇳🇱 Netherlands
 * <tt> 🇳🇱 </tt> → 🇳🇱

Using a redirect alias
}} {{#if: Kingdom of the Netherlands |
 * <tt> 🇳🇱 </tt> → 🇳🇱
 * <tt> 🇳🇱 netherlands </tt> → 🇳🇱 netherlands
 * <tt> 🇳🇱 NLD </tt> → 🇳🇱 NLD

Related templates
Please see the following related <tt>country_data</tt> templates: }}
 * Template:Country data Kingdom of the Netherlands Kingdom of the Netherlands