Changes

Jump to navigation Jump to search

Semantic wiki formatting

2 bytes added, 10:14, 13 November 2015
m
fixed typo
<div style="background-color: #E9FFE6; border: 1px solid #CEF2E0; padding: 10px;">'''The correct way:''' <code><nowiki>[[Has sensors::accelerometer]], [[Has sensors::thermometer]], [[Has sensors::barometer]]</nowiki></code> This time around we used the property <code>Has sensors</code> multiple times, individually for each of the sensors. The wiki will now understand that the device you are writing about features three different sensors. Also notice how the <code>,</code> is outside the semantic wiki tags. This is so the semantic values have only the name of the sensor, but not the comma between them as the comma is not an actual part of the name.</div>
As you can see, you can use all of the properties multiple times without any problems but before you do so, think about whether making multiple properties like this one actually make sense. Making multiple properties for multiple different sensors is logical and encouraged, but creating four different properties for the announcement date is nonsensical because there can be only one announcement date (unless there are some very special circumstances which should be explicitly written mentioned in the article).
[[Category:Guides]]

Navigation menu