Open main menu

Changes

Template:IsIn

79 bytes added, 10:22, 6 September 2017
m
no edit summary
<includeonly>{{ #isin:{{{1}}}}}</includeonly><noinclude>
'''<nowiki>Syntax: {{IsIn|</nowiki>''Wherever''}}'''
'''Syntax''': <code>{<nowiki/>{IsIn|''Wherever''}}</code> This is an empty template creating the breadcrumbs-trail-navigaton.
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 [[Germany]] you set ''<nowiki>{{IsIn|Europe}}</nowiki>'', because Germany is a country in Europe.
* In the article of [[:Category:BayernBavaria|BayernBavaria]] you set ''<nowiki>{{IsIn|Germany}}</nowiki>'' because Bayern Bavaria is a state in Germany.* In the article of [[Munich]] you can now set ''<nowiki>{{IsIn|BayernBavaria}}</nowiki>'', which means that Munich is a city in the state of BayernBavaria.
On top of the [[Munich]] article you now can find the following navigation:
''Earth > Europe > Germany > Bayern > Munich''
That's it!  '''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 ==
'''Earth''' > ''Continent'' > ''Region of the world'' > ''Country/Nation'' > ''State within the country'' > ''City''
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.
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 better ideas to classify the navigation, you're welcome to discuss about it [[Template_talkTemplate talk:IsIn|here]]. Also this is the best place for your questions. '''Note''': the [[Template:Infobox German Location]] automatically adds this template and fills in the appropriate state ("Bundesland") as well as it categorises the article according to the parameter "state" if it is given.
[[Category:Templates]]
</noinclude>