(Imported by WSPageSync) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
This is the "Layout" template. It should be called in the following format: | This is the "Layout" template. It should be called in the following format: | ||
Line 42: | Line 35: | ||
|display={{#camap:@areas|@@@|.cp-@@@{display:block;}| }} <!-- set display block for component classes--> | |display={{#camap:@areas|@@@|.cp-@@@{display:block;}| }} <!-- set display block for component classes--> | ||
}}<!-- | }}<!-- | ||
− | -->}} | + | -->}}{{#caprint:@layout[0][Rows]}} - {{#caprint:@layout[0][Columns]}} - {{#caprint:@layout[0][Areas]}} - {{#camap:@areas|@@@|.cp-@@@{display:block;}| }} |
</includeonly> | </includeonly> | ||
ws-base-props | |||
---|---|---|---|
Line 1: | Line 1: | ||
− | + | {{Base properties | |
+ | |Class=Application page | ||
+ | |Title=Template:Layout | ||
+ | |Version history={{Version history item | ||
+ | |Version number=1.0 | ||
+ | |Version description=Initial version | ||
+ | |Version date=2022-12-02 07:55:53 | ||
+ | }} | ||
+ | }} | ||
ws-class-props | |||
Line 1: | Line 1: | ||
− | + | {{Application page properties | |
+ | |Type=CSP Basis Core | ||
+ | |Origin=CSP Basis | ||
+ | }} |
Latest revision as of 13:28, 22 June 2023
This is the "Layout" template. It should be called in the following format:
{{Layout}}
It genarates CSS for grid layout based on the class of the current page