Module:Sandbox/Jackmcbarn/variables/doc

< Module:Sandbox‎ | Jackmcbarn‎ | variables
Revision as of 06:48, 2 May 2019 by imported>Anomalocaris (<font> → <div style>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Sandbox/Jackmcbarn/variables


UsageEdit

DON'T USE THIS, OR ANYTHING LIKE IT. EVER. SERIOUSLY.
*Setting somekey to somevalue (shouldn't see anything): {{#invoke:Sandbox/Jackmcbarn/variables|set|somekey|somevalue}}
*Setting otherk to otherv (shouldn't see anything): {{#invoke:Sandbox/Jackmcbarn/variables|set|otherk|otherv}}
*Getting somekey: {{#invoke:Sandbox/Jackmcbarn/variables|get|somekey}}
*Getting otherk: {{#invoke:Sandbox/Jackmcbarn/variables|get|otherk}}
*Getting somekey: {{#invoke:Sandbox/Jackmcbarn/variables|get|somekey}}
*Getting otherk: {{#invoke:Sandbox/Jackmcbarn/variables|get|otherk}}
*Clearing all variables (shouldn't see anything): {{#invoke:Sandbox/Jackmcbarn/variables|done}}

Produces:

  • Setting somekey to somevalue (shouldn't see anything):
  • Setting otherk to otherv (shouldn't see anything):
  • Getting somekey:
  • Getting otherk:
  • Getting somekey:
  • Getting otherk:
  • Clearing all variables (shouldn't see anything):
{{#invoke:Sandbox/Jackmcbarn/variables|function_name}}