Template:Null/doc
Jump to navigation
Jump to search
- Description
- This template is used to do nothing.
- Purpose
- This template is used for advanced template coding. It produces the null string where a null string is preferred, or an empty template is preferred, similar to using a bitbucket or zero device (such as /dev/null)
- Dependencies
-
- none
- Syntax
- Type
{{ #if: |}}{{{{ #if: | {{{prefix}}}: }}[[{{ #ifeq: {{ #sub: null | 0 | 1 }} | : || {{ #if: || Template }} }}:null|{{ #ifeq: {{ #sub: null | 0 | 1 }} | : | : }}{{ #ifeq: | Template | Null | null }}]]{{ #if:
| |{{{2}}} }}{{ #if:
| |{{{3}}} }}{{ #if:
| |{{{4}}} }}{{ #if:
| |{{{5}}} }}{{ #if:
| |{{{6}}} }}{{ #if:
| |{{{7}}} }}{{ #if:
| |{{{8}}} }}{{ #if:
| |{{{9}}} }}{{ #if:
| |{{{10}}} }}{{ #if:
| |{{{11}}} }}{{ #if:
| |{{{12}}} }}{{ #if:
| |{{{13}}} }}{{ #if:
| |{{{14}}} }}{{ #if:
| |{{{15}}} }}{{ #if:
| |{{{16}}} }}{{ #if:
| |{{{17}}} }}{{ #if:
| |{{{18}}} }}{{ #if:
| |{{{19}}} }}{{ #if:
| |{{{20}}} }}{{ #if:
| |{{{21}}} }}}}{{ #if: | }} somewhere.
- Sample output
{{null}}
- gives...