Difference between revisions of "Template:Col-break"

From GnuCash
Jump to: navigation, search
(Created page with "{{Columns | background = <!-- Background (default is none) --> | style = <!-- Use to add extra overall CSS styling --> | colwidth = <!-- Width of each column (def...")
 
Line 1: Line 1:
{{Columns
+
<templatedata>
| background =  <!-- Background (default is none) -->
+
{
| style =        <!-- Use to add extra overall CSS styling -->
+
"description": "This template triggers the start of each column in a multi-column table.",
| colwidth =    <!-- Width of each column (default 15.0em) -->
+
"params": {
| gapbetween =  <!-- Gap (gutter) between each column (default 1.25em) -->
+
"width": {
| col1width =    <!-- Use to set a custom width for col1 -->
+
"label": "Column width",
| col1 =        <!-- (REQUIRED) First column's contents -->
+
"type": "string",
| col2width =    <!-- Use to set a custom width for col2 (and so on) -->
+
"description": "Width of the column, defined as a percent (ie 50%)"
| col2 =        <!-- (REQUIRED) Second column's contents -->
+
}
}}
+
}
 +
}</templatedata><includeonly>

Revision as of 07:19, 8 July 2021

<templatedata> { "description": "This template triggers the start of each column in a multi-column table.", "params": { "width": { "label": "Column width", "type": "string", "description": "Width of the column, defined as a percent (ie 50%)" } } }</templatedata>