Home
Random
Log in
Settings
About Safer nicotine wiki
Disclaimers
Search
Template
:
Ifeq
Language
Watch
View source
Revision as of 21:34, 23 March 2017 by
Wikipedia>Jo-Jo Eumerus
(Changed protection level for "
Template:Ifeq
": Allowing template editors ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(diff) ← Older revision |
Latest revision
(
diff
) |
Newer revision →
(
diff
)
Template documentation
[
view
] [
edit
] [
history
] [
purge
]
This template is like
#ifeq
, but does not
trim
the "then" and "else" part.
Usage
{{ifeq|"abc"|"abc"| 1 | 0 }} gives " 1 "
{{ifeq|"abc"|"def"| 1 | 0 }} gives " 0 "
{{ifeq|{{PAGENAME}}|Ifeq| 1 | 0 }} gives " 1 "
See also
{{
If
}}
m:Template:Ifeq
The above
documentation
is
transcluded
from
Template:Ifeq/doc
.
(
edit
|
history
)
Editors can experiment in this template's sandbox
(
create
|
mirror
)
and testcases
(
create
)
pages.
Add categories to the
/doc
subpage.
Subpages of this template
.