틀:Numrec/연습장
이 문서는 틀: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 = 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 139 countries{{Numrec|Palestine|the|countries|link=N}}
→ the 139 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 72% of the countries{{Numrec|Palestine|a total of|countries ...|link=N|asof=S}}
→ As of 2 6월 2023, a total of 139 countries ...{{Numrec|Palestine|a total of|countries ...|link=N|asof=S|alt=as of }}
→ as of 2 6월 2023, a total of 139 countries ...{{Numrec|Palestine|a total of|countries ...|link=N|asof=E}}
→ a total of 139 countries ... as of 2 6월 2023{{Numrec|Palestine|a total of|countries ...|link=N|asof=E|alt=, by }}
→ a total of 139 countries ... , by 2 6월 2023{{Numrec|Israel|a total of|countries that recognize Israeli statehood|asof=S|alt2=there are}}
→ As of 12월 2020, there are a total of 164 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)
| 문자열 | 선택 |
여기는 틀:Numrec을(를) 위한 틀 연습장입니다. 단짝 문서인 시험장도 살펴보세요. |