Template:Todo: Difference between revisions

From SikhiWiki
Jump to navigationJump to search
(Created page with "{| class="{{talk other|demospace={{{demospace|}}}|tmbox tmbox-notice|ombox ombox-notice}} {{#ifeq:{{{small|}}}|yes|mbox-small}} {{#ifeq:{{{collapsed|}}}|yes|collapsible collap...")
 
(Blanked the page)
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; {{{style|}}}" cellspacing="4"
 
<tr><th class="mbox-text" style="text-align:left; padding:1px;">{{
  #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
  }}]&thinsp;<b>&middot;</b>&thinsp;[{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=history}} {{
    #ifeq: {{{small|}}} | yes | h | history
  }}]&thinsp;<b>&middot;</b>&thinsp;[{{fullurl:{{#rel2abs:{{{list|./to do}}}|{{{target|}}}}}|action=watch}} {{
    #ifeq: {{{small|}}} | yes | w | watch
  }}]&thinsp;<b>&middot;</b>&thinsp;[{{fullurl:{{#rel2abs:.}}|action=purge}} {{
    #ifeq: {{{small|}}} | yes | r&nbsp; | refresh&nbsp;
  }}]</span>
}}{{
  #ifeq: {{{image|}}} | none
  | <!--nothing-->
  | [[Image:{{{image|Stock post message.svg}}}|{{#ifeq:{{{small|}}}|yes|20|25}}px]]
}} [[Wikipedia:To-do list|To-do{{#ifeq:{{{small|}}}|yes||&#32;list}}]]{{
  #ifeq: {{#ifeq:{{{smallfor|}}}|yes|no|{{{small|}}}}}|yes||&#32;for {{{for|[[:{{{target|{{SUBJECTPAGENAME}}}}}]]}}}
}}:</th><td class="mbox-empty-cell"></td></tr>{{
  #if: {{{above|}}} | <tr class="todo-abovebelow"><td colspan="2">{{{above}}}</td></tr>
}}
|-
| class="todo-box" colspan="2" style="{{talk other|demospace={{{demospace|}}}|background:#fffaef;}} border:1px dotted gray; padding: 2px 4px;" |{{{inner|{{
  #ifexist: {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }}
  | <!--/to do exists, show it-->&#x20;
{{ {{ #rel2abs: {{{list|./to do}}} | {{{target|}}} }} }}
  | <!--it doesn't--> <small>''To-do list is empty: remove <nowiki>{{to do}}</nowiki> tag or click on edit to add an item.''</small>
}}}}}
|-
{{
  #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>
}}
|}<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=[[Category:Wikipedia pages with to-do lists, unused]]
      }}
    }}
  }}
}}</includeonly><noinclude>
{{Documentation}}
<!-- Please add interwikis to the /doc subpage, not here. -->
</noinclude>

Revision as of 12:50, 3 May 2012