User:JJR

From Ephemeral Film Wiki
Revision as of 22:01, 27 November 2021 by JJR (talk | contribs) (→‎tpl)
Jump to navigation Jump to search

A user is me!

batch move

https://www.mediawiki.org/wiki/Manual:MoveBatch.php

tpl

tips

Making emptiness and undefinedness equivalent

It is often convenient if assigning the empty string to a parameter has the same effect as not assigning any value to it, as the difference is somewhat abstract, and as mentioned, in some cases there is not even the choice. Also, for example "p=" may be put for convenience, to be filled in later, and/or meant to make explicit that the template has a parameter p, but at this time we do not give it a value.

Making emptiness and undefinedness equivalent can for example be achieved by exclusively using {{{p|}}}, not {{{p}}} and not {{{p|q}}} for a non-empty q, or for example using {{#if:{{{p|}}}|..{{{p}}}..|..}} (i.e., using {{{p}}} only in branches of branching functions where it is defined and non-empty).