Difference between revisions of "Workflow example"

From Organic Design wiki
(add source)
Line 6: Line 6:
 
{|
 
{|
 
|-
 
|-
 +
|valign=top|
 +
{{#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>
 
{{#Workflow:Emoticon
 
{{#Workflow:Emoticon
 
  | Smile    = [[Image:Face-smile.svg|75px]]
 
  | Smile    = [[Image:Face-smile.svg|75px]]
Line 14: Line 25:
 
  | Surprise = [[Image:Face-surprise.svg|75px]]
 
  | Surprise = [[Image:Face-surprise.svg|75px]]
 
}}
 
}}
 +
</pre>
 
|}
 
|}
  
 
[[Category:Examples‎]]
 
[[Category:Examples‎]]

Revision as of 20:18, 2 December 2008

Info.svg Logged in users gain additional functionality for this example. Please create an account
  • 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 = Face-smile.svg Sad = Face-sad.svg Wink = Face-wink.svg Kiss = Face-kiss.svg Surprise = Face-surprise.svg

}}

        

{{#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]]
}}