Revision as of 18:21, 20 October 2011 view sourceFrietjes (talk | contribs)Autopatrolled, Extended confirmed users, Template editors1,000,827 editsNo edit summary← Previous edit | Revision as of 18:22, 20 October 2011 view source Frietjes (talk | contribs)Autopatrolled, Extended confirmed users, Template editors1,000,827 editsmNo edit summaryNext edit → | ||
Line 1: | Line 1: | ||
{{#ifeq: {{{asof}}}|S|{{{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|{{{alt|{{sp}}as of |
{{#ifeq: {{{asof}}}|S|{{{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|{{{alt|{{sp}}as of}}}{{sp}}{{#if:{{Numrec/{{{1|Pal}}}|M}}|{{Numrec/{{{1|Pal}}}|M}}{{sp}}}}{{Numrec/{{{1|Pal}}}|Y}} }}<noinclude>{{documentation | ||
|content = | |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. | 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. |
Revision as of 18:22, 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 = total number
to add a percentage out of "total number"
Examples
{{Numrec|Pal|the|countries}}
→ the 146 countries{{Numrec|Pal|the|countries|link=N}}
→ the 146 countries{{Numrec|Pal|although|of the countries|link=N|pcent=193}}
→ although 75.6% of the countries{{Numrec|Pal|a total of|countries ...|link=N|asof=S}}
→ As of June 2024, a total of 146 countries ...{{Numrec|Pal|a total of|countries ...|link=N|asof=S|alt=as of }}
→ as ofJune 2024, a total of 146 countries ...{{Numrec|Pal|a total of|countries ...|link=N|asof=E}}
→ a total of 146 countries ... as of June 2024{{Numrec|Pal|a total of|countries ...|link=N|asof=E|alt=, by }}
→ a total of 146 countries ..., by June 2024
Subpages of this template. Category: