Jump to content

Module:Based on/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Line 5: Line 5:
To directly call this module (all arguments except work name optional):
To directly call this module (all arguments except work name optional):


{{Mlx|Based on|lua_main|{{var|Work name}}|{{var|Writer 1}}|{{var|Writer 2}}|...}}
<pre><nowiki>
{{#invoke:Based on|lua_main|Work Name|Writer 1|Writer 2|...}}
</nowiki></pre>


To call it from a template, passing on the arguments from it:
To call it from a template, passing on the arguments from it:


{{Mlx|Based on|main}}
<pre><nowiki>
{{#invoke:Based on|main}}
</nowiki></pre>


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 12:28, 29 May 2023

This module implements {{Based on}}

Usage

To directly call this module (all arguments except work name optional):

{{#invoke:Based on|lua_main|Work name|Writer 1|Writer 2|...}}

To call it from a template, passing on the arguments from it:

{{#invoke:Based on|main}}