Difference between pages "Template:File" and "Template:Stepwise"

(Difference between pages)
 
 
Line 1: Line 1:
<includeonly><div style="margin-bottom: 0.3em; padding: 3px; border: none;"><tt>{{#if:{{{name|}}}|'''{{{name|}}}'''{{#set:Mentions file={{#explode:{{{name}}}|/|-1}}}}}}</tt><span style="color: #888;"> {{#if:{{{lang|}}}| ({{{lang}}} source code)}}</span> {{#if:{{{desc|}}}| - {{{desc}}}}}{{#tag:{{#if:{{{lang|}}}|syntaxhighlight|pre}}|
+
<includeonly>{{#ifeq:{{#varexists:stepcount}}|1|{{#vardefineecho:stepcount|{{#expr:{{#var:stepcount}}+1}}}}|{{#vardefineecho:stepcount|0}}}}</includeonly>
{{{body}}}
+
|lang={{{lang}}}}}
+
</div>{{#if:{{{recipe|}}}|{{stepwise}}{{#subobject:|step={{{step|}}}|stepCount={{#var:stepcount}}|In recipe={{{recipe|}}}|+sep=,|action={{{action}}}|filename={{{name}}}|body={{{body}}}}}}}</includeonly>
+

Revision as of 04:14, February 19, 2015