Permanently protected template


From Yugipedia
Revision as of 18:36, 3 June 2019 by Dinoguy1000 (talk | contribs) (Protected "Template:IfSemantics": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Template documentation[view] [edit] [history] [purge]

{{IfSemantics}} is a template used to control how content is displayed depending on whether the extension Semantic MediaWiki (SMW) is enabled or not.


The content of the first unnamed parameter is what displays if SMW is enabled. The content of the second unnamed parameter is what will be displayed if SMW is not enabled.

For example. {{IfSemantics|X|Y}} will produce X if SMW is enabled and Y if it isn't enabled.

See also