Revision as of 17:41, 20 October 2011 view sourceFrietjes (talk | contribs)Autopatrolled, Extended confirmed users, Template editors1,000,827 editsmNo edit summary← Previous edit | Revision as of 17:53, 20 October 2011 view source Frietjes (talk | contribs)Autopatrolled, Extended confirmed users, Template editors1,000,827 edits doc and catNext edit → | ||
Line 1: | Line 1: | ||
{{#ifeq: {{{asof}}}|S|{{#if: {{{alt|}}}|{{{alt}}}|As of}} |
{{#ifeq: {{{asof}}}|S|{{#if: {{{alt|}}}|{{{alt}}}|As of{{sp}}}}{{#if: {{Numrec/{{{1|Pal}}}|M}}|{{Numrec/{{{1|Pal}}}|M}}{{sp}}}}{{Numrec/{{{1|Pal}}}|Y}},{{sp}}}}{{#ifeq: {{{link}}}|N|{{#if: {{{2|}}}|{{{2}}} }}{{#if: {{{pcent|}}}|{{pct|{{Numrec/{{{1|Pal}}}|N}}|{{{pcent}}}|1}}|{{Numrec/{{{1|Pal}}}|N}}}}{{#if:{{{3|}}}| {{{3}}} }}|]}}{{#ifeq: {{{asof}}}|E|{{Sp}}{{#if: {{{alt|}}}|{{{alt}}}|as of}} {{#ifeq: {{Numrec/{{{1|Pal}}}|M}}|{{Numrec/{{{1|Pal}}}|M}}{{sp}}}}{{Numrec/{{{1|Pal}}}|Y}} }}<noinclude>{{documentation | ||
|content = | |||
This template is used to display the current number of member states which recognize a particular state. To update the number, month, year, or name produced by this template, you must modify the corresponding subtemplate. | |||
==== List of subtemplates ==== | |||
{{Special:PrefixIndex/Template:Numrec/}} | |||
=== Usage === | |||
The first parameter corresponds to a subtemplate of this template, e.g., <code>Pal</code> for {{tl|Numrec/Pal}}. | |||
* <code>asof = S</code> to turn on the "As of" prefix | |||
* <code>asof = E</code> to turn on the "as of" suffix | |||
* <code>alt = foo</code> to change the "As of" prefix to "foo" | |||
* <code>link = N</code> to turn off linking | |||
* <code>pcent = Y</code> to add the percentage | |||
}} | |||
] | |||
</noinclude> |
Revision as of 17:53, 20 October 2011
Template documentationThis template is used to display the current number of member states which recognize a particular state. To update the number, month, year, or name produced by this template, you must modify the corresponding subtemplate.
List of subtemplates
- Numrec/Abkhazia
- Numrec/ESH
- Numrec/Holy See
- Numrec/Israel
- Numrec/KOS
- Numrec/Kos
- Numrec/Kosovo
- Numrec/PAL
- Numrec/PSE
- Numrec/Pal
- Numrec/Palestine
- Numrec/ROC
- Numrec/Republic of China
- Numrec/RoC
- Numrec/SADR
- Numrec/Sahrawi Arab Democratic Republic
- Numrec/South Ossetia
- Numrec/TWN
- Numrec/Taiwan
- Numrec/VAT
- Numrec/Vatican City
- Numrec/Western Sahara
- Numrec/sandbox
- Numrec/subdoc
- Numrec/testcases
Usage
The first parameter corresponds to a subtemplate of this template, e.g., Pal
for {{Numrec/Pal}}.
asof = S
to turn on the "As of" prefixasof = E
to turn on the "as of" suffixalt = foo
to change the "As of" prefix to "foo"link = N
to turn off linkingpcent = Y
to add the percentage
Subpages of this template. Category: