Template: TableRow

From Trekipedia
Jump to: navigation, search
m
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
|- style="margin:0.2em;padding:0.2em;"
+
{{TableRowTitle|TitleWidth={{{width|20%}}}|TitleName={{{title}}} }}
|class="ButtonLeft BlueBG" style="text-align:right;vertical-align:top;width:{{{width|20%}}};margin-right,margin-bottom:0.1em;padding:0.25em;"|<span style="color:#fff;">{{{title}}}</span>
+
{{TableRowData|DataInfo={{{data}}} }}
|style="vertical-align:top;margin-left,margin-bottom:0.1em;padding:0.25em;"|{{{data}}}
 
 
<noinclude>
 
<noinclude>
 
Variables:
 
Variables:
Line 7: Line 6:
 
* title
 
* title
 
* data
 
* data
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:Layout Templates]]
 
[[Category:Layout Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:43, 8 November 2023

|- style="margin:0.2em;padding:0.2em;" |class="ButtonLeft BlueBG" style="text-align:right;vertical-align:top;width:20%;margin-right:0.1em;margin-bottom:0.1em;padding:0.25em;"|{{{title}}} |style="text-align:left;vertical-align:top;margin-left,margin-bottom:0.1em;padding:0.25em;width:80%;"|{{{data}}}

Variables:

  • width (title cell, default 20%)
  • title
  • data