Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:LoadData/doc
(section)
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Usage== {{#invoke:{{BASEPAGENAME}}|Module name|index1|2 lteq=index2 limit|...|}} * Zeroth parameter is the name of the data module to read, without ''Module:'', e.g. <code>Example/data</code> * Next parameters, for an index {{Var|N}} starting at one, are called {{Para|{{Var|N}}}} for the exact index you need, coerced to number if possible, {{Para|{{Var|N}} lteq}} to select the highest numerical index less than or equal to the argument, or {{Para|{{Var|N}} gteq}} for the opposite. * {{Para|template}} is a ''printf''-style string to interpolate the resulting value(s) into, e.g. <code><nowiki><b>%s</b></nowiki></code>. * {{Para|preprocess}} is like {{Para|template}} except that <code>frame:preprocess</code> is run on it; this makes e.g. template transclusions work. * {{Para|if nil}} is the string to return if the result is nil. Default is nil, which comes out as the empty string. <includeonly>{{Sandbox 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>
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)