Difference between revisions of "Template:End/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(→‎See also: template name update)
imported>Sardanaphalus
(See also position)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
  
 
=== Usage ===
 
=== Usage ===
Line 28: Line 28:
 
{{col-end}}
 
{{col-end}}
  
== See also ==
+
== TemplateData ==
{{Column-generating template families}}
 
 
 
==TemplateData==
 
 
{{TemplateDataHeader}}
 
{{TemplateDataHeader}}
 
<templatedata>
 
<templatedata>
Line 40: Line 37:
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
 +
== See also ==
 +
{{Column-generating template families}}
 +
 
<includeonly>
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
 
[[Category:Succession templates]]
 
[[Category:Succession templates]]
 
[[Category:Table and column templates]]
 
[[Category:Table and column templates]]
 
</includeonly>
 
</includeonly>

Revision as of 13:35, 20 November 2014

Usage

This template ends any table (with bar-brace "|}") and may be used with any other templates that begin a one-level table, except with template {{Top}} & {{Mid}} which require {{Bottom}} to end a Top-table (which has a double-level format).

Severe limitations

WARNING: Template {{end}} must be placed on a separate line for ending a table; otherwise, it inserts a literal bar-brace "|}" into the text.

Examples

{{col-begin}}{{col-2}}AA{{col-2}}BB
{{col-end}}

Result:

{{col-begin}}
{{col-2}}AA
{{col-2}}BB
{{col-end}}

Result:

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for End

Ends a table. Must appear on a separate line. Normally used with {{col-begin}}. It takes no parameters.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified

See also

Column-generating template families

<section begin="table" />

Family Type
Handles wiki
 table code?Script error: No such module "If empty".
Responsive/
Mobile suited
Start template Column divider End template
"Col" Table Yes Yes {{Col-begin}},
{{Col-begin-fixed}} or
{{Col-begin-small}}
{{Col-break}} or
{{Col-2}} .. {{Col-5}}
{{Col-end}}
"Col-float" CSS float Yes Yes {{Col-float}} {{Col-float-break}} {{Col-float-end}}
"Columns" Table No Yes {{Columns}}
"Columns-list" CSS columns Yes Yes {{Columns-list}} (wrapper)
"Columns-start" CSS float Yes Yes {{Columns-start}} {{Column}} {{Columns-end}}
"Flex columns" CSS flexbox Yes Yes {{Flex columns}}
"Div col" CSS columns Yes Yes {{Div col}} {{Div col end}}

Script error: No such module "If empty". I.e., can the columns handle the wiki markup {| | || |- |} used to create tables? If not, templates that produce these elements (such as {{(!}}, {{!}}, {{!!}}, {{!-}}, {{!)}}) or HTML tags (<table>...</table>, <tr>...</tr>, etc.) will need to be used instead.<section end="table" />