Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Templates discussed on this page  





2 Explanation of each template  



2.1  n-start  





2.2  n-before, n-after  





2.3  n-currency, n-circulates, n-legaltender  





2.4  n-end  







3 Examples  



3.1  basic  





3.2  basic, currently used currency  





3.3  split  





3.4  join, with subareas  





3.5  complex example  





3.6  complex example with four columns  





3.7  complex example with "empty" row  
















Template:N-start







Bahasa Indonesia
IsiZulu
Italiano
Ikinyarwanda

Bahasa Melayu
Нохчийн
Русский
Simple English
Српски / srpski
Sunda
Tiếng Vit
 

Edit links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Templates discussed on this page[edit]

This template is to be used in coordination with the following:

Template:n-start: opens a new Wikitable
Template:n-before: for listing predecessor currencies
Template:n-currency: for listing a location where this is a currency
Template:n-circulates: for listing a location where this currency circulates
Template:n-legaltender: for listing a location where this currency is legal tender
Template:n-after: for listing successor currencies
Template:n-end: for closing the Wikitable

Explanation of each template[edit]

n-start[edit]

This template simply starts the table. There are no parameters.

n-before, n-after[edit]

These templates are for listing predecessor and successor currencies. Their parameters are similar. n-before creates a cell in the first row, and n-after creates a cell in the last row. n-after also ends the current row. The focus of the table is the middle column(s)—the currency referred to there will be called the "current currency".
They have the following required parameters:

It has the following optional parameters:

n-currency, n-circulates, n-legaltender[edit]

These templates are for listing countries/regions/colonies where this is the official currency (n-currency), this currency circulates (n-circulates), or this currency has legal tender status (n-legaltender). It has the following required parameters:

It has the following optional parameters:

Instructions on dates for <start> and <end>

Generally, only the year should be included. However, it is recommended that month and or day be included if the following criteria are met:
  1. The life of the currency is less than 2 years (if the start and end year are the same or one year apart). It may make sense to include more detail during periods of rapid change (e.g., hyperinflation, unstable political status).
  2. The date is in the future, or is within the past 5 years.
  3. If the <start> date is 1 January
  4. If the <end> date is 31 December
  5. If the same year occurs in several places in the same box, but the events occurred on different days (e.g., many former republics of the Soviet Union gained their independence in the same year, but on different dates.)
When the complete dates are included, please follow these guidelines:
  1. Please use the form [[<month word> <day>]], [[<year>]] as in "18 January 1963" or <month word> [[<year>]] as in "January 1963".

n-end[edit]

This template simply ends the table. It has no parameters.

Examples[edit]

The following examples are taken from real situations, but their contents may be out of date. They are included here for illustration only and should not be assumed that their contents are correct.

basic[edit]

This is what a basic succession box looks like:

Preceded by:
Rhodesia and Nyasaland pound
Location: Rhodesia and Nyasaland
Reason: independence
Ratio: at par
Currency of Rhodesia
1964 – 1970
Succeeded by:
Rhodesian dollar
Reason: decimalization
Ratio: 2 dollars = 1 pound

which was generated using this code:

{{n-start}}
{{n-before|currency=[[Rhodesia and Nyasaland pound]]|location=[[Rhodesia and Nyasaland]]|reason=independence|ratio=at par}}
{{n-currency|location=[[Rhodesia]]|start=1964|end=1970}}
{{n-after|currency=[[Rhodesian dollar]]|reason=decimalization|ratio=2 dollars = 1 pound}}
{{n-end}}

basic, currently used currency[edit]

This one shows how to code for a currency that is still being used:

Preceded by:
Rhodesian dollar
Ratio: at par
Currency of Zimbabwe
1980 –
Succeeded by:
Current
{{n-start}}
{{n-before|currency=[[Rhodesian dollar]]|ratio=at par}}
{{n-currency|location=[[Zimbabwe]]|start=1980}}
{{n-after}}
{{n-end}}

split[edit]

This one shows how to handle a split into several new currencies

Preceded by:
Southern Rhodesian pound
Reason: creation of federation
Ratio: 1 pound = 1 pound
Currency of Rhodesia and Nyasaland
1953 – 1964
Succeeded by:
Malawian pound
Location: Malawi
(formerly Nyasaland)

Reason: independence
Ratio: at par
Succeeded by:
Rhodesian pound
Location: Rhodesia
(formerly Southern Rhodesia)

Reason: independence
Ratio: at par
Succeeded by:
Zambian pound
Location: Zambia
(formerly Northern Rhodesia)

Reason: independence
Ratio: at par
{{n-start}}
{{n-before|rowspan=3|currency=[[Southern Rhodesian pound]]|reason=creation of federation|ratio=at par}}
{{n-currency|rowspan=3|location=[[Rhodesia and Nyasaland]]|start=1953|end=1964}}
{{n-after|currency=[[Malawian pound]]|location=[[Malawi]]<br>(formerly [[Nyasaland]])|reason=independence|ratio=at par}}
{{n-after|currency=[[Rhodesian pound]]|location=[[Rhodesia]]<br>(formerly [[Southern Rhodesia]])|reason=independence|ratio=at par}}
{{n-after|currency=[[Zambian pound]]|location=[[Zambia]]<br>(formerly [[Northern Rhodesia]])|reason=independence|ratio=at par}}
{{n-end}}

join, with subareas[edit]

Preceded by:
Indian rupee
Ratio: at par
Currency of East Africa
(Kenya, Uganda, Zanzibar)
1906 – 1920
Succeeded by:
East African florin
Ratio: at par
Preceded by:
German East African rupie
Location: Burundi, Rwanda, Tanganyika
Reason: Treaty of Versailles
Ratio: at par
Currency of Tanganyika
1919 – 1920
{{n-start}}
{{n-before|currency=[[Indian rupee]]|ratio=at par}}
{{n-currency|location=[[East Africa]]|subareas=[[Kenya]], [[Uganda]], [[Zanzibar]]|start=1906|end=1920}}
{{n-after|rowspan=2|currency=[[East African florin]]|ratio=at par}}

{{n-before|currency=[[German East African rupie]]|ratio=at par|reason=[[Treaty of Versailles]]|location=[[Burundi]], [[Rwanda]], [[Tanganyika (territory)|Tanganyika]]}}
{{n-currency|location=[[Tanganyika (territory)|Tanganyika]]|start=1919|end=1920}}
{{n-end}}

complex example[edit]

This example shows a complex succession relationship.

Preceded by:
East African florin
Ratio: 2 shillings = 1 florin
Currency of East Africa
(Aden, Kenya, Tanganyika, Uganda, Zanzibar)
1921 – 1966
Succeeded by:
Kenyan shilling
Location: Kenya
Reason: independence
Ratio: at par
Succeeded by:
Tanzanian shilling
Location: Tanzania
(formerly Tanganyika and Zanzibar)

Reason: independence
Ratio: at par
Succeeded by:
Ugandan shilling
Location: Uganda
Reason: independence
Ratio: at par
Succeeded by:
Yemeni dinar
Location: Aden, South Yemen
Reason: became part of Yemen
Ratio: 1 dinar = 20 shillings
Currency of British Somaliland
1921 – 1960
Succeeded by:
Somali shilling
Location: British Somaliland
Reason: independence as part of Somalia
Ratio: at par
Preceded by:
Somali lira
Reason: British occupation
Currency of Italian Somaliland
1941 – 1949
Succeeded by:
Somali somalo
Reason: return to Italy
Ratio: at par
{{n-start}}
{{n-before|rowspan=5|currency=[[East African florin]]|ratio=2 shillings = 1 florin}}
{{n-currency|rowspan=4|location=[[East Africa]]|subareas=[[Aden]], [[Kenya]], [[Tanganyika (territory)|Tanganyika]], [[Uganda]], [[Zanzibar]]|start=1921|end=1966}}
{{n-after|currency=[[Kenyan shilling]]|location=[[Kenya]]|reason=independence|ratio=at par}}
{{n-after|currency=[[Tanzanian shilling]]|location=[[Tanzania]]<br>(formerly [[Tanganyika (1961–1964)|Tanganyika]] and [[Zanzibar]])|reason=independence|ratio=at par}}
{{n-after|currency=[[Ugandan shilling]]|location=[[Uganda]]|reason=independence|ratio=at par}}
{{n-after|currency=[[Yemeni dinar]]|location=[[Aden]], [[South Yemen]]|reason=became part of [[Yemen]]|ratio=1 dinar = 20 shillings}}
{{n-currency|location=[[British Somaliland]]|start=1921|end=1960}}
{{n-after|currency=[[Somali shilling]]|location=[[British Somaliland]]|reason=independence as part of [[Somalia]]|ratio=at par}}
{{n-before|currency=[[Somali lira]]|reason=British occupation}}
{{n-currency|location=[[Italian Somaliland]]|start=1941|end=1949}}
{{n-after|currency=[[Somali somalo]]|reason=return to [[Italy]]|ratio=at par}}
{{n-end}}

complex example with four columns[edit]

This is a complex example. Note the use of "|-" to end the rows which do not contain a n-after template.

Preceded by:
Sarawak dollar
Location: Sarawak
Reason: creation of a common Board of Commissioners of Currency
Currency of Sarawak
1953 – 1963
Currency of Malaysia
1963 – 1967
Note: formation of the Federation
Succeeded by:
Malaysian ringgit
Location: Malaysia
Ratio: at par
Preceded by:
British North Borneo dollar
Location: British North Borneo
Reason: creation of a common Board of Commissioners of Currency
Currency of British North Borneo
1953 – 1963
Preceded by:
Malayan dollar
Reason: creation of a common Board of Commissioners of Currency
Currency of Malaya
1953 – 1963
Currency of Singapore
1953 – 1963
Succeeded by:
Singapore dollar
Location: Singapore
Reason: independence
Ratio: at par
Currency of Brunei
1953 – 1967
Succeeded by:
Brunei dollar
Location: Brunei
Reason: currency agreement
Ratio: at par
{{n-start}}
{{n-before|location=[[Sarawak]]|currency=[[Sarawak dollar]]|reason=creation of a common Board of Commissioners of Currency}}
{{n-currency|location=[[Sarawak]]|start=1953|end=1963}}
{{n-currency|rowspan=4|location=[[Malaysia]]|start=1963|end=1967|note=formation of the Federation}}
{{n-after|rowspan=3|currency=[[Malaysian ringgit]]|location=[[Malaysia]]|ratio=at par}}

{{n-before|location=[[British North Borneo]]|currency=[[British North Borneo dollar]]|reason=creation of a common Board of Commissioners of Currency}}
{{n-currency|location=[[British North Borneo]]|start=1953|end=1963}}
|-

{{n-before|rowspan=3|currency=[[Malayan dollar]]|reason=creation of a common Board of Commissioners of Currency}}
{{n-currency|location=[[Federation of Malaya|Malaya]]|start=1953|end=1963}}
|-

{{n-currency|location=[[Singapore]]|start=1953|end=1963}}
{{n-after|currency=[[Singapore dollar]]|location=[[Singapore]]|ratio=at par|reason=independence}}

{{n-currency|colspan=2|location=[[Brunei]]|start=1953|end=1967}}
{{n-after|currency=[[Brunei dollar]]|location=[[Brunei]]|ratio=at par|reason=currency agreement}}
{{n-end}}

complex example with "empty" row[edit]

This example illustrates a workaround to the way that HTML handles rowspans. In this example, the fourth row does not have any contents that are not also part of another row. In an HTML (and therefore also wiki) table, that means that the fourth row would have a height of 1 pixel. Notice how style="height:40px" was added to the end of the third row (and thus the beginning of the fourth row, since the n-after template contains the row start marker).

Preceded by:
Indian rupee
Reason: creation of new currency for use outside of India
Ratio: at par
Currency of Kuwait
1959 – 1961
Succeeded by:
Kuwaiti dinar
Ratio: 1 dinar = 13 1/3 rupees
Currency of Bahrain
1959 – 1965
Succeeded by:
Bahraini dinar
Ratio: 1 dinar = 10 rupees
Currency of Qatar
1959 – 1966
Succeeded by:
Saudi riyal
Location: Qatar and Trucial States except Abu Dhabi
Reason: devaluation of the Gulf rupee before delivery of replacement
Ratio: 106.5 rupees = 100 riyals
Currency of Trucial States
1959 – 1966
Succeeded by:
Bahraini dinar
Location: Abu Dhabi
Reason: devaluation of the Gulf rupee before delivery of replacement
Ratio: 1 dinar = 10 rupees
Currency of Muscat and Oman
1959 – 1970
Succeeded by:
Omani rial
Ratio: 1 rial = 13 1/3 rupees
{{n-start}}
{{n-before|rowspan=6|currency=[[Indian rupee]]|ratio=at par|reason=creation of new currency for use outside of [[India]]}}
{{n-currency|location=[[Kuwait]]|start=1959|end=1961}}
{{n-after|currency=[[Kuwaiti dinar]]|ratio=1 dinar = 13 1/3 rupees}}
{{n-currency|location=[[Bahrain]]|start=1959|end=1965}}
{{n-after|currency=[[Bahraini dinar]]|ratio=1 dinar = 10 rupees}}
{{n-currency|location=[[Qatar]]|start=1959|end=1966}}
{{n-after|rowspan=2|currency=[[Saudi riyal]]|reason=devaluation of the Gulf rupee before delivery of replacement|location=[[Qatar]] and [[Trucial States]] except [[Abu Dhabi]]|ratio=106.5 rupees = 100 riyals}}style="height:40px"
{{n-currency|rowspan=2|location=[[Trucial States]]|start=1959|end=1966}}
|-
{{n-after|currency=[[Bahraini dinar]]|reason=devaluation of the Gulf rupee before delivery of replacement|location=[[Abu Dhabi]]|ratio=1 dinar = 10 rupees}}
{{n-currency|location=[[Muscat and Oman]]|start=1959|end=1970}}
{{n-after|currency=[[Omani rial]]|ratio=1 rial = 13 1/3 rupees}}
{{n-end}}

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:N-start&oldid=534744991"

Categories: 
Currency formatting and function templates
Succession templates
 



This page was last edited on 25 January 2013, at 00:44 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki