फलकम्:Aligned table/doc

विकिपीडिया, कश्चन स्वतन्त्रः विश्वकोशः
Jump to navigation Jump to search

Full syntax[सम्पादयतु]

For parameter explanations, see table below.

{{Aligned table
| fullwidth = 
| class = 
| style = 
| cols =  
| colwidth = 
<!-- | colstyle = -->
| leftright = 
| rowstyle = 

<!--(for Cth column:)-->
| colCwidth = 
| colCclass = 
| colCalign = 
| colCstyle = 
| colCnowrap = 

<!--(for Rth row:)-->
| rowRclass = 
| rowRstyle = 

<!--(for cell R,C:)-->
| classR.C = 
| styleR.C = 

| (cell 1,1) | (cell 1,2) | ... | ...
}}
Parameter Description Examples Default
fullwidth
Set to anything फलकम्:95% to ensure table spans entire width available. 
फलकम्:95%
|fullwidth=on not set
class Class for the table |class=wikitable  |class=infobox  |class=sidebar  etc. none
style CSS styling for the table |style=width:80%;background:transparent; none
cols Number of columns in the table |cols=4 2
colwidth Width of each column |colwidth=6.0em  |colwidth=25%  etc. not set
  •  leftright
  • padding-left:1.6em
  •  |leftright=on
  • not set
rowstyle CSS styling for each row |rowstyle=text-align:center; not set
col[C]width Width of column number [C] |col2width=6.0em  |col3width=25%  etc. not set
col[C]class Class for the cells in column number [C] |col1class=navbox-group none
col[C]align Alignment (left, right, center) for column [C]'s cell contents. |col4align=right not set
  • col[C]style
  •  col[C]nowrap
  • CSS styling for column [C]'s cells.
  • padding-left:1.6em
  • |col3style=background:lavender;
  •  |col1nowrap=on
  • none
  • not set
row[R]class Class for the cells in row [R] |row10class=navbox-abovebelow none
row[R]style CSS styling for cells in row [R] |row1style=font-weight:bold; none
class[R].[C] Class for the cell in row [R], column [C]. Overrides any other class attribution फलकम्:95%. none
style[R].[C] CSS styling for the cell in row [R], column [C]. Overrides any more generalized styling (फलकम्:95%, etc). none
Unnamed parameters Each unnamed parameter is taken to be the next cell in the table, starting at the table's top left corner and working left to right from top to bottom.

Examples[सम्पादयतु]

{{Aligned table
|class=wikitable
|cols=3
| A | 1 | a
| B | 2 | b
}}

स्क्रिप्ट त्रुटि: "aligned table" ऐसा कोई मॉड्यूल नहीं है।

{{Aligned table
|class=wikitable
|cols=4
|col1align=center
|col2align=center
|col3align=right
|col4align=right
| AAA | aa    | 123  | 12345
| B   | bbbbb | 1234 | 2
}}

स्क्रिप्ट त्रुटि: "aligned table" ऐसा कोई मॉड्यूल नहीं है।

{{Aligned table
|class=wikitable
|style=width:20em
|cols=2
|col1align=center
|col2align=right
| AAA | 123
| B | 2
}}

स्क्रिप्ट त्रुटि: "aligned table" ऐसा कोई मॉड्यूल नहीं है।

See also[सम्पादयतु]


"https://sa.wikipedia.org/w/index.php?title=फलकम्:Aligned_table/doc&oldid=351120" इत्यस्माद् पुनः प्राप्तिः