Template:Numrec

{{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.

Usage
The first parameter corresponds to a subtemplate of this template, e.g.,  for Numrec/Palestine. The second and third parameter inserts wikilinked text before and after the number. Other optional parameters are:
 * to turn on the "As of" prefix (start)
 * to turn on the "as of" suffix (end)
 * to change the "As of" prefix to "foo"
 * to add "bar" after the "As of" date and before the wikilinked text
 * to turn off linking
 * to turn off spelling out numbers less than 10 and listing them simply as integers.
 * to add a percentage out of "total number". If pcent=UN then the total number of UN member states is used.
 * outputs "Number of recognizers + N". This is useful in situations where non-UN member states are to be included in the total.
 * outputs number of states who have withdrawn recognition as opposed to the number of recognizers.

Examples
}}

{	"params": { "1": {			"label": "State", "description": "State of limited recognition", "default": "Palestine", "required": true, "type": "string" },		"2": {			"label": "linked text before number", "example": "\"the\", \"a total of\"", "type": "string", "description": "Text before number/percent included in the wikilink" },		"3": {			"label": "linked text after number", "example": "that recognize Kosovo", "type": "string", "description": "Text after the number/percent included in the wikilink" },		"asof": { "label": "Show 'as of'?", "description": "Shows 'as of' at start or end", "example": "S (start), E (end)", "type": "string", "suggested": true },		"alt": { "label": "Alternate prefix/suffix text", "description": "Replaces 'As of' with the text entered", "example": "\", by\"", "type": "string" },		"alt2": { "label": "text before wikilink", "type": "unbalanced-wikitext", "description": "Text included between the date (if shown) and wikilinked text" },		"link": { "label": "Show link?", "description": "If 'N', disables links", "example": "N", "type": "string" },		"pcent": { "aliases": [ "percent" ],			"label": "Show as percent?", "description": "If a number, shows percent of countries recognizing the state", "example": "UN (or, \"total number\")", "type": "string" },		"W": { "label": "States that withdrew recognition?", "description": "If 'Y', shows states that withdrew recognition instead of currently extend", "example": "Y", "type": "string", "aliases": [ "show_withdrawn" ]		},		"N": { "label": "UN non-member states recognizing", "description": "Number of states which have extended recognition", "example": "4", "type": "number" },		"spell": { "label": "Spell numbers less than 10?", "description": "If 'N', lists numbers less than 10 as integers (default is to spell them out)", "example": "N", "type": "string" }	},	"description": "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." }