Template:CRT section/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Transcludes a section from a COM:CRT/Country page for use in a list of similar sections

Usage

{{CRT section |Page= |ENsection= |TRsection= |Level= |Shortcut= |lang= }}

  • Renders a heading line with the country name in the page language
  • Renders a box to the right that links to the section from which the text is transcluded
  • Renders the transcluded text, or No information available if the section is not found or is empty.
  • When used on a page in a language other than English, transcludes from the page language version of the COM:CRT/Country page if present, and the English version otherwise.
  • Typically invoked from a translatable template that supplies the standard heading level, shortcut and section names. E.g. {{FOP Country}}, {{Stamps Country}}, {{DM Country}}, {{TOO Country}}, {{CUR Country}}

Template parameters

ParameterDescriptionDefaultStatus
PageName of the subpage of Commons/Copyright rules by territory
E.g. Page=Canada for Commons/Copyright rules by territory/Canada.
emptyrequired
ENsectionName of the section in the English version of the pageemptyrequired
TRsectionName of the section in the version of the page that matches the page language of the containing page, if present.emptyrequired
LevelHeading level for the heading to be placed before the transcluded sectionemptyrequired
Shortcutprefix of shortcut for this type of section.
E.g. Shortcut=FOP will render a link named COM:FOP Countryname
emptyrequired
langlanguage to use in selecting page versionpage languageoptional

Additional information

The template is intended to be used in the following namespaces: the Commons namespace

The template is intended to be used by the following user groups: all users

Relies on:

Localization

العربية  български  čeština  Deutsch  English  français  magyar  日本語  한국어  македонски  Nederlands  português do Brasil  русский  ไทย  中文

This template makes use of {{Autotranslate}} and the translate extension.


Translate this template now!
 Administrate translations.