Template:WP:RDT/RPa/h2

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

For displaying table headers in Wikipedia:Route diagram template/Catalog of pictograms.

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:WP:RDT/RPa/h2/doc.

Usage[edit]

This template displays the heading row for tables that use the {{WP:RDT/RPa}} template.

The default widths are 75 pixels for column 1, and 30 pixels for the icon columns. The last, text field column is automatically sized.

These values can be changed by including parameters 1 (the icon name column) and 2 (the icon columns).

The optional parameter note will add text in the last column. All standard formatting can be applied.

  • The note will be centered in the cell, but can be forced to align left with the addition of this code immediately following the “=” sign: <div style="float:left;">

Examples[edit]

The text {{WP:RDT/RPa/h2}} produces this table row:

ROOT= RD1 RP1 RP2 RP4
D 1 2 4

{{WP:RDT/RPa/h2|100|20|note=''Additional text''}} produces:

ROOT= RD1 RP1 RP2 RP4
D 1 2 4

See also[edit]