Content deleted Content added
Drop the <nowiki> from examples because it doesn't appear necessary |
padding |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1:
{{Documentation subpage}}
{{TemplateStyles|Template:Markup/styles.css}}
<!-- Categories where indicated at the bottom of this page, please. -->
{{TOC right |limit=2}}
Line 24 ⟶ 25:
|'''Bold text'''|<b>Bold text</b>|'''Bold text'''
|''Italic text''|<i>Italic text</i>|''Italic text''
|[[Internal link]]|<nowiki><a href="https://en.wikipedia.org/wiki/Internal_link">Internal link</a></nowiki>|[[Internal link]]
}}
Line 35 ⟶ 36:
==See also==
* {{tl|
== TemplateData ==
{{TemplateData header}}
Line 54:
"col2headerstyle",
"col2",
"col3headerstyle",
"col3",
"padding",
"col1style",
"col2style",
"col3style",
"codestyle",
"outputstyle",
Line 114 ⟶ 118:
},
"col1": {
"description": "First column (
"type": "string",
"default": "\"Markup\""
},
"col2": {
"description": "Second column (
"type": "string",
"default": "\"Renders as\""
},
"col3": {
"description": "Third column (output)'s heading.",
"type": "string",
"default": "\"Renders as\""
Line 144 ⟶ 153:
"col2headerstyle": {
"description": "For CSS styling to amend the appearance of the second column's heading. Overrides (but does not replace) colheaderstyle.",
"type": "string"
},
"col3headerstyle": {
"description": "For CSS styling to amend the appearance of the third column's heading. Overrides (but does not replace) colheaderstyle.",
"type": "string"
},
Line 152 ⟶ 165:
"col1style": {
"label": "Column 1 Style",
"description": "For CSS styles to amend the appearance of the
"example": "width:20em;",
"type": "string",
Line 159 ⟶ 172:
"col2style": {
"label": "Column 2 Style",
"description": "For CSS styles to amend the appearance of the HTML column (e.g. the background colour).",
"example": "background-color:#fff;",
"type": "string",
"default": "none"
},
"col3style": {
"label": "Column 3 Style",
"description": "For CSS styles to amend the appearance of the output column (e.g. the background colour).",
"example": "background-color:#fff;",
"type": "string",
"default": "none"
},
"padding": {
"description": "Padding within each cell.",
"example": "0 5px",
"type": "string",
"default": "5px"
}
}
}
|