Template:MMC-UNI2/Card: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>=== | <includeonly><!-- | ||
< | Have to use span tag instead of div tags since there are some weird bug with MW parser that makes the text after the tooltip into a paragraph element | ||
mw-parser-output needed to bypass TemplateStyles restrictions | |||
--><span class="mw-parser-output"><!-- | |||
--><span class="tmp"><!-- | |||
Image | |||
--><span class="tmp-image">[[File:{{{image|}}}|120px]]</span><!-- | |||
| | --><span class="tmp-items"><!-- | ||
--><span class="tmp-item-label">Guard</span><!-- | |||
--><span class="tmp-item-label">Startup</span><!-- | |||
--><span class="tmp-item-data padding=">{{#ifexpr: {{#len:{{{guard|}}}}} > 0|{{{guard|}}}|-}}</span><!-- | |||
--><span class="tmp-item-data padding=">{{#ifexpr: {{#len:{{{startup|}}}}} > 0|{{{startup|}}}|-}}</span><!-- | |||
--><span class="tmp-item-label">Recovery</span><!-- | |||
--><span class="tmp-item-label">Advantage</span><!-- | |||
| | --><span class="tmp-item-data">{{#ifexpr: {{#len:{{{recovery|}}}}} > 0|{{{recovery|}}}|-}}</span><!-- | ||
--><span class="tmp-item-data">{{#if: {{{frameAdv|}}}|{{{frameAdv|-}}}|{{#if:{{{assaultAdv|}}}| {{{assaultAdv|-}}} on Assault|-}} }}</span><!-- | |||
--></span><!-- | |||
--></span><!-- | |||
--></span><!-- | |||
--></includeonly><templatestyles src="Template:MMC-UNI2/Card/styles.css"/> | |||
| | |||
| | |||
| | |||
| | |||
</includeonly> |