This page is protected against editing.

Template:Rename

Z projektu Wikimedia Commons
Skočit na navigaci Skočit na vyhledávání
Documentationview · edit · history · purge ]
This documentation is transcluded from Template:Rename/doc.

(tato část dokumentace je k dispozici pouze v některých jazycích)

Used to request file rename, so this template is for media only.

Šablona automaticky plní následující kategorie:

Použití

{{Rename |1= |2= |3= |user= }}

(tato část dokumentace je k dispozici pouze v některých jazycích)

Named parameter (3= or reason=) must be used when an equal sign appears somewhere in the text of the reason given (as for example, inside a link).

Parametry šablony

ParametrPopisVýchozí hodnotaStav
1new namenew_name.ext − New file name. (See Commons:File naming for general guidelines.) New names that include / are invalid; please do not use them.emptypovinný
2
rationale
rationaleA number between 1 and 6 (see Template:File renaming reasons/i18n)emptypovinný
3
reason
reasonExplain how your request meets one of the criteria of the file renaming reasons. If the file name is misleading, make sure to correct the description in the {{Information}} template as well.emptypovinný
userrequestorThe requestor's user name / Last user who edited the page. – Not a signature.emptynepovinný
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData je způsob, jak uložit údaje o parametrech šablony i o šabloně samotné v podobě čitelné lidem i strojově. Je užívána Vizuálním editorem a pravděpodobně i jinými nástroji jako třeba Upload Wizard.


Existující dokumentace šablony
Na Wikimedia Commons je doporučeno užívat {{TemplateBox}} s parametry ‎useTemplateData=1 nebo ‎useTemplateData=only na ‎/doc podstránce a její vložení pomocí {{Documentation}} do šablony. Pokud je nutné, aby se šablony neexpandovaly, mohou být okolo hodnot použity tagy ‎<nowiki>.

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.

Diskuze
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

Used to request file rename.

Parametry šablony[Upravit strojový popis šablony]

Tato šablona upřednostňuje parametry formátované v jediném řádku.

ParametrPopisTypStav
new name1

new_name.ext − New file name. (See Commons:File naming for general guidelines.) New names that include “/” are invalid; please do not use them.

Souborpovinný
rationale2 rationale

A number between 1 and 6 (see Template:File renaming reasons/i18n)

Číslopovinný
reason3 reason

Explain how your request meets one of the criteria of the file renaming reasons. If the file name is misleading, make sure to correct the description in the {{information}} template as well.

Obsahpovinný
requestoruser

The requestor's user name / Last user who edited the page. – Not a signature.

Uživatelnepovinný

Další informace

Tato šablona je určena pro použití v následujících jmenných prostorech: jmenný prostor Soubor (File)

Tato šablona je určena pro použití následujícími uživatelskými skupinami: všichni uživatelé

Umístění: V horní části stránky

Viz též

(tato část dokumentace je k dispozici pouze v některých jazycích)

Lokalizace

Alemannisch  Bahasa Indonesia  British English  Canadian English  català  čeština  dansk  Deutsch  English  español  français  galego  hrvatski  italiano  lietuvių  magyar  Nederlands  occitan  polski  português  português do Brasil  română  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Ελληνικά  беларуская  беларуская (тарашкевіца)  български  македонски  русский  српски / srpski  українська  հայերեն  हिन्दी  বাংলা  മലയാളം  ဘာသာ မန်  မြန်မာဘာသာ  ไทย  한국어  日本語  中文  עברית  العربية  فارسی  +/−

Tato šablona využívá {{Autotranslate}} a překladatelské rozšíření. Strukturu šablony najdete na Template:Rename/layout.

Examples

  • {{rename|New name.jpg|3|Misspelled.}}

This creates:

and tags the file as Category:Media requiring renaming.
  • {{rename|A better name.png}} (please do not omit parameter 2 and 3)
    This creates:
and tags the file as Category:Media requiring renaming.
  • {{rename|A lousy name}} (please do not use a lousy name)
    This creates:
and tags the file as Category:Incomplete media renaming requests.
and tags the file as Category:Media renaming requests needing target.