Template:Unset param: Difference between revisions
From He is Coming Official Wiki
Didn't seem to work as intended. Maybe this? Tag: Reverted |
OK. Change the use case slightly. Still useful. |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude><span class="error">{{#ifeq:{{{2|no}}}|no|[{{{1}}}] not set!|{{{2}}}}}</span></onlyinclude> | ||
==Demos== | ==Demos== | ||
<p>{{Unset param|rarity}}</p> | <p>{{Unset param|rarity}}</p> | ||
<p>{{Unset param|title|Page author omitted the title. Please nag them.}}</p> | <p>Title: {{{title|{{Unset param|title|Page author omitted the title. Please nag them.}}}}}</p> | ||
==Parameters== | ==Parameters== | ||
# symbolic name of the template parameter we want to use here, or alert all users to the fact of its absence | # symbolic name of the template parameter we want to use here, or alert all users to the fact of its absence | ||
# specific error message to display; if blank, use "[{{{1}}}] not set!" | # specific error message to display; if blank, use "[{{{1}}}] not set!" | ||
Latest revision as of 18:58, 29 August 2025
[{{{1}}}] not set!
Demos
[rarity] not set!
Title: Page author omitted the title. Please nag them.
Parameters
- symbolic name of the template parameter we want to use here, or alert all users to the fact of its absence
- specific error message to display; if blank, use "[{{{1}}}] not set!"


