Module:Sandbox/Jackmcbarn/variables/doc
Appearance
| This is a documentation subpage for Module:Sandbox/Jackmcbarn/variables. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as pre-alpha. It is incomplete and may or may not be in active development. Do not use it in article namespace pages. A module remains in pre-alpha until its developer, or another editor who adopts it if it is abandoned for some time, considers the basic structure complete. |
Usage
[edit]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}}