Difference between revisions of "ContentTable"

From Sega Retro

 
(2 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|}}}px;"{{!}}|}}{{{thirdrow|}}}|}}
+
{{!}}{{#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


dasdas dsa

Template:SystemCardState

<div class="bobtransform" style="transform:scale(1,Expression error: Unexpected < operator.); transform-origin:0% 0%; !important;"> <div style="width:320px; height:Expression error: Unexpected < operator.px;"> [[File:{{{arcade_image}}}|320px|link=File:{{{arcade_image}}}]]

Arcade Card Pro/Duo