Template:ShowNoD

From Istaria Lexica

Revision as of 12:05, 26 September 2022 by Elteria Shadowhand (talk | contribs) (Created page with "<includeonly>{{#if:{{{1|}}}|{{#ifexpr:{{formatnum:{{{1}}}|R}} > 0|{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|0}}|{{#if:{{{2|}}}|{{{2}}}|0}}}}}}</includeonly><noinclude>{{Documentation}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation (for the template shown above, sometimes hidden or invisible)

Description[edit]

Verifies if the given parameter is a valid number, else it shows a default (0). You can pass an alternative default if you wish to.

Parameters[edit]

{{ShowNoD|3233}}

{{ShowNoD|notanumber|unknown}}

{{ShowNoD|notanumber|5}}

{{ShowNoD|0|zero}}
Visit Template:ShowNoD/doc to edit this text. (How to: document correctly)