Template:Howto test: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
<nowiki>{{#if:{{{8|}}}|:# {{{8}}}}}</nowiki> | <nowiki>{{#if:{{{8|}}}|:# {{{8}}}}}</nowiki> | ||
The template can be generated using javascript by executing the following function in javascript: | <!-- | ||
The template can be generated using javascript by executing the following function in javascript ((deprecated, needs to be updated): | |||
<pre> | <pre> | ||
Line 24: | Line 25: | ||
string=string+"\n</div>{{#if:{{{file|}}}{{{video|}}}|<div class=\"editor_steps_image\">{{{file}}}{{{video|}}}</div></div>}}"; | string=string+"\n</div>{{#if:{{{file|}}}{{{video|}}}|<div class=\"editor_steps_image\">{{{file}}}{{{video|}}}</div></div>}}"; | ||
</pre> | </pre> | ||
--> | |||
</noinclude> | </noinclude> |
Revision as of 14:00, 1 November 2023
How to:
If more are needed, append:
{{#if:{{{8|}}}|:# {{{8}}}}}