(5 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
<pre> | <pre> | ||
{{Doc properties | {{Doc properties | ||
+ | |Doc synopsis= (text) Short description | ||
|Doc subject= (text) | |Doc subject= (text) | ||
|Doc parent= (page) optional parameter for showing tree structure in sidebar. The parent should be a doc with the same Doc subject. | |Doc parent= (page) optional parameter for showing tree structure in sidebar. The parent should be a doc with the same Doc subject. | ||
Line 14: | Line 15: | ||
</noinclude><includeonly>{{#set: | </noinclude><includeonly>{{#set: | ||
+ | |Doc synopsis={{{Doc synopsis|}}} | ||
|Doc subject={{{Doc subject|}}} | |Doc subject={{{Doc subject|}}} | ||
|Doc parent={{{Doc parent|}}} | |Doc parent={{{Doc parent|}}} | ||
− | |Doc sort order= {{{Doc sort order|}}} | + | |Doc sort order={{#if:{{{Doc sort order|}}} |{{{Doc sort order|}}} |0}} |
− | |Doc target group={{{Doc target group|}}} | + | |Doc target group={{#if:{{{Doc target group|}}} |{{{Doc target group|}}} |User}} |
− | |Subject version={{{Subject version|}}} | + | |Subject version={{{Subject version|}}} |+sep=, |
+ | |Doc title with versions={{#show:{{FULLPAGENAME}}|?Title}} ({{{Subject version|}}}) | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 17:32, 21 September 2022
This is the Doc properties template. It should be called in the following format:
{{Doc properties |Doc synopsis= (text) Short description |Doc subject= (text) |Doc parent= (page) optional parameter for showing tree structure in sidebar. The parent should be a doc with the same Doc subject. |Doc sort order= (number) |Doc target group= (text) |Subject version= (text) }}