Template:Skill/datarow: Difference between revisions
Jump to navigation
Jump to search
ROWiki>Onteron sub-template for skill template |
ROWiki>Onteron improvements |
||
Line 1: | Line 1: | ||
<pre | <pre> | ||
{{skill/row | {{skill/row | ||
| name = | | name = | ||
Line 9: | Line 9: | ||
| unit = | | unit = | ||
}} | }} | ||
</pre> | |||
<onlyinclude><includeonly> | <onlyinclude><includeonly><tr> <!-- | ||
<tr> | |||
------ If there's no name and only 1 value... --> | |||
{{#ifexpr: {{#if:{{{name|}}}|0|1}} and {{#if:{{{l2|}}}|0|1}} <!-- | |||
<td {{#if: {{{l2|}}} | ------ Make the value span all 6 columns --> | ||
| <td colspan="6">{{{l1}}}</td> <!-- | |||
------ Otherwise ... --> | |||
| <td style="width:10em; padding-left:0.5em; text-align:left">{{{name}}}</td> | |||
<td {{#if: {{{l2|}}} | |||
| style="width:6em">{{{l1}}}{{{unit|}}}</td> | |||
<td {{#if: {{{l3|}}} | |||
| style="width:6em">{{{l2}}}{{{unit|}}}</td> | |||
<td {{#if: {{{l4|}}} | |||
| style="width:6em">{{{l3}}}{{{unit|}}}</td> | |||
<td {{#if: {{{l5|}}} | |||
| style="width:6em">{{{l4}}}{{{unit|}}}</td> | |||
<td style="width:6em">{{{l5}}}{{{unit|}}}</td> | |||
| colspan="2">{{{l4}}}{{{unit|}}}</td> | |||
}} | |||
| colspan="3">{{{l3}}}{{{unit|}}}</td> | |||
}} | |||
| colspan="4">{{{l2}}}{{{unit|}}}</td> | |||
}} | |||
| colspan="5">{{{l1}}}{{{unit|}}}</td> | |||
}} | }} | ||
}} | |||
</tr> | </tr></includeonly></onlyinclude> | ||
</includeonly></onlyinclude> |
Revision as of 22:56, 16 October 2008
{{skill/row | name = | l1 = | l2 = | l3 = | l4 = | l5 = | unit = }}