Template:Col-begin/doc: Difference between revisions

From The FunKey Wiki
Content added Content deleted
No edit summary
m (1 revision imported)
Line 1: Line 1:
;Description
{{Documentation subpage}}
:This template starts a column, as part of a two-column template.
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
;Syntax
{{confused|text=[[Template:Colbegin]], a redirect to [[Template:Div col]]}}
: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>.
{{caution|This template creates a [[Help:Tables|table]] rather than actual columns. This means that it may displays poorly on mobile devices or narrow screens and is sub-optimal in terms of [[WP:ACCESS|accessibility]]. Approximately half of the readers of English Wikipedia articles are using mobile devices and may have trouble reading the content that is wrapped in this template. Please consider using one of the CSS-based column templates (listed at the end of this page) instead, or not using columns at all if there is any trouble affects page layout.}}
:For example...
{{tsh|C-s}}
<pre>
{{column templates}}
{{Col-begin}}
Text
{{Col-2}}
Text
{{Col-end}}
</pre>


<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
{{Col-begin/TemplateData}}

<includeonly>{{subpage other||
[[Category:Multi-column templates]]
}}</includeonly>

Revision as of 17:29, 28 August 2020

Description
This template starts a column, as part of a two-column template.
Syntax
Type {{Col-begin}}, then whatever you would like inside the first box, then {{Col-2}} and whatever you want in the second box, ended by {{Col-end}}.
For example...
{{Col-begin}}
Text
{{Col-2}}
Text
{{Col-end}}