Help:Generating documentation 1.6.0 - 1.7.0
From semantic-mediawiki.org
This documentation page applies to all SMW versions from 1.6.0 to 1.7.0.
Other languages: zh-hans
| Generating documentation 1.6.0 - 1.7.0 | |
|---|---|
| Generate parameter documentation for a result format | |
| Further Information | |
| Provided by: | Semantic MediaWiki |
| Minimum version: | 1.6.0 |
| Maximum version: | still supported |
| Function: | yes |
| Tag: | no |
| Name: |
|
| Table of Contents | |
Contents | |
The parser function #smwdoc allows for automatic parameter documentation generation for all result formats.
Syntax[edit]
{{#smwdoc:format name}}
{{#smwdoc:format name|language=lang code}}
Examples[edit]
{{#smwdoc:table}}
| Parameter | Type | Default | Description |
|---|---|---|---|
| class | text | sortable wikitable smwtable | An additional CSS class to set for the table |
| transpose | yes/no | no | Display table headers vertically and results horizontally |
| sep | text | empty | The separator between results |
{{#smwdoc:map|language=nl}}
A fatal error occurred in the #smwdoc parser function