Difference between revisions of "Template:Location/ZA"

From Geohashing
imported>Fippe
(New Template)
 
m (Nomenclature)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>Use <code><nowiki>{{</nowiki>[[Template:location|location]]<nowiki>|ZA}}</nowiki></code> to tag [[expedition]]s that took place in [[South Africa]]. It will add [[:Category:Expeditions in South Africa]] to the expedition.
+
<noinclude>Use <code><nowiki>{{</nowiki>[[Template:location|location]]<nowiki>|ZA}}</nowiki></code> to tag [[expedition]]s that took place in [[South Africa]]. It will add [[:Category:Meetup in South Africa]] to the expedition.
  
 
Using [[wikipedia:ISO 3166-2:ZA|ISO 3166-2]] abbreviations, you may also tag the province that the expedition took place in.
 
Using [[wikipedia:ISO 3166-2:ZA|ISO 3166-2]] abbreviations, you may also tag the province that the expedition took place in.
  
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 Gauteng]] is a subcategory of [[:Category:Expeditions in South Africa]]. 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:Meetup in Gauteng]] is a subcategory of [[:Category:Meetup in South Africa]]. The subcategories should be sorted in by their respective code.
  
 
==Examples==
 
==Examples==
 
*<code><nowiki>{{location|ZA}}</nowiki></code>: {{location/ZA}}
 
*<code><nowiki>{{location|ZA}}</nowiki></code>: {{location/ZA}}
*<code><nowiki>{{location|ZA|GT}}</nowiki></code>: {{location/ZA|GT}}
+
*<code><nowiki>{{location|ZA|GP}}</nowiki></code>: {{location/ZA|GP}}
  
 
[[Category:Location templates|ZA]]</noinclude><includeonly>{{#switch:{{{1}}}
 
[[Category:Location templates|ZA]]</noinclude><includeonly>{{#switch:{{{1}}}
Line 13: Line 13:
 
|EC=Eastern Cape
 
|EC=Eastern Cape
 
|FS=Freistata
 
|FS=Freistata
|GT=Gauteng
+
|GP=Gauteng
|NL=KwaZulu-Natal
+
|KZN=KwaZulu-Natal
 
|LP=Limpopo
 
|LP=Limpopo
 
|MP=Mpumalanga
 
|MP=Mpumalanga

Latest revision as of 23:13, 3 September 2022

Use {{location|ZA}} to tag expeditions that took place in South Africa. It will add Category:Meetup in South Africa to the expedition.

Using ISO 3166-2 abbreviations, you may also tag the province that the expedition took place in.

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:Meetup in Gauteng is a subcategory of Category:Meetup in South Africa. The subcategories should be sorted in by their respective code.

Examples

  • {{location|ZA}}: South Africa
  • {{location|ZA|GP}}: Gauteng