Template:Cleanup: Difference between revisions
mNo edit summary |
restore the previous version Tag: Manual revert |
||
| (8 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Simply add < | Simply add <code><nowiki>{{Cleanup}}</nowiki></code> at the top of an article that contains sources and content but lacks proper format. | ||
{{Cleanup}} | |||
</ | === Parameters === | ||
< | * <code>Issue 1</code>, <code>Issue 2</code>, <code>Issue 3</code>, <code>Issue 4</code> — list specific issues with the article. | ||
<div | * <code>nocat=yes</code> — suppress automatic categorisation. | ||
* <code>clear=false</code> — don't insert a <code><nowiki>{{clear}}</nowiki></code> before the box. | |||
<span style="margin-right:8px;">🧽🫧</span>''' | === 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;"> | ||
<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 class="mw-collapsible mw-collapsed" id="mw-customcollapsible-cleanupmore" style="margin-top:0.4em; padding-top:0.4em; border-top:1px solid rgba(89,220,253,0.3); font-size:0.9em;"> | |||
<span class="mw-customtoggle- | Common issues include not following the correct preload outline ([[Template:IncidentPreload|incident]], [[Template:CompanyPreload|company]], [[Template:ProductPreload|product]]), references that don't use <code><nowiki><ref></ref></nowiki></code> or [[Template:Cite web|Cite web]], leftover "WIP" markers, or long quotes not wrapped in [[Template:Quote|Quote]]. You can help by applying the relevant preload sections, converting raw URLs into proper citations, and removing editor notes. | ||
<div class="mw- | |||
</div> | </div> | ||
</div><includeonly>{{#ifeq:{{NAMESPACE}}||{{#ifeq:{{{nocat|}}}|yes||[[Category:Articles in need of additional work]][[Category:Articles lacking clear structure]]}}}}</includeonly> | |||
Latest revision as of 13:56, 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.