Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Dump/doc
(section)
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!
== Dump of arguments == [[Special:ExpandTemplates]] is useful if there is a need to view the wikitext returned by a template or module. However, ExpandTemplates does not always show exactly what a module would receive. For example, the following template gives the output shown in ExpandTemplates, but the wikitext passed to a module would actually contains [[WP:UNIQ|strip markers]]. :<code><nowiki>{{convert|1+2/3<ref>Example</ref>|ft|in}}</nowiki></code> :ExpandTemplates output, rearranged on multiple lines for clarity: ::<code><nowiki><templatestyles src="Fraction/styles.css"></templatestyles></nowiki></code> ::<code><nowiki><span class="frac" role="math">1<span class="sr-only">+</span></nowiki></code> ::<code><nowiki><span class="num">2</span>⁄<span class="den">3</span></span></nowiki></code> ::<code><nowiki><ref>Example</ref></nowiki></code> ::<code><nowiki> feet (20 in)</nowiki></code> The <code>args</code> function shows what a module receives in its arguments. :<code><nowiki>{{#invoke:dump|args|1={{convert|1+2/3<ref>Example</ref>|ft|in}}}}</nowiki></code> The output follows. For clarity, it has been rearranged on multiple lines and each [[delete character]] has been replaced with <code>β’</code>. ::<code><nowiki>β’'"`UNIQ--templatestyles-00000002-QINU`"'β’</nowiki></code> ::<code><nowiki><span class="frac" role="math">1<span class="sr-only">+</span></nowiki></code> ::<code><nowiki><span class="num">2</span>⁄<span class="den">3</span></span></nowiki></code> ::<code><nowiki>β’'"`UNIQ--ref-00000001-QINU`"'β’</nowiki></code> ::<code><nowiki> feet (20 in)</nowiki></code>
Summary:
Please note that all contributions to Stockhub 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
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)