(Imported by WSPageSync)
(Imported by PageSync)
Tag: Metadata slot edit
Line 1: Line 1:
<noinclude>{{Managed
+
<noinclude>
|Version=1.2
 
|Version notes=1.2 - Change DisplayTitle from noreplace to noerror
 
  1.1 - Added "Is tag" and "Tags" parameters
 
  1.0 - First managed version
 
|Short description=
 
}}
 
 
 
 
<pre>
 
<pre>
 
{{Base properties
 
{{Base properties
|Class= <text>
+
|Class= (text)
|Title= <text>
+
|Title= (text)
|Is tag= <optional: true>
+
|Is tag= (optional: true)
|Tags= <optional: comma-separated pages> for example "Tag/1, Tag/2, Tag/3"  
+
|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 21: Line 15:
 
|Is tag={{#ifeq:{{{Is tag|}}} |true |true}}  
 
|Is tag={{#ifeq:{{{Is tag|}}} |true |true}}  
 
|Tags={{{Tags|}}} |+sep=,
 
|Tags={{{Tags|}}} |+sep=,
}}{{DISPLAYTITLE:{{{Title|}}}|noerror}}</includeonly>
+
}}<!--
 +
-->{{DISPLAYTITLE:{{{Title|}}}|noerror}}<!--
 +
 
 +
// version history properties
 +
-->{{#af_foreach:{{#invoke:VersionHistoryItems|get}} ||$data|{{#set:
 +
|Has version history={{#if:{{#af_get:{{{$data}}}|Current version number}} |true |false}}
 +
|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.0
 +
|Version description=Initial version
 +
|Version date=2022-12-02 08:58:50
 +
}}
 +
}}
ws-class-props
Line 1: Line 1:
 
+
{{Application page properties
 +
|Type=CSP Basis Core
 +
|Origin=CSP Basis
 +
}}

Revision as of 13:46, 18 January 2023

{{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=..}}
}}