साचा:End/doc
This template is used on approximately ७.० pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
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).
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 a parameter, such as {{End|Cricket series}}
, to indicate which table start template it matches (in the example given, {{Infobox cricket series begin}}). The parameter has no technical function.
Example
[संपादन]{{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|election table}}
Result: साचा:Election table |- 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 |- |}
TemplateData
[संपादन]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