Difference between revisions of "Workflow example"

From Organic Design wiki
(Can't seem to make a link to Workflow:Emoticon)
m
 
Line 1: Line 1:
*See [[Extension talk:Workflow.php]] for detailed discussion and notes about this extension
+
{{legacy}}
*The sequential order of this workflow examples is characterised in the article [[Workflow:Emoticon]]
+
*See [[MW:Extension:Workflow]] for detailed discussion and notes about this extension
*Changing the state of the emoticon recategorises the page using an ajax request
+
*Changing the state of the emoticon recategorises the page using an [[w:AJAX|AJAX]] request
 
*Buttons to change state only appear for users who have edit permission (in this wiki that means any logged in users)
 
*Buttons to change state only appear for users who have edit permission (in this wiki that means any logged in users)
  
 
{|
 
{|
 
|-
 
|-
| {{#Workflow:Emoticon|state=Sad|size=75px}}
+
|valign=top|
 +
<pre>
 +
{{#Workflow:Emoticon
 +
| Smile    = [[Image:Face-smile.svg|75px]]
 +
| Sad      = [[Image:Face-sad.svg|75px]]
 +
| Wink    = [[Image:Face-wink.svg|75px]]
 +
| Kiss    = [[Image:Face-kiss.svg|75px]]
 +
| Surprise = [[Image:Face-surprise.svg|75px]]
 +
}}
 +
</pre>
 +
|
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 +
|
 +
<pre>
 +
{{#Workflow:Emoticon
 +
| Smile    = [[Image:Face-smile.svg|75px]]
 +
| Sad     = [[Image:Face-sad.svg|75px]]
 +
| Wink    = [[Image:Face-wink.svg|75px]]
 +
| Kiss    = [[Image:Face-kiss.svg|75px]]
 +
| Surprise = [[Image:Face-surprise.svg|75px]]
 +
}}
 +
</pre>
 
|}
 
|}
[[Category:Examples/Workflow‎]]
 

Latest revision as of 22:37, 18 November 2014

Legacy.svg Legacy: This article describes a concept that has been superseded in the course of ongoing development on the Organic Design wiki. Please do not develop this any further or base work on this concept, now this page is for historic record only.
  • See MW:Extension:Workflow for detailed discussion and notes about this extension
  • Changing the state of the emoticon recategorises the page using an AJAX request
  • Buttons to change state only appear for users who have edit permission (in this wiki that means any logged in users)
{{#Workflow:Emoticon
 | Smile    = [[Image:Face-smile.svg|75px]]
 | Sad      = [[Image:Face-sad.svg|75px]]
 | Wink     = [[Image:Face-wink.svg|75px]]
 | Kiss     = [[Image:Face-kiss.svg|75px]]
 | Surprise = [[Image:Face-surprise.svg|75px]]
}}

        

{{#Workflow:Emoticon
 | Smile    = [[Image:Face-smile.svg|75px]]
 | Sad      = [[Image:Face-sad.svg|75px]]
 | Wink     = [[Image:Face-wink.svg|75px]]
 | Kiss     = [[Image:Face-kiss.svg|75px]]
 | Surprise = [[Image:Face-surprise.svg|75px]]
}}