Template:Numbered div/s
Appearance
This template uses block elements, e.g. See H:DIVSPAN for details. |
This template is intended to assist in the formatting of material with numbered paragraphs, and uses a <div>
based approach.
Usage
[edit]{{numbered div|1|2[|3|4|pb]}} where
Params
[edit]- 1 number of paragraph or section.
- @ Override automatic anchor generation.
- 2 Text of paragraph or section.
- [3] (optional) Set left margin (in ems) for paragraph section.
- [4] (optional) Set left margin (in ems) of paragraph numbering (relative to 3).
- [pb] (optional) Set padding below paragraph section, (defaults to 1em)
Multi page use
[edit]{{numbered div/s|1||[3|4|pb|@]}}
Content
<!-- Page footer-->
{{numbered div/e}}
<!-- Page break -->
...
<!-- page header -->
{{numbered div/s|||[3|4|pb|@]}}
<!--page content
Content
{{numbered div/e}}
/s and /e calls must be correctly nested if you have them inside each other.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Number/Display value of pragraph/ | String | required |
Left margin for Paragraph (ems) | 3 | no description | Number | optional |
4 | 4 | Left margin of numbering relative to Param 3 | Number | optional |
pb | pb | vertical "Lead" at bottom | Number | optional |
style | style | no description | Unknown | optional |
style2 | style2 | no description | Unknown | optional |
astyle | astyle | no description | Unknown | optional |
@ | @ | no description | Unknown | optional |
tstyle | tstyle | no description | Unknown | optional |