(Imported by WSPageSync) |
(Imported by PageSync) Tag: wsps-content-edit-tag |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<pre> | <pre> | ||
{{Base properties | {{Base properties | ||
|Class= | |Class= (text) | ||
|Title= | |Title= (text) | ||
|Is tag= | |Is tag= (optional: true) | ||
|Tags= | |Tags= (optional: comma-separated pages) for example "Tag/1, Tag/2, Tag/3" | ||
|Version history= (multiple instance templates) {{Version history item |Version number=.. |Version description=.. |Version date=..}} | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 20: | Line 15: | ||
|Is tag={{#ifeq:{{{Is tag|}}} |true |true}} | |Is tag={{#ifeq:{{{Is tag|}}} |true |true}} | ||
|Tags={{{Tags|}}} |+sep=, | |Tags={{{Tags|}}} |+sep=, | ||
}}{{DISPLAYTITLE:{{{Title|}}}| | }}<!-- | ||
// switch to prevent setting displaytitle on property pages, as this can cause unexpected behavior when using format=tree | |||
-->{{#switch:{{NAMESPACENUMBER}} |102=|#default={{DISPLAYTITLE:{{{Title|}}}|noerror}} }}<!-- | |||
// version history properties | |||
-->{{#af_foreach:{{#invoke:VersionHistoryItems|get}} ||$data|{{#set: | |||
|Has version history={{#if:{{#af_get:{{{$data}}}|Current version number}} |true}} | |||
|Version number={{#af_get:{{{$data}}}|Current version number}} | |||
|Version description={{#af_get:{{{$data}}}|Current version description}} | |||
|Version date={{#af_get:{{{$data}}}|Current version date}} | |||
}} | |||
}}</includeonly> | |||
| ws-base-props | |||
|---|---|---|---|
| Line 1: | Line 1: | ||
{{Base properties | |||
|Class=Application page | |||
|Title=Template:Base properties | |||
|Version history={{Version history item | |||
|Version number=1.1 | |||
|Version description=Don't set a value to "Has version history" when there isn't one (this unnecessarily added the property to all pages) | |||
|Version date=2023-2-24 10:30:20 | |||
}}{{Version history item | |||
|Version number=1.0 | |||
|Version description=Initial version | |||
|Version date=2022-12-02 08:58:50 | |||
}} | |||
}} | |||
| ws-class-props | |||
| Line 1: | Line 1: | ||
{{Csp class properties | |||
|Type=CSP Basis Core | |||
|Origin=CSP Basis | |||
}} | |||
Latest revision as of 09:36, 15 July 2025
{{Base properties
|Class= (text)
|Title= (text)
|Is tag= (optional: true)
|Tags= (optional: comma-separated pages) for example "Tag/1, Tag/2, Tag/3"
|Version history= (multiple instance templates) {{Version history item |Version number=.. |Version description=.. |Version date=..}}
}}