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)
(Changed the "reason" formatting to italic and not bold, because it became a bit confusing)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Wfmessage
{{main other
|type = content
  |
|text = {{LangSwitch|lang={{{lang|{{langcode}} }}}
{{ambox
  |default={{TranslateThis|edit=Template:Cleanup
  | name  = Cleanup
     |1= This page is being considered for [[{{LL|WikiProject Cleanup}}|cleanup]]. Please [[{{{2|{{TALKPAGENAME}}#{{{talksection|Cleanup Request}}}}}}|discuss this page]].
  | 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|(unknown)}}}}}}}}''
  }}
  | 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]].
   |{{mbox
  |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í
<noinclude>
  |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
{{Documentation}}
  |#default={{#ifexist:Category:{{lc:{{#if:{{{lang|}}}|{{{lang|}}}|{{Langcode}}}}}}:Cleaning Request
</noinclude>
    | {{lc:{{#if:{{{lang|}}}|{{{lang|}}}|{{Langcode}}}}}}:Cleaning Request
    | Cleaning Request
    }}
  }}]]</includeonly>
}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 03:14, 30 May 2023


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

Usage

This is the "Wikipedia logo"TemplateData for this template used by TemplateWizard, "Wikipedia logo"VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Cleanup

{
	"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