Template:Section cleanup/doc: Difference between revisions
No edit summary |
Tag: sourceedit |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{tl|{{PAGENAME}}}} produces a small, in-line flag which marks a section as something that needs cleanup, allowing greater specificity than {{tl|cleanup}}. | {{tl|{{PAGENAME}}}} produces a small, in-line flag which marks a section as something that needs cleanup, allowing greater specificity than {{tl|cleanup}}. | ||
==Usage== | == Usage == | ||
The template can be used with either an automatically-generated message, or one that you add yourself. | The template can be used with either an automatically-generated message, or one that you add yourself. | ||
If you type | If you type {{tl|section cleanup}} then you'll get: | ||
{{section cleanup}} | {{section cleanup}} | ||
If, however, you want to define what's wrong with the section, you can use this format:< | If, however, you want to define what's wrong with the section, you can use this format:<pre>{{section cleanup|reason}}</pre> | ||
{{section cleanup|This section just has '''ugly''' grammar throughout.}} | {{section cleanup|This section just has '''ugly''' grammar throughout.}} | ||
==Caveats== | |||
== Caveats == | |||
This template should always be placed ''directly'' underneath a section header. It will look ''ugly'' if placed within the body of a section, because it only has margins specified for the right and bottom of the box. Note that this box intentionally does ''not'' [[wikipedia:template:clear|clear]] in any direction. That's why you're seeing what appears to be odd positioning, above. We ''want'' this template to have text flowing around it. You will ''never'' have two of these boxes in close proximity to each other in real use, so the effect you see, above — where headers are to the ''right'' of this template — will never occur on regular pages. Instead what you should actually get is something that looks like the following section. | This template should always be placed ''directly'' underneath a section header. It will look ''ugly'' if placed within the body of a section, because it only has margins specified for the right and bottom of the box. Note that this box intentionally does ''not'' [[wikipedia:template:clear|clear]] in any direction. That's why you're seeing what appears to be odd positioning, above. We ''want'' this template to have text flowing around it. You will ''never'' have two of these boxes in close proximity to each other in real use, so the effect you see, above — where headers are to the ''right'' of this template — will never occur on regular pages. Instead what you should actually get is something that looks like the following section. | ||
==What it looks like when properly placed== | == What it looks like when properly placed == | ||
{{section cleanup}}Balk dflkj sdklj ldsk ei w eoio | {{section cleanup}}Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f. Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f.Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f.Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f.Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f. Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f. Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f. | ||
== Template classification == | |||
This template is '''intentionally''' misclassified as "non-article". | |||
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 08:17, 10 June 2016
{{Section cleanup/doc}} produces a small, in-line flag which marks a section as something that needs cleanup, allowing greater specificity than {{cleanup}}.
Usage
The template can be used with either an automatically-generated message, or one that you add yourself.
If you type {{section cleanup}} then you'll get:
It contains several grammatical or factual errors, or otherwise offends our our Manual of Style.
If, however, you want to define what's wrong with the section, you can use this format:
{{section cleanup|reason}}
This section just has ugly grammar throughout.
Caveats
This template should always be placed directly underneath a section header. It will look ugly if placed within the body of a section, because it only has margins specified for the right and bottom of the box. Note that this box intentionally does not clear in any direction. That's why you're seeing what appears to be odd positioning, above. We want this template to have text flowing around it. You will never have two of these boxes in close proximity to each other in real use, so the effect you see, above — where headers are to the right of this template — will never occur on regular pages. Instead what you should actually get is something that looks like the following section.
What it looks like when properly placed
It contains several grammatical or factual errors, or otherwise offends our our Manual of Style.
Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f. Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f.Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f.Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f.Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f. Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f. Balk dflkj sdklj ldsk ei w eoio woooo owei owio pj s dslkj dlj fdjl sd;lfj d fd f.
Template classification
This template is intentionally misclassified as "non-article".