Misplaced Pages

Template:Numrec: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 18:20, 20 October 2011 view sourceFrietjes (talk | contribs)Autopatrolled, Extended confirmed users, Template editors1,000,827 editsNo edit summary← Previous edit Revision as of 18:21, 20 October 2011 view source Frietjes (talk | contribs)Autopatrolled, Extended confirmed users, Template editors1,000,827 editsNo edit summaryNext edit →
Line 21: Line 21:
* <code><nowiki>{{Numrec|Pal|a total of|countries ...|link=N|asof=S|alt=as of }}</nowiki></code> &rarr; {{Numrec|Pal|a total of|countries ...|link=N|asof=S|alt=as of }} * <code><nowiki>{{Numrec|Pal|a total of|countries ...|link=N|asof=S|alt=as of }}</nowiki></code> &rarr; {{Numrec|Pal|a total of|countries ...|link=N|asof=S|alt=as of }}
* <code><nowiki>{{Numrec|Pal|a total of|countries ...|link=N|asof=E}}</nowiki></code> &rarr; {{Numrec|Pal|a total of|countries ...|link=N|asof=E}} * <code><nowiki>{{Numrec|Pal|a total of|countries ...|link=N|asof=E}}</nowiki></code> &rarr; {{Numrec|Pal|a total of|countries ...|link=N|asof=E}}
* <code><nowiki>{{Numrec|Pal|a total of|countries ...|link=N|asof=E|alt= by }}</nowiki></code> &rarr; {{Numrec|Pal|a total of|countries ...|link=N|asof=E|alt= by }} * <code><nowiki>{{Numrec|Pal|a total of|countries ...|link=N|asof=E|alt=, by }}</nowiki></code> &rarr; {{Numrec|Pal|a total of|countries ...|link=N|asof=E|alt=, by }}
}} }}
] ]

Revision as of 18:21, 20 October 2011

146

Template documentation

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., Pal for {{Numrec/Pal}}.

  • asof = S to turn on the "As of" prefix
  • asof = E to turn on the "as of" suffix
  • alt = foo to change the "As of" prefix to "foo"
  • link = N to turn off linking
  • pcent = 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 ..., byJune 2024
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Subpages of this template. Category: