Module:LoadData/doc: Difference between revisions

Content deleted Content added
Bump rating
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 4:
A more complex version of [[Module:Data]] with more options and the ability to select indexes with an inequality operator.
 
== Usage ==
<syntaxhighlight lang="wikitext">{ &#123;{#invoke:{{BASEPAGENAME}}|Module name|index1|2 lteq=index2 limit|...|}}</syntaxhighlight>
 
<syntaxhighlight lang="wikitext">{{#invoke:{{BASEPAGENAME}}|Module name|index1|2 lteq=index2 limit|...|}}</syntaxhighlight>
 
* Zeroth parameter is the name of the data module to read, without ''Module:'', e.g. <code>Example/data</code>
Line 14 ⟶ 13:
* {{Para|if nil}} is the string to return if the result is nil. Default is nil, which comes out as the empty string.
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandboxSandbox other| |
<!-- Please, add this module categories below this line. Thanks! -->
 
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
<!-- Please, add this documentation interwikis below this line. Thanks! -->
[[pt:Módulo:LoadData/doc]]
</noinclude>