User:Egocarib: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:
* [[Special:ExpandTemplates]]
* [[Special:ExpandTemplates]]
* [[Special:CargoTables]]
* [[Special:CargoTables]]
===Example of how to use the debug console when editing/creating a Module===
frame=mw.getCurrentFrame()<br>
frame.args={someArg='this is the argument'}<br>
val = frame.args.someArg<br>
mw.log(val)<br>
:&lt;outputs <code>this is the argument</code>&gt;
val2 = frame:preprocess(val)<br>
:&lt;expands any templates if they were passed into the argument&gt;
mw.logObject(frame.args)<br>
:&lt;shows the full structure of the frames.args object&gt;





Revision as of 20:37, 20 August 2019

egocarib

A peculiar contraption.

Also known as exanguination microtubules in some parasangs.

Perfect



My Pages


Other Useful Pages


Example of how to use the debug console when editing/creating a Module

frame=mw.getCurrentFrame()
frame.args={someArg='this is the argument'}
val = frame.args.someArg
mw.log(val)

<outputs this is the argument>

val2 = frame:preprocess(val)

<expands any templates if they were passed into the argument>

mw.logObject(frame.args)

<shows the full structure of the frames.args object>


Etcetera