Template:CategoryPage

From Wikicarpedia
Revision as of 09:25, 1 September 2024 by Petul (talk | contribs)
Jump to navigation Jump to search

Description

Template for category page content.

Parameters

  • translation (optional) - When true, a bar with languages will appear. When [cs|fr|ro|...] - language of translation - the category can be used for any language.
  • sortingtitle (optional) [{{PAGENAME}}] - Name used for sorting current page in Category listing (can also be used {{TranslatedPageName}}). (Detailed description of the parameter in Template:UX.)
  • seotitle (optional) [{{TextCarcassonne/{{{translation|}}}}} - {{TextCategory/{{{translation|}}}}}: {{PAGENAME}}] - Title showed when sharing page (usually used {{TextCarcassonne}} - {{TextCategory}}:{{TranslatedPageName}}). (Detailed description of the parameter in Template:UX.)
  • breadcrumbs (optional) [{{Breadcrumbs|mainpagelink={{{translation|}}}|link1={{CarcassonneLink/{{{translation|}}}}}|displaytitle={{TextCategory/{{{translation|}}}}}: {{PAGENAME}}}}] - Breadcrumbs (usually used {{Breadcrumbs|link1={{CarcassonneLink}}}}).
  • description (required) - Category Description. The description will also appear in SEO. (Detailed description of the parameter in Template:UX.)

Examples

Wiki Description

{{CategoryPage|translation=true
|sortingtitle={{TranslatedPageName}}
|seotitle={{TextCarcassonne}} - {{TextCategory}}:{{TranslatedPageName}}
|breadcrumbs={{Breadcrumbs|link1={{CarcassonneLink}}}}
|description=Text description...
}}

Example of use with added parameters

Text description...

{{CategoryPage|translation=cs
|description=Text description...
}}

Example of a translated category with default parameters

Kategorie: CategoryPage

Text description...