Template:Cleanup: Difference between revisions
mNo edit summary |
Copied data from Template:Incomplete to add issue parameter. |
||
| Line 4: | Line 4: | ||
{{Cleanup}} | {{Cleanup}} | ||
=== Parameters === | === Parameters === | ||
* <code>Issue 1</code>, <code>Issue 2</code>, <code>Issue 3</code>, <code>Issue 4</code> — list specific issues with the article. | |||
* <code>nocat=yes</code> — suppress automatic categorisation. | * <code>nocat=yes</code> — suppress automatic categorisation. | ||
* <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=}}<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;"> | ||
<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> | <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> | ||
<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;"> | <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;"> | ||