模板:維基共享资源方针与指引

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This page is a translated version of a page Template:Commons policies and guidelines and the translation is 94% complete. Changes to the translation template, respectively the source language can be submitted through Template:Commons policies and guidelines and have to be approved by a translation administrator.
Outdated translations are marked like this.


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. ‎<nowiki>-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 ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


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.