View source for Module:LuacardTemplates2

From Archon Arcana - The KeyForge Wiki

You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in one of the groups: Administrators, translators, contributor, essayist.


You can view and copy the source of this page.

--Module:LuacardTemplates
--canstage
--[[ Guidelines for this template:
A note on how it is called:
This template is rendered by Module:Luacard, which will replace any text
surrounded by "${}". That text is then rendered as a normal mediawiki template.
Uses a variant of moustache (https://mustache.github.io/mustache.5.html) for
inserting variables from cargo. The differences from the spec are, you wrap
variables in ${} instead of {{ }}. This is to enable you to still use
{{ }} for mediawiki templates. The other difference is variables are NOT
html escaped by default. Most of the time, we are outputting html, so it
didn't make sense to force us to specify that every time we want it.
Examples of handy things from moustache:
Just render a variable:
${some_variable}
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
000
1:0
Debug console
* The module exports are available as the variable "p", including unsaved modifications. * Precede a line with "=" to evaluate it as an expression or use print(). Use mw.logObject() for tables. * Use mw.log() and mw.logObject() in module code to send messages to this console.

Template used on this page:

Return to Module:LuacardTemplates2.