Practical Semantic Mediawiki: Difference between revisions

Jump to navigation Jump to search
Line 187: Line 187:
== Inline property annotation ==
== Inline property annotation ==


''Single instances of data can be marked-up using annotations. Annotations are like categories, but they use a double colon, and can either be values or pages.''
''Single instances of data can be marked-up using annotations. Annotations look like categories, but they use a double colon. The first part is the relationship type, the second either a value or object page.''


<nowiki>[[Date::Jan 1, 2011]]</nowiki>
<nowiki>[[Date::Jan 1, 2011]]</nowiki>
 
<nowiki>[[asserted by::David Mason]]</nowiki>
Or combinations:


<div class="noticebox" style="background: #FFB04C">
<div class="noticebox" style="background: #FFB04C">
Line 197: Line 196:


* <nowiki>[[A::Place]]</nowiki>
* <nowiki>[[A::Place]]</nowiki>
* <nowiki>[[Population::1,906,811]]</nowiki>
* <nowiki>[[Population::1906811]]</nowiki>
* <nowiki>[[Geographic coordinates::45.5088889, -73.5541667]]</nowiki>
* <nowiki>[[Geographic coordinates::45.5088889, -73.5541667]]</nowiki>
</div>
</div>

Navigation menu