83,675
edits
Hoof Hearted (talk | contribs) (Interwiki template) |
Hoof Hearted (talk | contribs) m (Text replacement - "IfExample" to "If example") |
||
Line 22: | Line 22: | ||
;Example: | ;Example: | ||
<pre>{{ #if: {{{1|}}} | The name of this site is {{{1}}}. | This site has an unknown name. }}</pre> | <pre>{{ #if: {{{1|}}} | The name of this site is {{{1}}}. | This site has an unknown name. }}</pre> | ||
Let's say this is included in the template ''[[Template: | Let's say this is included in the template ''[[Template:If example|ifExample]]''. If <nowiki>{{ifExample|WikiIndex}}</nowiki> is entered, '{{ifExample|WikiIndex}}' will show up because value was specified, as 'WikiIndex'. <nowiki>{{ifExample|not WikiIndex}}</nowiki> makes '{{ifExample|not WikiIndex}}', because value is specified, as 'not WikiIndex'. <nowiki>{{ifExample}}</nowiki> makes just '{{ifExample}}' because it was left blank. | ||
==ifeq== | ==ifeq== |
edits