Template:IsPartOf

Template page
Revision as of 05:49, 25 August 2023 by Poseidon (talk | contribs)


[view] [edit] [history] [purge] Template documentation

This template is used to define which region a destination is in, to define the breadcrumb at the top of an article page. It will also, if exists, add the article to a category of the same name.

Note that this is only for destination guides. If you use it on other pages, you'll get breadcrumb menus all right, but you'll mess up other software. Please, don't do that.

It is not needed for breadcrumb navigation on district subpages, but it should be used anyway.

If no category exists for the parameter a small Create category link will be placed at the bottom of the article to assist in creation.

To use it, add {{isPartOf|name of other place}} to the bottom of a destination guide. The name of the other place does not have be in URL-encoded format - spaces are OK.

See Project:Breadcrumb navigation for more information. de:Vorlage:IsIn es:Plantilla:EstáEn fr:Modèle:Dans it:Template:IsIn nl:Sjabloon:IsIn pl:Szablon:Jest w pt:Predefinição:Fica em ro:Format:IsIn ru:Шаблон:В sv:Mall:IsIn

Generation of breadcrumbs for destination article, by noting at the top of the article that the article is a subset of another article.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Is part of1

Identify a Wikivoyage article that your article is a part of geographically. Choose the article that represents the smallest available next size up that is available.

Example
North Africa is part of Africa; Egypt is part of North Africa; Sinai is part of Egypt
Page namerequired