m (1 revision imported)
m (Text replacement - "ws-page-props" to "ws-class-props")
Line 34: Line 34:
// use casize to check if the slot already exists. Then wsedit, else wscreate.
// use casize to check if the slot already exists. Then wsedit, else wscreate.
-->{{#if:{{#casize:$class}}
-->{{#if:{{#casize:$class}}
|{{#tag:wsedit ||target={{PAGEID}} |template=Page properties |formfield=Short description |mwslot=ws-page-props}}
|{{#tag:wsedit ||target={{PAGEID}} |template=Page properties |formfield=Short description |mwslot=ws-class-props}}
|<wscreate mwwrite="{{FULLPAGENAME}}" mwtemplate="Page properties" mwslot="ws-page-props" mwfields="Short description" />
|<wscreate mwwrite="{{FULLPAGENAME}}" mwtemplate="Page properties" mwslot="ws-class-props" mwfields="Short description" />
}}<!-- end of #if  -->
}}<!-- end of #if  -->



Revision as of 13:00, 3 August 2022


This is the Page sidebar template. It should be called in the following format:

{{Page sidebar}}