Загбар:Numrec
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
[үндэһэн бэшэгые заһабарилха]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 = Sto turn on the "As of" prefix (start)asof = Eto turn on the "as of" suffix (end)alt = footo change the "As of" prefix to "foo"alt2 = barto add "bar" after the "As of" date and before the wikilinked textlink = Nto turn off linkingspell = Nto turn off spelling out numbers less than 10 and listing them simply as integers.pcent = total numberto add a percentage out of "total number". If pcent=UN then the total number of UN member states is used.N = numberoutputs "Number of recognizers + N". This is useful in situations where non-UN member states are to be included in the total.W = Youtputs number of states who have withdrawn recognition as opposed to the number of recognizers.
Examples
[үндэһэн бэшэгые заһабарилха]{{Numrec|Palestine|the|countries}}→ the 138 countries{{Numrec|Palestine|the|countries|link=N}}→ the 138 countries{{Numrec|Abkhazia|the|countries}}→ [[International recognition of Загбар:Numrec/Abkhazia Загбар:Numrec/Abkhazia|the Ошибка выражения: неопознанный символ пунктуации «[» countries]]{{Numrec|Abkhazia|the|countries|spell=N}}→ [[International recognition of Загбар:Numrec/Abkhazia Загбар:Numrec/Abkhazia|the Ошибка выражения: неопознанный символ пунктуации «[» countries]]{{Numrec|Palestine|although|of the countries|link=N|pcent=193}}→ although Загбар:Pct of the countries{{Numrec|Palestine|a total of|countries ...|link=N|asof=S}}→ As of 31 July 2019, a total of 138 countries ...{{Numrec|Palestine|a total of|countries ...|link=N|asof=S|alt=as of }}→ as of 31 July 2019, a total of 138 countries ...{{Numrec|Palestine|a total of|countries ...|link=N|asof=E}}→ a total of 138 countries ... as of 31 July 2019{{Numrec|Palestine|a total of|countries ...|link=N|asof=E|alt=, by }}→ a total of 138 countries ... , by 31 July 2019{{Numrec|Israel|a total of|countries that recognize Israeli statehood|asof=S|alt2=there are}}→ As of Загбар:Numrec/Israel Загбар:Numrec/Israel Загбар:Numrec/Israel, there are [[International recognition of Загбар:Numrec/Israel Загбар:Numrec/Israel|a total of Ошибка выражения: неопознанный символ пунктуации «[» countries that recognize Israeli statehood]]
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.
| Параметр | Описание | Тип | Статус | |
|---|---|---|---|---|
| State | 1 | State of limited recognition
| Строковый (без форматирования) | обязательный |
| linked text before number | 2 | Text before number/percent included in the wikilink
| Строковый (без форматирования) | необязательный |
| linked text after number | 3 | Text after the number/percent included in the wikilink
| Строковый (без форматирования) | необязательный |
| Show 'as of'? | asof | Shows 'as of' at start or end
| Строковый (без форматирования) | предложенный |
| Alternate prefix/suffix text | alt | Replaces 'As of' with the text entered
| Строковый (без форматирования) | необязательный |
| text before wikilink | alt2 | Text included between the date (if shown) and wikilinked text | Несбалансированный вики-текст | необязательный |
| Show link? | link | If 'N', disables links
| Строковый (без форматирования) | необязательный |
| Show as percent? | pcent percent | If a number, shows percent of countries recognizing the state
| Строковый (без форматирования) | необязательный |
| States that withdrew recognition? | W show_withdrawn | If 'Y', shows states that withdrew recognition instead of currently extend
| Строковый (без форматирования) | необязательный |
| UN non-member states recognizing | N | Number of states which have extended recognition
| Число | необязательный |
| Spell numbers less than 10? | spell | If 'N', lists numbers less than 10 as integers (default is to spell them out)
| Строковый (без форматирования) | необязательный |