Template:IsIn: Difference between revisions

[[Wiki.trustroots.org]] is an independent wiki with information for people who are actively exchanging hospitality.
(dhxdgIQK)
(currently broken)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Good points all aournd. Truly appreciated.
<includeonly></includeonly>
 
<noinclude>
 
[[Category:{{{1}}}]]{{#IsIn:{{{1}}}}}
 
'''''This is currently broken...'''''
 
'''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:Bayern|Bayern]] you set ''<nowiki>{{IsIn|Germany}}</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.
 
On top of the [[Munich]] article you now can find the following navigation:
 
''Earth > Europe > Germany > Bayern > Munich''
 
That's it!
 
== Logical classification ==
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''
 
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 talk:IsIn|here]]. Also this is the best place for your questions.
 
 
[[Category:Templates]]
</noinclude>

Latest revision as of 17:19, 24 December 2012



[[Category:{{{1}}}]]{{#IsIn:{{{1}}}}}

This is currently broken...

Syntax: {{IsIn|Wherever}}

This is an empty template creating the breadcrumbs-trail-navigaton.

This is how it works:

  • In the article of Europe you set {{IsIn|Earth}}, because Europe is a continent on earth.
  • In the article Germany you set {{IsIn|Europe}}, because Germany is a country in Europe.
  • In the article of Bayern you set {{IsIn|Germany}} because Bayern is a state in Germany.
  • In the article of Munich you can now set {{IsIn|Bayern}}, 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:

Earth > Europe > Germany > Bayern > Munich

That's it!

Logical classification

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

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 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.