Difference between revisions of "ContentTable"
From Sega Retro
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div style="display:inline-block; margin:2px; vertical-align:top;"> | <includeonly><div style="display:inline-block; margin:2px; vertical-align:top;"> | ||
{{{!}}class="prettytable hcomparison" | {{{!}}class="prettytable hcomparison" | ||
− | {{!}}style="{{#if:{{{minwidth|}}}|min-width:{{{minwidth|}}}px;|}} {{#if:{{{height|}}}|height:{{{height|}}}px;|}} text-align:center;"{{!}}{{{content|}}} | + | {{!}}style="{{#if:{{{minwidth|}}}|min-width:{{{minwidth|}}}px;|}} {{#if:{{{maxwidth|}}}|max-width:{{{maxwidth|}}}px;|}} {{#if:{{{height|}}}|height:{{{height|}}}px;|}} text-align:center;"{{!}}{{{content|}}} |
{{!}}- | {{!}}- | ||
{{#if:{{{title|}}}| | {{#if:{{{title|}}}| | ||
− | {{#if:{{{noheader|}}}|{{!}}|!}}style="text-align:center;"{{!}}{{{title|}}}|}} | + | {{#if:{{{noheader|}}}|{{!}}|!}}style="text-align:center; {{#if:{{{maxwidth|}}}|max-width:{{{maxwidth|}}}px;|}}"{{!}}{{{title|}}}|}} |
{{!}}- | {{!}}- | ||
{{#if:{{{thirdrow|}}}| | {{#if:{{{thirdrow|}}}| | ||
− | {{!}}{{#if:{{{colourclass|}}}|class="{{{colourclass|}}}" style="text-align:left; max-width:{{{maxwidth|}}};"{{! | + | {{!}}{{#if:{{{colourclass|}}}|class="{{{colourclass|}}}"|}} style="text-align:left; max-width:{{{maxwidth|}}}px;"{{!}}{{{thirdrow|}}}|}} |
{{!}}}</div></includeonly><noinclude>Generic... "content" table, for lack of a better name. To unify similar comparison-esque templates. | {{!}}}</div></includeonly><noinclude>Generic... "content" table, for lack of a better name. To unify similar comparison-esque templates. | ||
{{ContentTable|content=dasjklasdljkdaslkj | {{ContentTable|content=dasjklasdljkdaslkj | ||
Line 21: | Line 21: | ||
| colourclass={{#var:colourclass}} | | colourclass={{#var:colourclass}} | ||
}} | }} | ||
+ | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 14:10, 28 March 2023
Generic... "content" table, for lack of a better name. To unify similar comparison-esque templates.
dasjklasdljkdaslkj
dassadadsk
|
Arcade Card Pro/Duo |
---|