User:Jim Grisham/Sandbox/Reference/Demos/Rendered variables

__INDEX__

Examples (live)
(note: add labels for each, or create a template to do that automatically)

(note: allow ‘transcluding’ this section into other pages for (temporary) troubleshooting purposes?)

(note: these ‘magic word variables’ can be given a different page name as a parameter, but they use a colon instead of the pipe  character used with regular MediaWiki templates)

Page variables:


 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)

Page variables (encoded versions):
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)
 * (en-wp only)

Site variables:

Other variables:

Current date and time:

Page revision data:

Wiki statistics:

Parser functions - Metadata:

Related templates
Subpages:

‘Show variable example’ template

 * See: Namespace

Invoking :

Variant 1
... would produce:
 * Typing
 *  Variable      
 * ... by replacing itself with the following HTML and wikitext:
 * (Note: this appears to work even without wrapping itself within HTML ‘dictionary list’ tags (i.e. )
 * (Note: this appears to work even without wrapping itself within HTML ‘dictionary list’ tags (i.e. )

Variant 2
... would produce:
 * Typing
 * Variable  :
 * ... by replacing itself with the following HTML and wikitext:

Variant 3
(to do: an entire table row, using either Wiki or HTML markup)

Notes on template design

 * Could I use another template to automate the creation of documentation itself (instead of typing it manually as I did for the variants above? (July 2022-jhg)