Help:Average format

(Redirected from Average)
Jump to: navigation, search
Average format
Has description::Displays the average of all queried numerical data
Available languages
Expression error: Unrecognized punctuation character "{".
Further Information
Provided by: Semantic Result Formats
Added: Has minimum version::1.4.2
Removed: Has maximum version::still supported
Requirements: Has further requirements::none
Format name: Has format name::average
Enabled by default: {{#info:Indicates whether the result format is enabled by default upon installation of the respective extension.}} Is enabled by default::yes
Authors: {{#set:Has author=Yaron Koren}}Yaron Koren
Categories: {{#ask: Has category::math Docinfo status::effective[[Docinfo language::{{#show:Help:Average format|?Docinfo language|link=none|format=list}}]] ?Has description format=broadtable headers=show link=all class=sortable wikitable smwtable offset= searchlabel=math limit=0


Table of Contents

↓ INFO ↓

The result format average, part of the Semantic Result Formats extension, can be used to display the average of all numerical values in the result.




A query for this format could look like:

{{#ask: [[Category:City]]
| ?Population
| format=average

Result: {{#ask: | ?Population | format=average }} (verify)

Other math formats: {{#ask: Has maximum version::still supported Has category::math Docinfo status::effective Docinfo language::en | format=ul | columns=2


{{#set: |docinfo status=effective }}{{#set: |worn by =Template:Docinfo |warning =Master page updated }}{{#set:

|worn by =Template:Docinfo
|warning =No description

|revision id=19485 |namespace=Help |docinfo progress =100 |docinfo priority =3 }}{{#set:docinfo master page=Help:Average format }}{{#set:docinfo master rev =19485 }}{{#set:docinfo category=Category:Result formats}}{{#set:docinfo author=User:Yaron Koren}}{{#set:docinfo editor=User:Kghbln}}{{#set:docinfo support=-}}{{#set:docinfo language=en}}

This documentation page applies to all SMW versions from 1.4.2 to the most current version.
Other versions: {{#ask: Docinfo master page::Help:Average format Docinfo language::en from version::!1.4.2|
   ?from version = |
   ?to version = |
   sort = from version|
   order = desc|
   sep=, |
   limit = 3|
   searchlabel = […]
  }}       Other languages: {{#ask: Docinfo master page::Help:Average format from version::1.4.2 Docinfo language::!en|
  ?Docinfo language =|
  sep=, |
  sort = Docinfo language|
  order = asc|
  limit = 10|
  searchlabel = […]

Docinfo master page::Help:Average format Docinfo language::en from version::1.4.2

{{#set:Release status=current}}

{{#set:Is master page=true}}