Module:Sandbox/Jackmcbarn/variables/doc: Difference between revisions
< Module:Sandbox | Jackmcbarn | variables
imported>Anomalocaris m (<font> → <div style>) |
(No difference)
|
Latest revision as of 06:48, 2 Mayıs 2019
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}}