The site was updated to MediaWiki 1.43. If anything looks broken or there are glitches, report on the talk page or Discord in #wiki-support.
Template:IfSemantics/doc
Jump to navigation
Jump to search
This is the Documentation subpage of Template:IfSemantics This page's sole purpose is to explain how the Template should be used. Do not use it for other purposes. |
{{IfSemantics}} is a template used to control how content is displayed depending on whether the extension Semantic MediaWiki (SMW) is enabled or not.
Usage
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.