Template: Action

From LibrePlanet
Jump to: navigation, search
 
m (Protected "Template:Action": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(3 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Action
 
{{Action
|Action name=
+
|Name= Name of action
|Action description=
+
|Description= Short description of action
|Action url=
+
|URL= URL to any longer description or blog-post or page that describes action
|Action group=
+
|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.
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{| class="wikitable"
+
{| 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;"
! 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]]}}
 +
|-
 +
! Status
 +
| [[Action status::{{{Status|}}}]]
 
|}
 
|}
  
 
[[Category:Action]]
 
[[Category:Action]]
 
</includeonly>
 
</includeonly>

Latest revision as of 12:29, 28 October 2019

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.