Module:Check for unknown parameters/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
Added class="error" to hidden message example as even style="display:none" messages can show up in certain places e.g. Hovercards |
|||
Line 19: | Line 19: | ||
<pre> |
<pre> |
||
{{#invoke:check for unknown parameters|check |
{{#invoke:check for unknown parameters|check |
||
|unknown=<span class=error>Sorry, I don't recognize _VALUE_</span> |
|unknown=<span class="error">Sorry, I don't recognize _VALUE_</span> |
||
|arg1|arg2|...|argN}} |
|arg1|arg2|...|argN}} |
||
</pre> |
</pre> |
||
Line 25: | Line 25: | ||
<pre> |
<pre> |
||
{{#invoke:check for unknown parameters|check |
{{#invoke:check for unknown parameters|check |
||
|unknown=<span style="display:none">HIDDEN ERROR: Usage of "_VALUE_" is not recognized</span> |
|unknown=<span class="error" style="display:none">HIDDEN ERROR: Usage of "_VALUE_" is not recognized</span> |
||
|arg1|arg2|...|argN}} |
|arg1|arg2|...|argN}} |
||
</pre> |
</pre> |