ඉංග්රීසි ව්යාපෘතියෙන් ගෙනා පෙළ |
---|
Example: Europe > Russia > Southern Russia > North Caucasus > Dagestan This can make it easier to navigate the site and find bigger or nearby destinations. This page describes how to add a breadcrumb menu to a page. When to useeditBreadcrumb navigation should be used for all destination articles. Travel topics and itineraries have separate breadcrumb trails. To add a menu, you need to specify the next larger area that a place is in. For example, Montreal is in Quebec, and Germany is in Central Europe. To say that a place is in another place, put the "isPartOf" template at the bottom of the page, with the name of the larger place. So, Montreal's guide has a line saying {{isPartOf|Quebec}}, and Germany's guide has a line {{isPartOf|Central Europe}}. By convention, this template is placed at the end of the destination article.
For Travel topics breadcrumbs can be added using the {{Wy/si/PartOfTopic}} template. For Itineraries breadcrumbs can be added using the {{Wy/si/PartOfItinerary}} template. SubpageseditSubpages are commonly used for districts of huge cities. In this case the breadcrumb navigation assumes that the subpage lies within the parent page. For instance the article London/Westminster is recognised as a sub-region of London. However if the template is omitted, no RDF will be generated for the isPartOf relationship. CategorieseditThe breadcrumb at the top of the page allows you to walk up the trail to larger regions. To browse to places in the same region or down the trail to smaller places, use the category at the bottom of the page – to see this, your Preferences (Appearance) must be set to show hidden categories. The name of the category is the name in the isPartOf template. If the category does not exist, a small link will be created at the bottom of the page to assist in creating the category with the correct content. See Wikivoyage:Region categories. Troubleshootingedit
Under the coverseditThe crumbs are generated by mw:Extension:GeoCrumbs. The breadcrumb navigation code uses the RDF isPartOf relation defined by the IsPartOf template to determine the geographical hierarchy of a destination. The RDF defines the relationship between two places, and the navigation code reads that relationship. An exception to this occurs when using subpages. Subpages are commonly used for districts of huge cities. In this case the template and associated RDF are ignored, and the breadcrumb navigation assumes that the subpage lies within the parent page. GeoCrumbs are based on a tree structure and presume that each destination or region isPartOf only one parent region. This requires workarounds for places which fall on regional boundaries:
If there are two or more "isPartOf" tags on an article, the extension ignores all but the last tag. There are no automated tools to verify which places are part of a region; links generated as part of the breadcrumb trail are not displayed by special:whatlinkshere. The open source code for the extension is available from Wikimedia's git version control system. |