Changes

Jump to: navigation, search

Template:DM Fusion Material2/row

1,591 bytes added, 5 years ago
m
correct parameter name
<includeonly><!--
 
-->{{ #vardefine: $fusion_type | {{ #if: {{{type|}}} | {{{type}}} | Fusion Summon }} }}<!--
-->{{ #arraydefine: $material_1 | {{{material_1|}}} | * }}{{ #arrayunique: $material_1 }}<!--
-->{{ #arraydefine: $material_2 | {{{material_2|}}} | * }}{{ #arrayunique: $material_2 }}<!--
-->{{ #arraydefine: $material_3 | {{{material_3|}}} | * }}{{ #arrayunique: $material_3 }}<!--
 
-->{{ #subobject: {{ #var: $fusion_type }} Material {{{number|}}}.1
| Subobject of = {{PAGENAME}}
| Fusion type = {{ #var: $fusion_type }}
| Fusion Material = {{ #invoke: String | replace | source = {{{material_1|}}} | pattern = ^* | plain = false }} |+sep=*
| Fuses with = {{PAGENAME}}#{{ #var: $fusion_type }} Material {{{number|}}}.2{{ #if: {{{material_3|}}}
|, {{PAGENAME}}#{{ #var: $fusion_type }} Material {{{number|}}}.3
}}|+sep=,
}}<!--
-->{{ #ifsubobject: {{ #var: $apply_fm_properties fusion_type }}| {{ #subobject: fusion material Material {{{number|}}}.12| Subobject of = {{PAGENAME}}| Fusion type = {{ #var: $fusion_type }} | Fusion Material = {{ #invoke: String | replace | source = {{{material_1material_2|}}} | pattern = ^* | plain = false }} |+sep=* | Fuses with = {{PAGENAME}}#fusion material {{ #var: $fusion_type }} Material {{{number|}}}.21{{ #if: {{{material_3|}}} |, {{PAGENAME}}#{{ #var: $fusion_type }} Material {{{number|}}}.3 }}|+sep=,}}<!--
-->{{ #if: {{{material_3|}}}| {{ #subobject: fusion material {{ #var: $fusion_type }} Material {{{number|}}}.23 | Subobject of = {{PAGENAME}} | Fusion type = {{ #var: $fusion_type }} | Fusion Material = {{ #invoke: String | replace | source = {{{material_2material_3|}}} | pattern = ^* | plain = false }} |+sep=* | Fuses with = {{PAGENAME}}#fusion material {{ #var: $fusion_type }} Material {{{number|}}}.1, {{PAGENAME}}#{{ #var: $fusion_type }} Material {{{number|}}}.2|+sep=,
}}
}}<!--
}}
</td>
 
{{ #vardefine: $column_count
| {{ #ifexpr: {{ #arraysize: $material_2 }} >= 100
| 4
| {{ #ifexpr: {{ #arraysize: $material_2 }} >= 30
| 3
| {{ #ifexpr: {{ #arraysize: $material_2 }} >= 20
| 2
}}
}}
}}
}}
<td><!--
-->{{ #if: {{{columns|}#var: $column_count }} | <div style="column-width: 13em; column-count: {{{columns|}#var: $column_count }};"> }}
{{ #arrayprint: $material_2
|
}}
}}
{{ #if: {{{columns|}#var: $column_count }} | </div> }}<!--
--></td>
 
{{ #if: {{{material_3|}}}
| <td>{{ #arrayprint: $material_3
|
| $card
|&#32;
* {{ #ask: [[$card]]
|?Card number = Number
|?English name (linked)
| format = template
| template = DM1 card/card reference
| named args = true
}}
}}
</td>
}}
</tr>
</includeonly>

Navigation menu