Jump to content

Template:WikiProjectContentCatsCrossLink/doc

From Wikipedia, the free encyclopedia

For creating cross-links between content categories and eponymous WikiProject categories..

When placed on Category:Gaelic games, it creates a link to Category:WikiProject Gaelic games

When placed on Category:WikiProject Gaelic games, it creates a link to Category:Gaelic games.

Usage

[edit]

{{WikiProjectContentCatsCrossLink}}

No parameters needed.

Optional parameter

[edit]

In some rare cases, it may be appropriate to set up links between a content category and a a WikiProject category whose name is not quite identical. In those cases, an optinal parameter can be used to identify the target.

For example, if the content category is Category:Kingdom of Ruritania, and the project category is s Category:WikiProject Ruritania

Then on Category:Kingdom of Ruritania, place {{WikiProjectContentCatsCrossLink|Ruritania}}

and on Category:WikiProject Ruritania, place {{WikiProjectContentCatsCrossLink|Kingdom of Ruritania}}

Error messages

[edit]

If the target category does not exist, an error message is displayed.

See also

[edit]