User:Ferretwings/Parameters

From Terraria Wiki
Jump to navigation Jump to search

Parameter testing. Produces a table of tests for empty and null values. Usage: {{User:Ferretwings/Parametertesting}} | | {{{1}}} || | {{{1}}} || | {{#if:{{{1}}}|True|False}} || | True || | {{#switch:|{{{1}}}=empty|not empty}} || | not empty || | {{#ifeq:{{{1}}}||True|False}} || | False |- |{{{1|}}} || || {{#if:{{{1|}}}|True|False}} || False || {{#switch:|{{{1|}}}=empty|not empty}} || empty || {{#ifeq:{{{1|}}}||True|False}} || True |- |{{{1|alt}}} || alt || {{#if:{{{1|alt}}}|True|False}} || True || {{#switch:|{{{1|alt}}}=empty|not empty}} || not empty || {{#ifeq:{{{1|alt}}}||True|False}} || False |- |{{{p}}} || {{{p}}} || {{#if:{{{p}}}|True|False}} || True || {{#switch:|{{{p}}}=empty|not empty}} || not empty || {{#ifeq:{{{p}}}||True|False}} || False |- |{{{p|}}} || || {{#if:{{{p|}}}|True|False}} || False || {{#switch:|{{{p|}}}=empty|not empty}} || empty || {{#ifeq:{{{p|}}}||True|False}} || True |- |{{{p|alt}}} || alt || {{#if:{{{p|alt}}}|True|False}} || True || {{#switch:|{{{p|alt}}}=empty|not empty}} || not empty || {{#ifeq:{{{p|alt}}}||True|False}} || False