Difference between revisions of "Template:IfSemantics/doc"
(Copy over from Template:IfSemantics) |
|||
Line 15: | Line 15: | ||
* {{t|SMW banner}} | * {{t|SMW banner}} | ||
* {{t|SMW notice}} | * {{t|SMW notice}} | ||
− | <includeonly>[[Category:Templates/technical | + | <includeonly> |
+ | [[Category:Semantic MediaWiki templates]] | ||
+ | [[Category:Templates/technical]]</includeonly> |
Revision as of 18:55, 22 December 2012
This is a documentation subpage for Template:IfSemantics. It contains usage information, categories and other content that is not part of the original template page. |
Semantic MediaWiki is enabled. (refresh) |
{{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.
See also
- {{IfNegref}}
- {{SMWF}}
- {{SMW banner}}
- {{SMW notice}}