Template: Action

From LibrePlanet
Jump to: navigation, search
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Action
 
{{Action
|Action name= Name of action
+
|Name= Name of action
|Action description= Short description of action
+
|Description= Short description of action
|Action url= URL to any longer description or blog-post or page that describes action
+
|URL= URL to any longer description or blog-post or page that describes action
|Action group= A comma-separated list of group pages (E.g., Group:Defectivebydesign)  
+
|Group= A comma-separated list of group pages (E.g., Group:Defectivebydesign)  
|Action status=A boolean (yes or no) value as to whether or not this action is still on-going.  
+
|Status=A boolean (yes or no) value as to whether or not this action is still on-going.  
 
}}
 
}}
 
</pre>
 
</pre>
Line 14: Line 14:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |Action name
+
! style="text-align: center; background-color:#ccccff;" colspan="2" |Action
| [[Action name::{{{Action name|}}}]]
+
| [[Action name::{{{Name|}}}]]
 
|-
 
|-
! Action description
+
! Description
| [[Action description::{{{Action description|}}}]]
+
| [[Action description::{{{Description|}}}]]
 
|-
 
|-
! Action url
+
! URL
| [[Action url::{{{Action url|}}}]]
+
| [[Action url::{{{URL|}}}]]
 
|-
 
|-
! Action group
+
! Group(s)
| {{#arraymap:{{{Action group|}}}|,|x|[[Action group::x]]}}
+
| {{#arraymap:{{{Group|}}}|,|x|[[Action group::x]]}}
 
|-
 
|-
! Action status
+
! Status
| [[Action status::{{{Action status|}}}]]
+
| [[Action status::{{{Status|}}}]]
 
|}
 
|}
  
 
[[Category:Action]]
 
[[Category:Action]]
 
</includeonly>
 
</includeonly>

Revision as of 17:43, 13 April 2011

This is the "Action" template. It should be called in the following format:

{{Action
|Name= Name of action
|Description= Short description of action
|URL= URL to any longer description or blog-post or page that describes action
|Group= A comma-separated list of group pages (E.g., Group:Defectivebydesign) 
|Status=A boolean (yes or no) value as to whether or not this action is still on-going. 
}}

Edit the page to see the template text.