Difference between revisions of "Template:3rd/doc"

From LFS Manual
Jump to navigationJump to search
(combined 3rd named into this)
Line 1: Line 1:
 
<noinclude>{{documentation subpage}}</noinclude>
 
<noinclude>{{documentation subpage}}</noinclude>
  
This is a table cell template used to fill cells of a table to indicate a third 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 driver's name and their username, respectively.
+
This is a table cell template used to fill cells of a table to indicate a third 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 driver's name and their username, respectively. Setting parameter <code>break</code> 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 first and second places, use {{tl|code=1|1st}} and {{tl|code=1|2nd}}, respectively.
  
 
=== Examples ===
 
=== Examples ===
Line 19: Line 21:
 
| {{tl|code=1|3rd|Third Joe|joethird123}}
 
| {{tl|code=1|3rd|Third Joe|joethird123}}
 
| {{3rd|Third Joe|joethird123}}
 
| {{3rd|Third Joe|joethird123}}
 +
|-
 +
| {{tl|code=1|3rd|Third Joe|joethird123|4=break=true}}
 +
| {{3rd|Third Joe|joethird123|break=true}}
 
|}
 
|}
  

Revision as of 21:34, 10 February 2024

Information icon4.png This is a documentation subpage for Template:3rd.

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 third 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 driver'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 first and second places, use {{1st}} and {{2nd}}, respectively.

Examples

What to type What it produces
{{3rd}}
{{3rd}} 15 15
{{3rd|Third Joe}} Third Joe
{{3rd|Third Joe|joethird123}} Third Joe (joethird123)
{{3rd|Third Joe|joethird123|break=true}} Third Joe
(joethird123)