Template:Unset param: Difference between revisions

From He is Coming Official Wiki
Introduction of this convenience template.
 
Didn't seem to work as intended. Maybe this?
Tag: Reverted
Line 1: Line 1:
<onlyinclude>{{{{{{1}}}{{!}}<span class="error">{{#ifeq:{{{2|no}}}|no|[{{{1}}}] not set!|{{{2}}}}}</span>}}}</onlyinclude>
<onlyinclude>&lbrace;&lbrace;&lbrace;{{{1}}}{{!}}<span class="error">{{#ifeq:{{{2|no}}}|no|[{{{1}}}] not set!|{{{2}}}}}</span>&rbrace;&rbrace;&rbrace;</onlyinclude>
==Demos==
==Demos==
<p>{{Unset param|rarity}}</p>
<p>{{Unset param|rarity}}</p>

Revision as of 18:50, 29 August 2025

{{{{{{1}}}|[{{{1}}}] not set!}}}

Demos

{{{rarity|[rarity] not set!}}}

{{{title|Page author omitted the title. Please nag them.}}}

Parameters

  1. symbolic name of the template parameter we want to use here, or alert all users to the fact of its absence
  2. specific error message to display; if blank, use "[{{{1}}}] not set!"