Template:Rename
- Problem/Question: I found an error in the template and my default language is not English. What can I do?
- Answer: The translation into your language (
cs
) might be outdated. Compare to Template:Rename/i18n, please.
- Answer: The translation into your language (
(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.
- For categories use {{Move}}. For any other pages, use the "move" tab (Special:MovePage/FULLPAGENAME) or {{Edit request}}.
- If you have already uploaded the same file under a new name, use {{Duplicate|the new name}} instead of {{Rename}}.
Šablona automaticky plní následující kategorie:
- Category:Media requiring renaming, if at least the first parameter is given.
- Category:Incomplete media renaming requests, if the request is incomplete.
- Category:Media renaming requests needing target, if without the first or any parameter.
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
Parametr | Popis | Výchozí hodnota | Stav | |
---|---|---|---|---|
1 | new name | new_name.ext − New file name. (See Commons:File naming for general guidelines.) New names that include / are invalid; please do not use them. | empty | povinný |
2 rationale | rationale | A number between 1 and 6 (see Template:File renaming reasons/i18n) | empty | povinný |
3 reason | 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. | empty | povinný |
user | requestor | The requestor's user name / Last user who edited the page. – Not a signature. | empty | nepovinný |
Template data | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
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 Newly created template documentation and imports Another option, especially for imported templates, or for users with JSON experience, is placing raw Wikipedia's help about TemplateData • Commons-specific information Used to request file rename.
|
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
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.
{{rename}}
(please do not omit parameters 1 and 2 and 3)
This creates (by calling {{Rename needs target}}):
- and tags the file as Category:Media renaming requests needing target.