Difference between revisions of "Template:Workflow"

From Organic Design wiki
Line 1: Line 1:
 
<noinclude>{{info|This template is used by the [[MW:Extension:Workflow|Workflow extension]] for the default kind of workflow state template. It is used from within the template for each state of a workflow to create a non-clickable image in the background and a title linking to the article describing the state}}</noinclude>
 
<noinclude>{{info|This template is used by the [[MW:Extension:Workflow|Workflow extension]] for the default kind of workflow state template. It is used from within the template for each state of a workflow to create a non-clickable image in the background and a title linking to the article describing the state}}</noinclude>
  
<imagemap>
+
<div {{#vardefine:i|{{{image|Face-smile.svg}}}}}{{#vardefine:s|{{{size|50px}}}}}style="width:{{#var:s}};height:{{#var:s}}; background:url({{#regex:{{localimage:{{#var:i}}}}|%(?=/./../)%|/thumb}}/{{#var:s}}-{{#var:i}}.png);">foo</div>
Image:{{{image}}}|{{{size}}}|Click to change state
 
rect 0 0 0 0 [[foo]]
 
desc none
 
</imagemap>
 

Revision as of 03:14, 25 October 2007

Info.svg This template is used by the Workflow extension for the default kind of workflow state template. It is used from within the template for each state of a workflow to create a non-clickable image in the background and a title linking to the article describing the state


foo