Changes
Jump to navigation
Jump to search
add nocat
<table 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: {{{image|}}} | none
| <!--nothing-->
| [[File:{{{image|Stock post message.svg}}}|{{#ifeq:{{{small|}}}|yes|20|25}}px]]
}}{{sp}}[[Wikipedia:To-do list|{{{To-do|{{{to-do|To-do}}}}}}{{#ifeq:{{{small|}}}|yes||{{sp}}list}}]]{{
#ifeq: {{#ifeq:{{{smallfor|}}}|yes|no|{{{small|}}}}}|yes|| for {{{for|[[:{{{target|{{SUBJECTPAGENAME}}}}}]]}}}
}}:{{sp}}{{
#if: {{{inner|}}}
| <!--nothing-->
| <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: {{{small|}}} | yes | E | edit
}}] '''·''' [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=history}} {{
#ifeq: {{{small|}}} | yes | H | history
}}] '''·''' [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=watch}} {{
#ifeq: {{{small|}}} | yes | W | watch
}}] '''·''' [{{fullurl:{{#rel2abs:.}}|action=purge}} {{
#ifeq: {{{small|}}} | yes | R | refresh
}}]{{
#ifeq: {{{lmd|yes}}} | no || {{
#ifexist: {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }}
| {{#ifeq:{{{small|}}}|yes|| '''·''' Updated {{#time:Y-m-d| {{REVISIONTIMESTAMP:{{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }} }} }}}}
| <!-- no LMD -->
}}
}}</span>{{
#ifeq: {{{lmd|yes}}} | no || {{
#ifexist: {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }}
| {{#ifeq:{{{small|}}}|yes|<div style="font-weight: normal;">Updated {{#time:Y-m-d| {{REVISIONTIMESTAMP:{{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }} }} }}</div>|}}
| <!-- no LMD -->
}}
}}
}}
</th>
<td class="mbox-empty-cell"></td>
</tr>
{{#if: {{{above|}}} | <tr class="todo-abovebelow"><td colspan="2">{{{above}}}</td></tr>}}
<tr><td class="todo-box" colspan="2" style="{{Talk other|demospace={{{demospace|}}}|background: #FFFAEF;}} border:1px dotted gray; padding: 2px 4px;"
>{{#if:{{{maxheight|}}}|<div style="max-height: {{{maxheight}}}; overflow: auto;">}}
{{{inner|{{
#ifexist: {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }}
| <!--/to do exists, show it--> 
{{ {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }} }}
| <!--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>}}
</td>
</tr>
{{#if: {{{below|}}}
| <tr class="todo-abovebelow"><td colspan="2">{{{below}}}</td></tr>}}
{{#if: {{{1|}}}
| <tr class="todo-priority"><td colspan="2" style="text-align: right; font-size: smaller;">'''Priority {{{1}}} {{ #ifeq: {{{1}}} | 1 | (top) }}'''</td></tr>}}
</table><includeonly>{{
#ifeq: {{{nocats}}} | yes | | {{{category|[[Category:Wikipedia pages with to-do lists|{{PAGENAME}}]]}}}{{
#if: {{{inner|}}} | | {{
#ifexist: {{#rel2abs:{{{list|./to do}}}|{{{target|}}}}} | | {{#switch:{{NAMESPACE}}
|{{ns:2}}
|{{ns:3}}=
|#default={{#ifeq: {{lc:{{{nocat|false}}}}} | false |[[Category:Wikipedia pages with to-do lists, unused]]|<!-- Category suppressed -->}}
}}
}}
}}
}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
</noinclude>
{{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: {{{image|}}} | none
| <!--nothing-->
| [[File:{{{image|Stock post message.svg}}}|{{#ifeq:{{{small|}}}|yes|20|25}}px]]
}}{{sp}}[[Wikipedia:To-do list|{{{To-do|{{{to-do|To-do}}}}}}{{#ifeq:{{{small|}}}|yes||{{sp}}list}}]]{{
#ifeq: {{#ifeq:{{{smallfor|}}}|yes|no|{{{small|}}}}}|yes|| for {{{for|[[:{{{target|{{SUBJECTPAGENAME}}}}}]]}}}
}}:{{sp}}{{
#if: {{{inner|}}}
| <!--nothing-->
| <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: {{{small|}}} | yes | E | edit
}}] '''·''' [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=history}} {{
#ifeq: {{{small|}}} | yes | H | history
}}] '''·''' [{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=watch}} {{
#ifeq: {{{small|}}} | yes | W | watch
}}] '''·''' [{{fullurl:{{#rel2abs:.}}|action=purge}} {{
#ifeq: {{{small|}}} | yes | R | refresh
}}]{{
#ifeq: {{{lmd|yes}}} | no || {{
#ifexist: {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }}
| {{#ifeq:{{{small|}}}|yes|| '''·''' Updated {{#time:Y-m-d| {{REVISIONTIMESTAMP:{{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }} }} }}}}
| <!-- no LMD -->
}}
}}</span>{{
#ifeq: {{{lmd|yes}}} | no || {{
#ifexist: {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }}
| {{#ifeq:{{{small|}}}|yes|<div style="font-weight: normal;">Updated {{#time:Y-m-d| {{REVISIONTIMESTAMP:{{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }} }} }}</div>|}}
| <!-- no LMD -->
}}
}}
}}
</th>
<td class="mbox-empty-cell"></td>
</tr>
{{#if: {{{above|}}} | <tr class="todo-abovebelow"><td colspan="2">{{{above}}}</td></tr>}}
<tr><td class="todo-box" colspan="2" style="{{Talk other|demospace={{{demospace|}}}|background: #FFFAEF;}} border:1px dotted gray; padding: 2px 4px;"
>{{#if:{{{maxheight|}}}|<div style="max-height: {{{maxheight}}}; overflow: auto;">}}
{{{inner|{{
#ifexist: {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }}
| <!--/to do exists, show it--> 
{{ {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }} }}
| <!--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>}}
</td>
</tr>
{{#if: {{{below|}}}
| <tr class="todo-abovebelow"><td colspan="2">{{{below}}}</td></tr>}}
{{#if: {{{1|}}}
| <tr class="todo-priority"><td colspan="2" style="text-align: right; font-size: smaller;">'''Priority {{{1}}} {{ #ifeq: {{{1}}} | 1 | (top) }}'''</td></tr>}}
</table><includeonly>{{
#ifeq: {{{nocats}}} | yes | | {{{category|[[Category:Wikipedia pages with to-do lists|{{PAGENAME}}]]}}}{{
#if: {{{inner|}}} | | {{
#ifexist: {{#rel2abs:{{{list|./to do}}}|{{{target|}}}}} | | {{#switch:{{NAMESPACE}}
|{{ns:2}}
|{{ns:3}}=
|#default={{#ifeq: {{lc:{{{nocat|false}}}}} | false |[[Category:Wikipedia pages with to-do lists, unused]]|<!-- Category suppressed -->}}
}}
}}
}}
}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
</noinclude>