Difference between revisions of "Template:Cleanup"

From Second Life Wiki
Jump to navigation Jump to search
(Shamelessly copied from wiki.openstreetmap.org which includes plenty of translations already)
(Wikipedia version of the Cleanup template; on the SL wiki, Ambox needs to have a default text.)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
|type = content
|{{error|1=You must add a {{para|reason}}parameter to this Cleanup template – replace it with <code><nowiki>{{Cleanup|</nowiki>{{#if:{{{1|}}}|{{{1|}}}{{!}}|}}{{#if:{{{date|}}}|<nowiki>date=</nowiki>{{{date|}}}{{!}}}}<nowiki>reason=<Fill reason here>}}</nowiki></code>, or remove the Cleanup template.<br style="clear:both;">
|text = {{LangSwitch|lang={{{lang|{{langcode}} }}}
}}{{Category handler
   |nocat    = {{{nocat|}}}
    |1= This page is being considered for [[{{LL|WikiProject Cleanup}}|cleanup]]. Please [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|discuss this page]].
  |main    = {{DMC|Cleanup tagged articles without a reason field|from|{{{date|}}}}}
{{main other
  | name  = Cleanup
  | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
  | type  = style
  | class = ambox-Cleanup
  | text  = {{{text|This {{{1|{{SUBJECTSPACE formatted}}}}} '''may require {{Wikipedia|Wikipedia:cleanup|cleanup}} to meet this wiki's [[Editing Guidelines]]'''.  {{#if:{{{2|{{{reason|}}}}}}
    |The specific problem is: '''{{Terminate sentence|{{{2|{{{reason}}}}}}}}'''
    |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
  }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can{{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}
    |&#59; the [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]] may contain suggestions.
  | small = {{{small|}}}
  | sect  = {{{1|}}}
  | issue = may '''require {{Wikipedia|Wikipedia:cleanup|cleanup}}''' to meet this wiki's [[Editing Guidelines]]. {{#if:{{{2|{{{reason|}}}}}}
    |The specific problem is: '''{{Terminate sentence|{{{2|{{{reason}}}}}}}}'''
  | talk  = {{{talk|{{{talksection|}}}}}}
  | fix  = {{#if:{{{2|{{{reason|}}}}}}|
    |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
  }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can.
  | removalnotice = yes
  | date  = {{{date|}}}
  | cat  = Articles needing cleanup
  | all  = All pages needing cleanup
  | cat2  = Cleanup tagged articles with{{#if:{{{2|{{{reason|}}}}}}||out}} a reason field
   |cs = Tato stránka je navrhována pro přepracování. Prosím, [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|podívejte se do diskuse]].
  |de = Diese Seite sollte durch das [[DE:WikiProject Cleanup|WikiProject Cleanup]] überarbeitet werden. Mehr dazu auf der [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|Diskussionsseite]].
  |en = This page is being considered for [[WikiProject Cleanup|cleanup]]. Please [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|discuss this page]].
  | demospace = {{{demospace|}}}
  |es = Se ha considerado que esta página requiere una [[ES:WikiProyecto Limpieza|limpieza]]. Por favor, [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|debate aquí sobre el tema]].
  | type      = style
  |fa = این صفحه [[{{LL|WikiProject Cleanup|lang=fa}}|برای پاکسازی]]<!--
  | text      = This {{{1|{{SUBJECTSPACE formatted}}}}} '''may require {{Wikipedia|Wikipedia:cleanup|cleanup}} to meet this wiki's [[Editing Guidelines]]'''. {{#if:{{{2|{{{reason|}}}}}}
    --> در نظر گرفته شده است. لطفاً<!--
    |The specific problem is: '''{{Terminate sentence|{{{2|{{{reason}}}}}}}}'''
    --> [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|دربارهٔ این صفحه بحث کنید]].
    |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
  |fr = Cette page est considérée comme devant faire l’objet d’un [[FR:WikiProjet Nettoyage|nettoyage]]. Merci d’[[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|en discuter ici]].
  }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can{{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}
  |it = Questa pagina è stata presa in considerazione per la  [[IT:WikiProject Cleanup|pulizia]]. Per favore [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|discutine qua]].
    |&#59; the [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]] may contain suggestions.
  |ja = このページは[[{{LL|WikiProject Cleanup|lang=ja}}|整理]]が必要とみなされています。[[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|このページについて議論]]してください。
  |ko = 이 문서는 [[{{LL|WikiProject Cleanup|lang=ko}}|정리가]] 필요로 합니다. [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|이 문서에 대해 토론]]하세요.
  |pl = Ta strona jest brana pod uwagę do [[{{LL|WikiProject Cleanup|lang=pl}}|uporządkowania]]. Proszę o uwagi na stronie [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|dyskusji dotyczącej tej strony]] lub jej wersji angielskiej.
  |pt = Esta página está sendo considerada para a [[Pt:Projeto de limpeza do wiki|limpeza]]. Por favor, [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|discuta sobre isso]].
  |ro = Această pagină este luată în considerare pentru [[{{LL|WikiProject Cleanup}}|curățare]]. Vă rog, [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|discutați despre această pagină]].
  |ru = Эта страница предлагается для [[RU:WikiProject Cleanup|очистки]]. Пожалуйста посетите страницу [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|страницу обсуждения]].
  |uk = Ця сторінка в даний час розглядається для [[{{LL|WikiProject Cleanup|lang=uk}}|очищення]]. Будь ласка, [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|обговоріть цю сторінку]].
  }}{{#if: {{{1|{{{reason|}}}}}}
  | <div style="margin-top:.5em;text-align:{{dir|left|right}};font-size:smaller;line-height:normal">{{{1|{{{reason|}}}}}}</div>
  | <small>When the issue has been fully resolved this tag should be removed.</small>
| demospace = {{{demospace|<noinclude>main</noinclude>}}}
|nocat = {{{nocat|}}}
|categories = <includeonly>[[Category:{{#switch:{{lc:{{#if:{{{lang|}}}|{{{lang|}}}|{{Langcode}}}}}}
{{Category handler
<!-- The 7 languages with dedicated uppercase namespaces -->
  |page    = {{SUBJECTPAGENAME}}
  |de = DE:Cleaning Request
  |nocat    = {{{nocat|}}}
  |es = ES:Petición de limpieza
  |category =
  |fr = FR:Demande de nettoyage
{{DMC|Wikipedia categories needing cleanup|from|{{{date|}}}}}
  |it = IT:Cleaning Request
  |ja = JA:整理リクエスト
   |template = {{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1}}|Template:Cleanup||{{DMC|Wikipedia templates needing cleanup|from|{{{date|}}}}}}}
  |nl = NL:Cleaning Request
  |other    =
   |ru = RU:Требуется проверка
{{DMCA|Wikipedia pages needing cleanup|from|{{{date|}}}}}
<!-- all other languages -->
  |en = Cleaning Request
  |ko = Ko:정리 요청
  |cs = Cs:Žádost na přepracování
  |ar|ca|da|el|et|eu|fa|fi|fy|he|hu|lv|pl|pt|ro|sk|sl|sq|sv|tr|uk|vi|zh-hans|zh-hant = {{lc:{{#if:{{{lang|}}}|{{{lang|}}}|{{Langcode}}}}}}:Cleaning Request
  |#default={{#ifexist:Category:{{lc:{{#if:{{{lang|}}}|{{{lang|}}}|{{Langcode}}}}}}:Cleaning Request
    | {{lc:{{#if:{{{lang|}}}|{{{lang|}}}|{{Langcode}}}}}}:Cleaning Request
    | Cleaning Request

Revision as of 17:05, 15 September 2022

[Edit] [🔄Purge] Template-info.png Template documentation


	"description": "Template used to propose some cleanup of a page",
    "format": "inline",
	"params": {
		"1": {
			"aliases": ["reason"],
			"label": "reason",
			"description": "The reason the article is in need of cleanup",
            "example": "The reason ...",
			"type": "content"
		"2": {
			"description": "discussion page name if not equal to the discussion page of the page the template is placed on",
			"example": "Talk:Wiki / 2=Tag:highway=motorway",
			"type": "wiki-page-name"
		"lang": {
			"description": "language code, use if the language inferred from the page title is not correct",
			"example": "uk",
			"type": "string",
			"default": "en"
		"nocat": {
			"description": "insert any text to switch off categorisation, useful for wiki manuals like \"Wiki organisation\"",
			"type": "string"

Add this template at the top of pages requiring some cleanup.

  • A short optional text may also be specified in the first parameter (possibly named |reason=) to describe or explain the cleanup actions that need to be performed within the page including this template.
  • The talk page linked from the message is by default the talk page associated to the current page, but an alternative talk page may be specified in optional second parameter.
  • Specify the language of the message by |lang=*, otherwise the language is determined from the current page (using {{Langcode}}).

See also