Anonymous user
Template:Task heading: Difference between revisions
show the edit link only for the default "Task" heading, not for custom ones
(list advantages) |
(show the edit link only for the default "Task" heading, not for custom ones) |
||
Line 1:
<includeonly><div id="{{#replace:{{{1|Task}}}| |_}}" style="margin:20px 0 10px 0; line-height:1.1; font-size:18px;">{{{1|Task}}}{{#ifeq:{{{1|Task}}}|Task|<span class="mw-editsection"><span class="mw-editsection-bracket">[</span>[{{fullurl:{{FULLPAGENAME}}|action=edit&section=0&summary=%2F*%20{{#replace:{{{1|Task}}}| |_}}%20*%2F%20}} edit]<span class="mw-editsection-bracket">]</span></span>}}</div></includeonly><noinclude>
This template can be used to show a heading (which won't affect the table of contents) above the task description on a [[:Category:Programming Tasks|task page]].
Line 13:
*: <small>''(Whereas <code>;Task:</code> is simply rendered in bold, with the same font size and line spacing as normal text, and therefore doesn't stand out as much as a heading, especially when the task description already uses bold text for highlights.'')</small>
* It has an edit link.
*: <small>''(
===Usage===
|