This page is semi-protected against editing.

Template:Commons policies and guidelines

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


Template documentationview · edit · history · purge ]

Navigation box for Commons policies and guidelines

Usage

{{Commons policies and guidelines}}

Template parameters

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. Blocked Null all-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw Blocked Null all-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Navigation box for Commons policies and guidelines

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
navbox statestate

State of the navbox

Suggested values
collapsed uncollapsed autocollapse plain off
Default
autocollapse
Lineoptional

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

Placement: At the bottom of the page

Relies on:
{{Navbox}}

Localization

Deutsch  català  dansk  English  español  українська  Tiếng Việt  Türkçe  日本語  slovenščina  polski  മലയാളം  galego  فارسی  македонски  русский  中文  العربية  suomi  मराठी  български  svenska  Bahasa Indonesia  português do Brasil  français  magyar  ગુજરાતી  euskara  한국어  עברית  italiano  português  বাংলা  Bahasa Melayu  سنڌي  +/−

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