Template:Cleanup: Difference between revisions
Copied data from Template:Incomplete to add issue parameter. |
add a text colour so the notice reads in dark mode Tag: Reverted |
||
| Line 8: | Line 8: | ||
* <code>clear=false</code> — don't insert a <code><nowiki>{{clear}}</nowiki></code> before the box. | * <code>clear=false</code> — don't insert a <code><nowiki>{{clear}}</nowiki></code> before the box. | ||
=== Live preview === | === Live preview === | ||
</noinclude>{{#switch:{{{clear|}}}|#default={{clear}}|false=}}<div style="border:1px solid rgba(89,220,253,0.8); background:rgba(89,220,253,0.08); padding:6px 12px; margin:0.5em auto; border-radius:3px; font-size:0.95em; max-width:650px;"> | </noinclude>{{#switch:{{{clear|}}}|#default={{clear}}|false=}}<!-- explicit text colour added so the notice stays readable in dark mode --><div style="border:1px solid rgba(89,220,253,0.8); background:rgba(89,220,253,0.08); color:#202122; padding:6px 12px; margin:0.5em auto; border-radius:3px; font-size:0.95em; max-width:650px;"> | ||
<span style="font-size:1.5em; margin-right:8px; vertical-align:middle; line-height:1;">🧽🫧</span><span style="vertical-align:middle;">'''This article needs cleanup'''. It contains sources and content but lacks proper formatting/structure.</span><br>{{#if:{{{Issue 1|}}}|<div style="margin-top:1em;">In particular:<ol style="margin:0.2em 0 0 1.5em;"><li>{{{Issue 1}}}</li>{{#if:{{{Issue 2|}}}|<li>{{{Issue 2}}}</li>}}{{#if:{{{Issue 3|}}}|<li>{{{Issue 3}}}</li>}}{{#if:{{{Issue 4|}}}|<li>{{{Issue 4}}}</li>}}</ol></div>}} | <span style="font-size:1.5em; margin-right:8px; vertical-align:middle; line-height:1;">🧽🫧</span><span style="vertical-align:middle;">'''This article needs cleanup'''. It contains sources and content but lacks proper formatting/structure.</span><br>{{#if:{{{Issue 1|}}}|<div style="margin-top:1em;">In particular:<ol style="margin:0.2em 0 0 1.5em;"><li>{{{Issue 1}}}</li>{{#if:{{{Issue 2|}}}|<li>{{{Issue 2}}}</li>}}{{#if:{{{Issue 3|}}}|<li>{{{Issue 3}}}</li>}}{{#if:{{{Issue 4|}}}|<li>{{{Issue 4}}}</li>}}</ol></div>}} | ||
<div style="text-align:center; margin-top:0.3em;"><span class="mw-customtoggle-cleanupmore" style="cursor:pointer; font-size:0.85em; font-weight:bold;">More info ▼</span></div> | <div style="text-align:center; margin-top:0.3em;"><span class="mw-customtoggle-cleanupmore" style="cursor:pointer; font-size:0.85em; font-weight:bold;">More info ▼</span></div> | ||
Revision as of 13:34, 12 June 2026
Usage
Simply add {{Cleanup}} at the top of an article that contains sources and content but lacks proper format.
🧽🫧This article needs cleanup. It contains sources and content but lacks proper formatting/structure.
Common issues include not following the correct preload outline (incident, company, product), references that don't use <ref></ref> or Cite web, leftover "WIP" markers, or long quotes not wrapped in Quote. You can help by applying the relevant preload sections, converting raw URLs into proper citations, and removing editor notes.
Parameters
Issue 1,Issue 2,Issue 3,Issue 4— list specific issues with the article.nocat=yes— suppress automatic categorisation.clear=false— don't insert a{{clear}}before the box.
Live preview
🧽🫧This article needs cleanup. It contains sources and content but lacks proper formatting/structure.
Common issues include not following the correct preload outline (incident, company, product), references that don't use <ref></ref> or Cite web, leftover "WIP" markers, or long quotes not wrapped in Quote. You can help by applying the relevant preload sections, converting raw URLs into proper citations, and removing editor notes.