This is an old revision of this page, as edited by Daviddwd (talk | contribs) at 07:38, 10 December 2018 (Update to TemplateData). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 07:38, 10 December 2018 by Daviddwd (talk | contribs) (Update to TemplateData)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff) 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/Holy See
- Numrec/Israel
- Numrec/Kosovo
- Numrec/Palestine
- Numrec/Republic of China
- Numrec/Sahrawi Arab Democratic Republic
- Numrec/South Ossetia
- Numrec/sandbox
- Numrec/subdoc
- Numrec/testcases
Usage
The first parameter corresponds to a subtemplate of this template, e.g., Palestine
for {{Numrec/Palestine}}. The second and third parameter inserts wikilinked text before and after the number. Other optional parameters are:
asof = S
to turn on the "As of" prefix (start)asof = E
to turn on the "as of" suffix (end)alt = foo
to change the "As of" prefix to "foo"alt2 = bar
to add "bar" after the "As of" date and before the wikilinked textlink = N
to turn off linkingspell = N
to turn off spelling out numbers less than 10 and listing them simply as integers.pcent = total number
to add a percentage out of "total number". If pcent=UN then the total number of UN member states is used.N = number
outputs "Number of recognizers + N". This is useful in situations where non-UN member states are to be included in the total.W = Y
outputs number of states who have withdrawn recognition as opposed to the number of recognizers.
Examples
{{Numrec|Palestine|the|countries}}
→ the 146 countries{{Numrec|Palestine|the|countries|link=N}}
→ the 146 countries{{Numrec|Abkhazia|the|countries}}
→ the seven countries{{Numrec|Abkhazia|the|countries|spell=N}}
→ the 7 countries{{Numrec|Palestine|although|of the countries|link=N|pcent=193}}
→ although 75.6% of the countries{{Numrec|Palestine|a total of|countries ...|link=N|asof=S}}
→ As of 21 June 2024, a total of 146 countries ...{{Numrec|Palestine|a total of|countries ...|link=N|asof=S|alt=as of }}
→ as of 21 June 2024, a total of 146 countries ...{{Numrec|Palestine|a total of|countries ...|link=N|asof=E}}
→ a total of 146 countries ... as of 21 June 2024{{Numrec|Palestine|a total of|countries ...|link=N|asof=E|alt=, by }}
→ a total of 146 countries ... , by 21 June 2024{{Numrec|Israel|a total of|countries ...|link=N|asof=E|alt2=thot}}
→ As of 12 December 2020, thot a total of 165 countries ...
Subpages of this template.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
State | 1 | State of limited recognition
| String | required |
linked text before number | 2 | Text before number/percent included in the wikilink
| String | optional |
linked text after number | 3 | Text after the number/percent included in the wikilink
| Unknown | optional |
Show 'as of'? | asof | Shows 'as of' at start or end
| String | suggested |
Alternate prefix/suffix text | alt | Replaces 'As of' with the text entered
| String | optional |
text before wikilink | alt2 | Text included between the date (if shown) and wikilinked text | Unbalanced wikitext | optional |
Show link? | link | If 'N', disables links
| String | optional |
Show as percent? | pcent percent | If a number, shows percent of countries recognizing the state
| String | optional |
States that withdrew recognition? | W show_withdrawn | If 'Y', shows states that withdrew recognition instead of currently extend
| String | optional |
UN non-member states recognizing | N | Number of states which have extended recognition
| Number | optional |
Spell numbers less than 10? | spell | If 'N', lists numbers less than 10 as integers (default is to spell them out)
| String | optional |