User:Xenwolf/SandBox: Difference between revisions
→Testing User:Xenwolf/Template:EDOs: better stick to default for this special sister wiki |
→Testing template arguments: new section |
||
Line 99: | Line 99: | ||
** <code>#ifexist</code> is evaluated before <code>#regex</code> | ** <code>#ifexist</code> is evaluated before <code>#regex</code> | ||
** expensive (see [[Mediawikiwiki: Help:Extension:ParserFunctions ##ifexist]]) | ** expensive (see [[Mediawikiwiki: Help:Extension:ParserFunctions ##ifexist]]) | ||
== Testing template arguments == | |||
[[/TodoArgs]] ist used to generate the text (and auto-categorization) of the following sections. | |||
The visual design is completely left out, but a variable list of (up to 7) positional arguments is supported as well as an optional named argument without auto-categorization. | |||
=== no argument === | |||
{{/TodoArgs}} | |||
=== one argument === | |||
{{/TodoArgs|expand}} | |||
=== multiple arguments === | |||
{{/TodoArgs|add color name|expand|unify precision}} | |||
=== saturated argument === | |||
{{/TodoArgs|add color name|expand|delete|add example|improve layout|unify precision|review|read}} | |||
=== additional comment === | |||
{{/TodoArgs|unify precision|comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy.}} | |||
=== new category (useful byproduct?) === | |||
{{/TodoArgs|unify precision|simplify writing style|description=This page reads like a scientific paper not like a wiki page}} |