Template:EventResultRow: Difference between revisions

From ARMS Institute, the ARMS Wiki
Jump to navigation Jump to search
mNo edit summary
(Fixed Color option)
Line 1: Line 1:
|-
|-
| {{#if:{{{place|}}}|rowspan="{{{row|1}}}" {{!}} {{{place}}} {{!}}{{!}}}} {{#if:{{{link|}}}|[[{{{player}}}]]|{{{player}}}}} ||  {{#if:{{{fighter1|}}}|{{Icon|{{{fighter1}}}}}}} {{#if:{{{fighter2|}}}|{{Icon|{{{fighter2}}}}}}} {{#if:{{{fighter3|}}}|{{Icon|{{{fighter3}}}}}}}
| {{#if:{{{place|}}}|rowspan="{{{row|1}}}" {{!}} {{{place}}} {{!}}{{!}}}} {{#if:{{{link|}}}|[[{{{player}}}]]|{{{player}}}}} ||  {{#if:{{{fighter1|}}}|{{Icon|{{{fighter1}}}|color={{#if:{{{alt1|}}}|{{{alt1}}}}}}} {{#if:{{{fighter2|}}}|{{Icon|{{{fighter2}}}}}}} {{#if:{{{fighter3|}}}|{{Icon|{{{fighter3}}}}}}}
<noinclude>{{Doc}}[[Category:Table templates]]</noinclude>
<noinclude>{{Doc}}[[Category:Table templates]]</noinclude>

Revision as of 02:07, 19 July 2017

|- | {{{player}}} || {{#if:|[[File:Icon-{{{fighter1}}}.png|25px|link={{{fighter1}}}]]

Use this template, along with Template:EventResultHeader, to create a row in an event result table. Example:
{{EventResultHeader}}
{{EventResultRow
|place    = 1st
|player   = Reggie
|fighter1 = Spring Man
|alt1 = pink}}
|}

Result:

Placement Player Fighter(s) used
1st Reggie Icon-Spring Man-pink.png

This documentation is transcluded from Template:EventResultRow/doc.