Difference between revisions of "Stationery Wiki:SemanticWiki"
(added Boolean) |
m |
||
| Line 28: | Line 28: | ||
===Boolean=== | ===Boolean=== | ||
| − | To set a boolean data type use the following on the | + | To set a boolean data type use the following on the property's page |
<nowiki>[[Has type::boolean]]</nowiki> | <nowiki>[[Has type::boolean]]</nowiki> | ||
Latest revision as of 18:50, 23 May 2017
Stationery Wiki has the Semantic MediaWiki extension installed.
You can find an introduction and explanation at the Semantic MediaWiki project pages.
If you want to try this out use the Semantic Wiki sandbox.
Example properties used[edit]
Pens[edit]
To indicate the manufacturer of the pen we use Made by, e.g. The Perkeo is an upcoming fountain pen from [[Made by::Kaweco]].
If the pen is actually manufactured by another company we could use Manufactured by instead.
Podcasts[edit]
For podcasts we currently the properties shown in the example below
{{#set:
podcast episode number=256
|podcast guest=Joey Cofone
|podcast length=75 minutes
}}
Boolean[edit]
To set a boolean data type use the following on the property's page
[[Has type::boolean]]
Valid Boolean options are: 1, 0, true, false, t, f, yes, no, y, n
More information can be found at Help:Property_declaration.