Template:Action: Difference between revisions
Jump to navigation
Jump to search
Tom Morris (talk | contribs) (adding 'done' functionality) |
m (cat) |
||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ # | {{#ifeq: {{{1}}} | done | ||
|<strike style="color:blue><b>ACTION:</b></strike> | |<strike style="color:blue"><b>ACTION:</b></strike> | ||
|<span style="color:red"><b>ACTION:</b></span> | |{{#ifeq:{{{2}}}|done|<strike style="color:blue"><b>ACTION{{#if:{{{1}}}| {{{1}}}:|:}}</b></span>|<span style="color:red"><b>ACTION{{#if:{{{1|}}}| {{{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: