(Imported by PageSync)
Tag: Metadata slot edit
 
(Imported by PageSync)
Tag: wsps-content-edit-tag
 
Line 26: Line 26:
 
   |1.0
 
   |1.0
 
   }}
 
   }}
|Version description={{safesubst:#regex:{{{Description|}}}| /^,{{safesubst:!}},$/ |}}
+
|Version description={{safesubst:#invoke:VersionHistoryItems|processDescriptionInput|{{{Description|}}}}}
 
|Version date={{safesubst:#time: Y-n-d H:i:s |now}}
 
|Version date={{safesubst:#time: Y-n-d H:i:s |now}}
}}{{safesubst:#slottemplates:ws-base-props |{{safesubst:FULLPAGENAME}} |$base-props
+
}}{{safesubst:#af_get:{{{$data}}}|Version history unparsed}} }}
}}{{safesubst:#caprint:$base-props[Base properties][Version history]}}
 
 
}}</includeonly>
 
}}</includeonly>
ws-base-props
Line 3: Line 3:
 
|Title=Template:Add version history item
 
|Title=Template:Add version history item
 
|Version history={{Version history item  
 
|Version history={{Version history item  
 +
|Version number=1.2
 +
|Version description=replaced use of WSArrays with Lua function
 +
|Version date=2023-8-18 12:45:56
 +
}}{{Version history item
 +
|Version number=1.1
 +
|Version description=replaced #regex with lua function
 +
|Version date=2023-8-18 12:05:12
 +
}}{{Version history item
 
|Version number=1.0
 
|Version number=1.0
 
|Version description=Initial version
 
|Version description=Initial version
 
|Version date=2022-12-02 09:54:52
 
|Version date=2022-12-02 09:54:52
 +
}}
 
}}
 
}}
 
}}
 
}}
ws-class-props
Line 1: Line 1:
{{Application page properties
+
{{Csp class properties
 
|Type=CSP Basis Core
 
|Type=CSP Basis Core
 
|Origin=CSP Basis
 
|Origin=CSP Basis
 
}}
 
}}

Latest revision as of 10:36, 15 July 2025


This is the "Add version history item" template. It should be called in the following format:

{{Add version history item
|Type= (value options: minor, major) 
|Description= (text) note description might have comma's wrapped around it which should be filterd, e.g. ",Example description,"
}}

or

{{subst:Add version history item
|Type=major
|Description=Example description
}}