Modèle:IsIn : Différence entre versions

De Hitchwiki
Sauter à la navigation Sauter à la recherche
m (Traduit ca, s.v.p.)
 
 
Ligne 3 : Ligne 3 :
  
 
This is how it works:
 
This is how it works:
* In the article of [[Europe]] you set ''<nowiki>{{IsIn|Earth}}</nowiki>'', because Europe is a continent on earth.
+
* In the article of [[Europe]] you set ''<nowiki>{{IsIn|Monde}}</nowiki>'', because Europe is a continent on earth.
* In the article [[Germany]] you set ''<nowiki>{{IsIn|Europe}}</nowiki>'', because Germany is a country in Europe.
+
* In the article [[Allemagne]] you set ''<nowiki>{{IsIn|Europe}}</nowiki>'', because Germany is a country in Europe.
* In the article of  [[:Category:Bayern|Bayern]] you set ''<nowiki>{{IsIn|Germany}}</nowiki>'' because Bayern is a state in Germany.
+
* In the article of  [[Bavière]] you set ''<nowiki>{{IsIn|Allemagne}}</nowiki>'' because Bayern is a state in Germany.
* In the article of [[Munich]] you can now set ''<nowiki>{{IsIn|Bayern}}</nowiki>'', which means that Munich is a city in the state of Bayern.
+
* In the article of [[Munich]] you can now set ''<nowiki>{{IsIn|Bavière}}</nowiki>'', which means that Munich is a city in the state of Bayern.
  
 
On top of the [[Munich]] article you now can find the following navigation:
 
On top of the [[Munich]] article you now can find the following navigation:
Ligne 20 : Ligne 20 :
 
At the moment, the navigation is build as followed. It would be nice if all article navigations look uniform:
 
At the moment, the navigation is build as followed. It would be nice if all article navigations look uniform:
  
'''Earth''' > ''Continent'' > ''Region of the world'' > ''Country/Nation'' > ''State within the country'' > ''City''
+
'''Monde''' > ''Continent'' > ''Région du Monde'' > ''Pays'' > ''Région/Etat'' > ''Ville''
  
Sometimes it's unclear which country belongs to which region of the world. For this, check the continent articles of [[Europe]], [[Asia]], [[Africa]] and [[Americas]]. Here the countries are spread over the different regions of the world as defined by the UN.
+
Sometimes it's unclear which country belongs to which region of the world. For this, check the continent articles of [[Europe]], [[Asie]], [[Afrique]] and [[Amérique]]. Here the countries are spread over the different regions of the world as defined by the UN.
  
 
If you have no idea to which state a city is belonging, check the city article on [http://www.wikipedia.org wikipedia], it often tells you in which state the city is located. Often the state articles for many countries still don't exist. Don't hesitate to be the first to create a state article ;)
 
If you have no idea to which state a city is belonging, check the city article on [http://www.wikipedia.org wikipedia], it often tells you in which state the city is located. Often the state articles for many countries still don't exist. Don't hesitate to be the first to create a state article ;)
Ligne 29 : Ligne 29 :
  
  
[[Category:Templates]]
+
[[Catégorie:Modèles]]
 
</noinclude>
 
</noinclude>

Version actuelle datée du 5 juillet 2022 à 19:36

Syntaxe: {{IsIn|Lieu}}

This is how it works:

  • In the article of Europe you set {{IsIn|Monde}}, because Europe is a continent on earth.
  • In the article Allemagne you set {{IsIn|Europe}}, because Germany is a country in Europe.
  • In the article of Bavière you set {{IsIn|Allemagne}} because Bayern is a state in Germany.
  • In the article of Munich you can now set {{IsIn|Bavière}}, which means that Munich is a city in the state of Bayern.

On top of the Munich article you now can find the following navigation:

Monde > Europe > France > Alsace > Strasbourg

Ce ca!

Note: the Template:Infobox German Location automatically adds this template and fills in the appropriate federal state (“Bundesland”) (as well as it categorises the article) according to the parameter “state” if it is given. Similar thing does the Template:Infobox Country.

Logical classification

At the moment, the navigation is build as followed. It would be nice if all article navigations look uniform:

Monde > Continent > Région du Monde > Pays > Région/Etat > Ville

Sometimes it's unclear which country belongs to which region of the world. For this, check the continent articles of Europe, Asie, Afrique and Amérique. Here the countries are spread over the different regions of the world as defined by the UN.

If you have no idea to which state a city is belonging, check the city article on wikipedia, it often tells you in which state the city is located. Often the state articles for many countries still don't exist. Don't hesitate to be the first to create a state article ;)

If you have better ideas to classify the navigation, you're welcome to discuss about it here. Also this is the best place for your questions.