Template:Notdone: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
Created page with "18px|link=|alt= '''Not done''' <!-- -->{{#if:{{{date|}}}{{{text|}}}|<!-- condition if A or B --><!-- --><small>''(<!-- -->{{#if:{{{date|}}}|{{..."
 
unnamed 1st para
 
Line 1: Line 1:
[[File:Notdone.svg|18px|link=|alt=]]&nbsp;'''Not done'''&nbsp;<!--
[[File:Notdone.svg|18px|link=|alt=]]&nbsp;'''Not done'''&nbsp;<!--
-->{{#if:{{{date|}}}{{{text|}}}|<!-- condition if A or B --><!--
-->{{#if:{{{1|{{{date|}}} }}}{{{text|}}}|<!-- condition if A or B --><!--
--><small>''(<!--
--><small>''(<!--
   -->{{#if:{{{date|}}}|{{{date}}} }}<!--
   -->{{#if:{{{1|{{{date|}}} }}}|{{{1|{{{date|}}} }}} }}<!--
     -->{{#if:{{{date|}}}|{{#if:{{{text|}}}|&nbsp;-&nbsp;}} }}<!-- A and B
     -->{{#if:{{{1|{{{date|}}} }}}|{{#if:{{{text|}}}|&nbsp;-&nbsp;}} }}<!-- A and B
     -->{{#if:{{{text|}}}|{{{text}}} }}<!--
     -->{{#if:{{{text|}}}|{{{text}}} }}<!--
-->)''</small>}}<!--
-->)''</small>}}<!--
Line 26: Line 26:
===Parameters===
===Parameters===
;date
;date
:Use either Month YYYY or DD/MM/YYYY date format.
:Use either Month YYYY or DD/MM/YYYY date format. Also works as first parameter unnamed.
;text
;text
:Text note to be included.
:Text note to be included.

Latest revision as of 08:27, 25 February 2019

 Not done 

Documentation

Provides a cross and bold Not done. It has optional date and text parameters. Examples:

Examples

Simple no parameters.

Example task {{Notdone}}
Example task  Not done 

Expanded with parameters.

{{Notdone|date=December 2018|text=Airlock repair deemed to risky to complete.}}
 Not done (December 2018 - Airlock repair deemed to risky to complete.)

Parameters

date
Use either Month YYYY or DD/MM/YYYY date format. Also works as first parameter unnamed.
text
Text note to be included.