Template:Demob action/Doc

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Line 19: Line 19:
: records who the action is assigned to
: records who the action is assigned to
-
If the action still needs attention (determined by neither <code>done</code> nor <code>won't</code> being set),
+
If the action still needs attention (determined by neither <code>done</code> nor <code>won't</code> being set, but an action being provided),
-
the ''Completed'' box is highlighted.
+
the ''Completed'' box is highlighted in yellow.
 +
 
 +
 
 +
{{demo table|
 +
{{demo row|<nowiki>{{demob table start}}{{demob action}}{{demob table end}}</nowiki><!--
 +
-->| {{demob table start}}{{demob action}}{{demob table end}} }}
 +
{{demo row|<nowiki>{{demob table start}}{{demob action|action}}{{demob table end}}</nowiki><!--
 +
-->| {{demob table start}}{{demob action|action}}{{demob table end}} }}
 +
{{demo row|<nowiki>{{demob table start}}{{demob action|done=y|action}}{{demob table end}}</nowiki><!--
 +
-->| {{demob table start}}{{demob action|done=y|action}}{{demob table end}} }}
 +
{{demo row|<nowiki>{{demob table start}}{{demob action|won't=n/a|action}}{{demob table end}}</nowiki><!--
 +
-->| {{demob table start}}{{demob action|won't=n/a|action}}{{demob table end}} }}
 +
}}

Revision as of 09:04, 22 February 2012

The template {{Demob action|done=...|won't=...|assign=...| action}} creates a line in a table of demobilization actions.

See template:demob table start.

The parameters

action
lists the action to be taken, and any supporting information.
For visual clarity in the edit window, it may start on its own line.
done
indicates that the action has been completed
Any value is accepted and displayed, such as done=y
won't
indicates that the action won't be completed, doesn't need to be completed, or doesn't apply
Any value is accepted and displayed, such as won't=n/a
assign
records who the action is assigned to

If the action still needs attention (determined by neither done nor won't being set, but an action being provided), the Completed box is highlighted in yellow.


You type... You get...
{{demob table start}}{{demob action}}{{demob table end}} 
Action Completed Won't do n/a Assigned to
 
{{demob table start}}{{demob action|action}}{{demob table end}} 
Action Completed Won't do n/a Assigned to
action
{{demob table start}}{{demob action|done=y|action}}{{demob table end}} 
Action Completed Won't do n/a Assigned to
action y
{{demob table start}}{{demob action|won't=n/a|action}}{{demob table end}} 
Action Completed Won't do n/a Assigned to
action n/a