සැකිල්ල:End
මෙම සැකිල්ල පිටු 83,000 පමණ භාවිතා වන නිසා සිදුකරන වෙනස් කිරීම් බොහෝ ස්ථානවලට බලපානු ඇත. ඔබ සිදුකිරීමට අදහස් කරන වෙනස්කම් මෙම සැකිල්ලට අදාළ /sandbox හෝ /testcases උපපිටුවල, හෝ ඔබගේ පරිශීලක උපපිටුවේ පළමුව සිදුකොට පරීක්ෂාකර බලන්න. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න.
Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
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 {{Collapse top}} which requires a {{collapse bottom}} to end a collapsible text.
This template duplicates {{s-end}} for technical reasons. See the documentation on that page. Any succession template ending with {{end}} should be changed to {{s-end}}.
Position
[සංස්කරණය]WARNING: Template {{end}} must be placed on a separate line for ending a table; otherwise, it inserts a literal bar-brace "|}" into the text.
Redirects
[සංස්කරණය]Other "table end" templates redirect here.
Alternatively, this template may take the dummy parameter 1=
, such as {{End|Cricket series}}
, to indicate which table start template it matches (in the example given, {{Election table}}). The parameter has no technical function.
Example
[සංස්කරණය]{{election table|title=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|election table}}
Result:
Party | Main candidate | Votes | % | +/– | Seats | +/– | |
---|---|---|---|---|---|---|---|
Green | John Johnson | 12 | 50% | +5 | 5 | +1 |
Tracking categories
[සංස්කරණය]TemplateData
[සංස්කරණය]TemplateData for End
Ends a table. Must appear on a separate line. Normally used with {{col-begin}}. It takes no parameters.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
See also
[සංස්කරණය]- {{!)}}
- {{Rugby squad end}} inserts two instances of wikitable closing markup
- {{Div col end}} inserts a closing
</div>
tag - {{Pope list end}} inserts a wikitext
|}
closing tag followed by a closing</div>
tag
Column-generating template families
[සංස්කරණය]The templates listed here are not interchangeable. For example, using {{col-float}} with {{col-end}} instead of {{col-float-end}} would leave a HTML "div" (division) open, potentially harming any subsequent formatting.
Type | Family | Handles wiki
table code? |
Responsive/ Mobile suited |
Start template | Column divider | End template |
---|---|---|---|---|---|---|
Float | "Col-float" | ඔව් | ඔව් | {{Col-float}} | {{Col-float-break}} | {{Col-float-end}} |
"Columns-start" | ඔව් | ඔව් | {{Columns-start}} | {{Column}} | {{Columns-end}} | |
Columns | "Div col" | ඔව් | ඔව් | {{Div col}} | – | {{Div col end}} |
"Columns-list" | නැත | ඔව් | {{Columns-list}} (wraps div col) | – | – | |
Flexbox | "Flex columns" | නැත | ඔව් | {{Flex columns}} | – | – |
Table | "Col" | ඔව් | නැත | {{Col-begin}}, {{Col-begin-fixed}} or {{Col-begin-small}} |
{{Col-break}} or {{Col-2}} .. {{Col-5}} |
{{Col-end}} |
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.