Template:Demob action

From PCSAR

Revision as of 18:34, 22 February 2012 by Brett Wuth (Talk | contribs)
Jump to: navigation, search

This is the documentation for the template Template:Demob action

Template:Demob action/Doc:

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
 


To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.

Personal tools