|
|
Line 77: |
Line 77: |
| ** <code>#ifexist</code> is evaluated before <code>#regex</code> | | ** <code>#ifexist</code> is evaluated before <code>#regex</code> |
| ** expensive (see [[mw: Help:Extension:ParserFunctions ##ifexist]]) | | ** expensive (see [[mw: Help:Extension:ParserFunctions ##ifexist]]) |
|
| |
| == Testing template arguments ==
| |
|
| |
| [[User:Arseniiv/TodoTest]] 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 ===
| |
| {{User:Arseniiv/TodoTest}}
| |
|
| |
| === one argument ===
| |
| {{User:Arseniiv/TodoTest|expand}}
| |
|
| |
| === multiple arguments ===
| |
| {{User:Arseniiv/TodoTest|add color name|expand|unify precision}}
| |
|
| |
| === saturated argument ===
| |
| {{User:Arseniiv/TodoTest|add color name|expand|cleanup|add example|improve layout|unify precision|review|read}}
| |
|
| |
| === additional comment ===
| |
| {{User:Arseniiv/TodoTest|unify precision|comment=An occasionally appearing surplus decimal place <code>5</code> gives a deceptive impression of higher accuracy.}}
| |
|
| |
| === new category (useful byproduct?) ===
| |
| {{User:Arseniiv/TodoTest|unify precision|simplify writing style|description=This page reads like a scientific paper not like a wiki page}}
| |
|
| |
|
| == Testing factor notation == | | == Testing factor notation == |