Difference between revisions of "Template:IsIn"

From Hitchwiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>{{ #isin:{{{1}}}}}</includeonly>
+
<includeonly>{{ #isin:{{{1}}}}}</includeonly><noinclude>
 +
'''<nowiki>Syntax: {{IsIn|</nowiki>''Wherever''}}'''
 +
 
 +
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!
 +
 
 +
[[Category:Templates]]
 +
</noinclude>

Revision as of 14:09, 15 June 2008

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!