Template:Docinfo/query/example2
From semantic-mediawiki.org
All documents in this site:
| Template:docinfo/query/example2 – a sample query to document imformation involved in a specified user, more complicated list. | [edit] [purge] |
Contents |
Function
This template is a sample query to document imformation involved in a specified user, with a little bit complicated format.
Usage
{{docinfo/query/example2
| username
| status =
| progress =
| priority =
| caetgory =
| sort =
}}
Parameters
|
– | restric query results to the documents in which user involved, as one of authors, editors or support staffs. |
|
– | restrict query results to the documents which have specified status only. You may describe multiple status values separated with a logical connective of disjunction {{!!}}, which alternates SMW logical connective || to avoid confusion with a parameter delemiter in templates. |
|
– | restrict query results to the documents which have specified progress keyword only. Disjuction of values is available too. |
|
– | restrict query results to the documents which have specified priority keyword only. Disjuction of values is available too. |
|
– | restrict query results to the documents which have specified category keyword only. Disjuction of values is available too. |
|
– | sort query results by one ore more properties, seperated with comma. Default value: namespace, docinfo category, docinfo status, docinfo progress, |
|
– | the order of each sorting properties, seperated with comma. Default value: ASC, ASC, ASC, DESC, ASC (if parameter sort are NOT specified.) |
Related templates
- Children
- Template:Docinfo/query/example2/data – a data template used in #ask: at Template:Docinfo/query/example2.
- Template:Docinfo/query/example2/intro – an intro template used in #ask: at Template:Docinfo/query/example2.
- Template:Docinfo/query/example2/outro – a footer format template used in #ask: at Template:Docinfo/query/example2.
- Parent
- Template:Docinfo – stores document information and provides a simple documentation management feature to wiki.
| Check this page in: Deutsch | English | Español | Français | Italiano | 日本語 | 中文(简体) | [debug] [purge] |