(Imported by PageSync) Tag: Metadata slot edit |
(Imported by PageSync) Tag: wsps-content-edit-tag |
||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
− | {{Application page subheader}} | + | {{Application page subheader |
+ | |$pageData= (Arrayfunctions export) slotdata of current page | ||
+ | |$classData= (Arrayfunctions export) class definition data (if current page and related class definition have a class in ws-base-props) | ||
+ | }} | ||
</pre> | </pre> | ||
− | </noinclude><includeonly><div>{{# | + | </noinclude><includeonly><div><h1>{{#if:{{#af_get:{{{$pageData}}}|ws-base-props|Base properties|1|Title|_text}} |
− | + | |{{#af_get:{{{$pageData}}}|ws-base-props|Base properties|1|Title|_text}} | |
+ | |{{#getdisplaytitle:{{FULLPAGENAME}} }} | ||
+ | }}</h1><!-- | ||
// show CSP alert if page originates from "CSP Basis" | // show CSP alert if page originates from "CSP Basis" | ||
− | -->{{#ifeq:{{lc:{{# | + | -->{{#ifeq:{{lc:{{#af_get:{{{$pageData}}}|ws-class-props|Csp class properties|1|Origin|_text}} }}|csp basis |{{CSP alert}} }}<!-- |
− | |||
--></div></includeonly> | --></div></includeonly> | ||
ws-base-props | |||
---|---|---|---|
Line 3: | Line 3: | ||
|Title=Template:Application page subheader | |Title=Template:Application page subheader | ||
|Version history={{Version history item | |Version history={{Version history item | ||
+ | |Version number=1.1 | ||
+ | |Version description=Replaced deprecated WSArrays parserfunctions with ArrayFunctions | ||
+ | |Version date=2023-8-23 11:30:15 | ||
+ | }}{{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:34:45 | |Version date=2022-12-02 09:34:45 | ||
+ | }} | ||
}} | }} | ||
}} | }} | ||
ws-class-props | |||
Line 1: | Line 1: | ||
− | {{ | + | {{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 Application page subheader template. It should be called in the following format:
{{Application page subheader |$pageData= (Arrayfunctions export) slotdata of current page |$classData= (Arrayfunctions export) class definition data (if current page and related class definition have a class in ws-base-props) }}