Difference between revisions of "Template:Location/NO"

From Geohashing
(2020-01-01 update)
(Removing legacy codes)
Line 3: Line 3:
 
Using [[wikipedia:ISO 3166-2:NO|ISO 3166-2]] abbreviations, you may also tag the fylke that the expedition took place in. Svalbard and Jan Mayen is an ISO 3166 area in its own right, use <code>SJ</code> for expeditions there.
 
Using [[wikipedia:ISO 3166-2:NO|ISO 3166-2]] abbreviations, you may also tag the fylke that the expedition took place in. Svalbard and Jan Mayen is an ISO 3166 area in its own right, use <code>SJ</code> for expeditions there.
  
If the category link appears red, do not worry and create the category. Make sure that it is included in the appropriate parent category, for instance, [[:Category:Expeditions in Troms]] is a subcategory of [[:Category:Expeditions in Norway]]. The subcategories should be sorted in by their respective code.
+
If the category link appears red, do not worry and create the category. Make sure that it is included in the appropriate parent category, for instance, [[:Category:Expeditions in Viken]] is a subcategory of [[:Category:Expeditions in Norway]]. The subcategories should be sorted in by their respective code.
  
 
==Examples==
 
==Examples==
 
*<code><nowiki>{{location|NO}}</nowiki></code>: {{location/NO}}
 
*<code><nowiki>{{location|NO}}</nowiki></code>: {{location/NO}}
*<code><nowiki>{{location|NO|19}}</nowiki></code>: {{location/NO|19}}
+
*<code><nowiki>{{location|NO|30}}</nowiki></code>: {{location/NO|30}}
  
 
[[Category:Location templates|NO]]</noinclude><includeonly>{{#switch:{{{1}}}
 
[[Category:Location templates|NO]]</noinclude><includeonly>{{#switch:{{{1}}}
|#default=Norway<!--
+
|#default=Norway
LEGACY START
 
-->
 
|01=Østfold
 
|02=Akershus
 
|04=Hedmark
 
|05=Oppland
 
|06=Buskerud
 
|07=Vestfold
 
|08=Telemark
 
|09=Aust-Agder
 
|10=Vest-Agder
 
|12=Hordaland
 
|14=Sogn og Fjordane
 
|19=Troms
 
|20=Finnmark<!--
 
LEGACY END
 
-->
 
 
|03=Oslo
 
|03=Oslo
 
|11=Rogaland
 
|11=Rogaland

Revision as of 00:31, 16 February 2020

Use {{location|NO}} to tag expeditions that took place in Norway. It will add Category:Expeditions in Norway to the expedition.

Using ISO 3166-2 abbreviations, you may also tag the fylke that the expedition took place in. Svalbard and Jan Mayen is an ISO 3166 area in its own right, use SJ for expeditions there.

If the category link appears red, do not worry and create the category. Make sure that it is included in the appropriate parent category, for instance, Category:Expeditions in Viken is a subcategory of Category:Expeditions in Norway. The subcategories should be sorted in by their respective code.

Examples

  • {{location|NO}}: Norway
  • {{location|NO|30}}: Viken