টেমপ্লেট:কোণাকুণি বিভক্ত হেডার

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

Usage[সম্পাদনা]

This template simulates a table header cell split diagonally, a device often used to compactly label headers of rows and columns, as in this example:

  Handed-
ness
  Sex
Right-
handed
Left-
handed
Total
Male 43 9 52
Female 44 4 48
Total 87 13 100

To use it, create a header cell using ! followed by {{diagonal split header|NATURE-OF-ROW-HEADERS|NATURE-OF-COLUMN-HEADERS}}.

As the effect is achieved by drawing a diagonal line across the cell, the two headers are still part of the same cell and can easily overrun the line. A remedy is to pad the headers with   as in the example above. The template user is responsible for checking that it does not overrun on common Web browsers.

The template is compatible with collapsible (but not sortable, as the sort arrows are not drawn) tables, and cells using colspan or rowspan, in which case place the colspan/rowspan attribute between ! and {{diagonal split header …}}:

T
θ
2015 2016
Nov Dec Jan
0
π/2 90°
π 180°

simulate a table header cell split diagonally

টেমপ্লেট প্যারামিটার[টেমপ্লেটের উপাত্ত সম্পাদনা করুন]

প্যারামিটারবিবরণধরনঅবস্থা
Rows1

header of row headers, shown on the bottom left

স্ট্রিংঐচ্ছিক
Columns2

header of column headers, shown on the top right

স্ট্রিংঐচ্ছিক
Label3

optional extra header content, shown at the center

স্ট্রিংঐচ্ছিক