Actions

Template

Difference between revisions of "ContentTable"

From NEC Retro

Line 2: Line 2:
 
{{{!}}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:{{{height|}}}|height:{{{height|}}}px;|}} text-align:center;"{{!}}{{{content|}}}
{{!}}-
+
{{#if:{{{title|}}}|{{!}}-
{{#if:{{{noheader|}}}|{{!}}|!}}style="text-align:center;"{{!}}{{{title|}}}
+
{{#if:{{{noheader|}}}|{{!}}|!}}style="text-align:center;"{{!}}{{{title|}}}|}}
 
{{!}}}</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}}{{ContentTable}}{{ContentTable}}
 
{{ContentTable}}{{ContentTable}}{{ContentTable}}
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 09:26, 30 January 2022

Generic... "content" table, for lack of a better name. To unify similar comparison-esque templates.