Template:Action: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
(tweak)
m (cat)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<span style="color:red">Action:</span>
{{#ifeq: {{{1}}} | done
|<strike style="color:blue"><b>ACTION:</b></strike>
|{{#ifeq:{{{2}}}|done|<strike style="color:blue"><b>ACTION{{#if:{{{1}}}|&nbsp;{{{1}}}:|:}}</b></span>|<span style="color:red"><b>ACTION{{#if:{{{1|}}}|&nbsp;{{{1}}}}}:</b></span>}}
}}<noinclude>
==Usage==
*If the first or second parameters are "done" then the action is blue and striked as complete.
*If the first parameter is a reference text (like "6.1") then this is formatted along with the text "ACTION".
==Examples==
<nowiki>{{action|6.1}}</nowiki>
{{action|6.1}}
<nowiki>{{action|6.1|done}}</nowiki>
{{action|6.1|done}}
[[Category:Action point templates]]
</noinclude>

Latest revision as of 16:46, 20 August 2013

ACTION:

Usage

  • If the first or second parameters are "done" then the action is blue and striked as complete.
  • If the first parameter is a reference text (like "6.1") then this is formatted along with the text "ACTION".

Examples

{{action|6.1}}

ACTION 6.1:

{{action|6.1|done}}

ACTION 6.1: