Template:1st/doc

From LFS Manual
< Template:1st
Revision as of 20:32, 10 February 2024 by MandulAA (talk | contribs)
Jump to navigationJump to search
Information icon4.png This is a documentation subpage for Template:1st.

It may contain usage information, categories and other content that is not part of the original page.

This is a table cell template used to fill cells of a table to indicate a winning position. When used without parameters, it's useful in championship standings tables which contain points per round for all drivers. Two optional parameters specify the winner's name and their username, respectively. Setting parameter break to true, inserts a line break between the driver name and username (might come handy in packed tables, where the horizontal space is not enough).

For second and third places, use {{2nd}} and {{3rd}}, respectively.

Examples

What to type What it produces
{{1st}}
{{1st}} 25 25
{{1st|Winner Joe}} Winner Joe
{{1st|Winner Joe|joewin123}} Winner Joe (joewin123)
{{1st|Winner Joe|joewin123|break=true}} Winner Joe
(joewin123)