आकृति:End/doc
This is a documentation subpage for आकृति:End. It contains usage information, categories and other content that is not part of the original आकृति page. |
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
[सम्पादन करी]{{election table|Template name|editlink=no|Summary of the May 2, 2011 election}} |- style="text-align:right;" ! style="background-color:#E9E9E9; width:400; text-align:left;" colspan="2" | Party ! style="background-color:#E9E9E9; width:200; text-align:left;" | Main candidate ! style="background-color:#E9E9E9; width:50;" | Votes ! style="background-color:#E9E9E9; width:50;" | % ! style="background-color:#E9E9E9; width:50;" | +/– ! style="background-color:#E9E9E9; width:50;" | Seats ! style="background-color:#E9E9E9; width:50;" | +/– |- | style="background-color:green" | || Green | John Johnson | 12 | 50% | +5 | 5 | +1 |- {{end}}
Result:
Party | Main candidate | Votes | % | +/– | Seats | +/– | |
---|---|---|---|---|---|---|---|
Green | John Johnson | 12 | 50% | +5 | 5 | +1 |
TemplateData
[सम्पादन करी]See the monthly error 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.
पैरामीटर | विवरण | प्रकार | स्थिति | |||
---|---|---|---|---|---|---|
कोई पैरामीटर निर्दिष्ट नहीं है |
See also
[सम्पादन करी]Column-generating template families
[सम्पादन करी]The templates listed below are not interchangeable. For example, using {{Multicol}} with {{col-end}} instead of {{Multicol-end}} would leave an HTML "div" (division) open, potentially harming any subsequent formatting. |
Family | Type | font-weight:normal
|
Start template | Break between columns | End template | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
"Col" | Table | {{Col-begin}} or {{Col-begin-small}} |
{{Col-break}}
font-size:90%;
|
{{Col-end}} | |||||||
"Col-float" | CSS float | आकृति:Y | {{Col-float}} | {{Col-float-break}} | {{Col-float-end}} | ||||||
"Columns" | Table | आकृति:Y | {{Columns}} | – | – | ||||||
"Columns-start" | CSS float | आकृति:Y | {{Columns-start}} | {{Column}} | {{Columns-end}} | ||||||
"Div col" | CSS columns | आकृति:Y | {{Div col}} – {{Columns-list}} (wrapper) |
– | {{Div col end}} | ||||||
"Multicol" | Table | {{Multicol}} | {{Multicol-break}} | {{Multicol-end}} |
i.e. can the columns handle the wiki markup {| | || |- |} used to create tables? If not, templates that produce these elements (such as आकृति:Tlpadb, आकृति:Tlpadb, आकृति:Tlpadb, आकृति:Tlpadb, आकृति:Tlpadb) and/or HTML tags (<table>...</table>
, <tr>...</tr>
, etc) will need to be used instead.