Template:Exists

From Girls' Frontline Wiki
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

Echecks if a page exists. If it exists, the result will be 1, otherwise 0.

Parameters[edit]

Parameter name Required? Default value Description
Anonymous parameter 1 No (n/a) A page name. For example: DSR-50/Live2D or IDW

Usage[edit]

See the template's testcases:


Testing a page which does exist
Wiki code
{{Exists|IDW}}
Main version 1
Sandbox version Template:Exists/sandbox
Testing a page which does not exist
Wiki code
{{Exists|M4A1/BestDollEver}}
Main version 0
Sandbox version Template:Exists/sandbox
Testing a page which does not exist with then/else parameters
Wiki code
{{Exists|M4A1/BestDollEver|then=THEN|else=ELSE}}
Main version ELSE
Sandbox version Template:Exists/sandbox