Template:Demob action/Doc

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Current revision (09:05, 22 February 2012) (edit) (undo)
 
Line 32: Line 32:
{{demo row|<nowiki>{{demob table start}}{{demob action|won't=n/a|action}}{{demob table end}}</nowiki><!--
{{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}} }}
-->| {{demob table start}}{{demob action|won't=n/a|action}}{{demob table end}} }}
 +
{{demo row|<nowiki>{{demob table start}}{{demob action|
 +
 +
}}{{demob table end}}</nowiki><!--
 +
-->| {{demob table start}}{{demob action|
 +
 +
}}{{demob table end}} }}
}}
}}

Current revision

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
{{demob table start}}{{demob action|

}}{{demob table end}} 
Action Completed Won't do n/a Assigned to
 
Personal tools