Template:To do and Template:To do/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
Add Template:clear before dotted box to allow for very long article names. See "Very long article name" on testcases page, and talk page discussion. |
Technical 13 (talk | contribs) HTML5 compliance. |
||
Line 1: | Line 1: | ||
{{ |
{| class="{{Talk other|demospace={{{demospace|}}}|tmbox tmbox-notice|ombox ombox-notice}} {{#ifeq:{{{small|}}}|yes|mbox-small}} {{#ifeq:{{{collapsed|}}}|yes|collapsible collapsed}} t-todo" style="border-collapse: separate; border-spacing: 4px; {{{style|}}}" |
||
<tr><th class="mbox-text" style="text-align: left; padding: 1px;">{{ |
|||
{{#ifeq:{{{collapsed|}}}|yes|<div class="mw-collapsible mw-collapsed">}} |
|||
⚫ | |||
#ifeq: {{{image|}}} | none |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}}:'''{{sp}}{{ |
|||
#if: {{{inner|}}} |
#if: {{{inner|}}} |
||
| <!--nothing--> |
| <!--nothing--> |
||
| <span class="noprint plainlinks" style="float: right; text-align: right; {{# |
| <span class="noprint plainlinks" style="float: right; text-align: right; font-size: {{#ifeq:{{{small|}}}|yes|100|88}}%; font-weight: normal;">[{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=edit{{ |
||
#ifeq: {{{nopreload}}} | yes | | &preload=Template:Tasks/Preload}} |
#ifeq: {{{nopreload}}} | yes | | &preload=Template:Tasks/Preload}} |
||
}} {{ |
}} {{ |
||
#ifeq: {{{small|}}} | yes | |
#ifeq: {{{small|}}} | yes | e | edit |
||
}}] '''·''' [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=history}} {{ |
}}] '''·''' [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=history}} {{ |
||
#ifeq: {{{small|}}} | yes | |
#ifeq: {{{small|}}} | yes | h | history |
||
}}] '''·''' [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=watch}} {{ |
}}] '''·''' [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=watch}} {{ |
||
#ifeq: {{{small|}}} | yes | |
#ifeq: {{{small|}}} | yes | w | watch |
||
}}] '''·''' [{{fullurl:{{#rel2abs:.}}|action=purge}} {{ |
}}] '''·''' [{{fullurl:{{#rel2abs:.}}|action=purge}} {{ |
||
#ifeq: {{{small|}}} | yes | |
#ifeq: {{{small|}}} | yes | r  | refresh  |
||
}}] |
}}]</span> |
||
}}{{ |
|||
#ifeq: {{{lmd|yes}}} | no || {{ |
|||
#ifeq: {{{image|}}} | none |
|||
⚫ | |||
| {{#ifeq:{{{small|}}}|yes|| '''·''' Updated {{#time:Y-m-d| {{REVISIONTIMESTAMP:{{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }} }} }}}} |
|||
⚫ | |||
| <!-- no LMD --> |
|||
⚫ | |||
}} |
|||
⚫ | |||
}}</span>{{ |
|||
}}:</th><td class="mbox-empty-cell"></td></tr>{{ |
|||
#ifeq: {{{lmd|yes}}} | no || {{ |
|||
⚫ | |||
#ifexist: {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }} |
|||
| {{#ifeq:{{{small|}}}|yes|<div>Updated {{#time:Y-m-d| {{REVISIONTIMESTAMP:{{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }} }} }}</div>}} |
|||
| <!-- no LMD --> |
|||
}} |
|||
⚫ | |||
}} |
}} |
||
|- |
|||
{{clear}} |
|||
⚫ | |||
{{#ifeq:{{{collapsed|}}}|yes|<div class="mw-collapsible-content">}}<!-- |
|||
⚫ | |||
⚫ | |||
>{{#if:{{{maxheight|}}}|<div style="max-height: {{{maxheight}}}; overflow: auto;">}} |
|||
{{{inner|{{ |
{{{inner|{{ |
||
#ifexist: {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }} |
#ifexist: {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }} |
||
Line 45: | Line 31: | ||
| <!--it doesn't--> ''To-do list is empty: remove <nowiki>{{To do}}</nowiki> tag or click on edit to add an item.'' |
| <!--it doesn't--> ''To-do list is empty: remove <nowiki>{{To do}}</nowiki> tag or click on edit to add an item.'' |
||
}}}}}{{#if:{{{maxheight|}}}|</div>}} |
}}}}}{{#if:{{{maxheight|}}}|</div>}} |
||
|- |
|||
</div><!-- |
|||
⚫ | |||
#if: {{{below|}}} | <tr class="todo-abovebelow"><td colspan="2">{{{below}}}</td></tr> |
|||
⚫ | |||
}}{{ |
|||
-->{{#ifeq:{{{collapsed|}}}|yes|</div></div>}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
#ifeq: {{{nocats}}} | yes | | {{{category|[[Category:Wikipedia pages with to-do lists|{{PAGENAME}}]]}}}{{ |
#ifeq: {{{nocats}}} | yes | | {{{category|[[Category:Wikipedia pages with to-do lists|{{PAGENAME}}]]}}}{{ |
||
#if: {{{inner|}}} | | {{ |
#if: {{{inner|}}} | | {{ |
||
Line 55: | Line 43: | ||
|{{ns:2}} |
|{{ns:2}} |
||
|{{ns:3}}= |
|{{ns:3}}= |
||
|#default= |
|#default=[[Category:Wikipedia pages with to-do lists, unused]] |
||
}} |
}} |
||
}} |
}} |
||
Line 61: | Line 49: | ||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
<!-- |
<!-- Please add categories to the /doc subpage, not here. --> |
||
</noinclude> |
</noinclude> |