Template:Task heading: Difference between revisions
Content added Content deleted
(create new template to standardize something I've done with inline CSS styles on task pages, so far) |
(make it possible to link to task description subsections) |
||
Line 1: | Line 1: | ||
<includeonly><div style="margin:20px 0 10px 0; line-height:1.1; font-size:18px;">{{{1}}}</div></includeonly><noinclude> |
<includeonly><div id="{{#replace:{{{1|}}}| |_}}" style="margin:20px 0 10px 0; line-height:1.1; font-size:18px;">{{{1}}}</div></includeonly><noinclude> |
||
This template can be used to show a header inside the introduction of a task page (i.e. the part above the TOC), in order to break up long task descriptions into multiple sections. |
This template can be used to show a header inside the introduction of a task page (i.e. the part above the TOC), in order to break up long task descriptions into multiple sections. |
||
Revision as of 07:59, 20 August 2016
This template can be used to show a header inside the introduction of a task page (i.e. the part above the TOC), in order to break up long task descriptions into multiple sections.
The header is styled exactly the same way as the header of the TOC, which makes it look nice and tidy.
- Usage
- The first argument is the header title to show.
- Example
{{introheader|The task}} ... {{introheader|Test cases}} ... {{introheader|See also}} ...
Which renders as:
- The task
- ...
- Test cases
- ...
- See also
- ...