Attribute

From HackerspaceWiki
Jump to: navigation, search

An attribute defines a characteristic of an object, such as weight, size, or color. In Semantic MediaWiki, an attribute is annotated by giving a value to a property of the appropriate type in the article about the object that it describes.

For example, to say that the number "1,223,400" in the article on San Diego is its population, you create a Property:Population page with Type:Number, then edit the San Diego article to include:

[[population::1223400]]

Help:Annotation explains properties and annotation in more detail.

See also[edit]