Template:Col-2/doc: Difference between revisions
From The FunKey Wiki
Content added Content deleted
m (updating comments) |
m (1 revision imported) |
||
Line 1: | Line 1: | ||
;Description |
|||
{{Documentation subpage}} |
|||
:This template starts a column, as part of a two-column template. |
|||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> |
|||
;Syntax |
|||
{{Column templates}} |
|||
:Type <code>{{t|Col-begin}}</code>, then whatever you would like inside the first box, then <code>{{t|Col-2}}</code> and whatever you want in the second box, ended by <code>{{t|Col-end}}</code>. |
|||
:For example... |
|||
<pre> |
|||
{{Col-begin}} |
|||
Text |
|||
{{Col-2}} |
|||
Text |
|||
{{Col-end}} |
|||
</pre> |
|||
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
|||
==TemplateData== |
|||
{{TemplateDataHeader}} |
|||
<templatedata> |
|||
{ |
|||
"description": "Starts a column in a two-column table begun by {{col-begin}}.", |
|||
"params": { |
|||
"align": { |
|||
"label": "align", |
|||
"description": "Horizontal alignment of content.", |
|||
"type": "string", |
|||
"default": "left", |
|||
"required": false |
|||
}, |
|||
"valign": { |
|||
"label": "valign", |
|||
"description": "Vertical alignment of content.", |
|||
"type": "string", |
|||
"default": "top", |
|||
"required": false |
|||
} |
|||
} |
|||
} |
|||
</templatedata><includeonly>{{Sandbox other|| |
|||
<!-- Categories below this line; interwikis at Wikidata --> |
|||
[[Category:Multi-column templates]] |
|||
}}</includeonly> |