Difference between revisions of "Template:DM Fusion Material2/for row"

From Yugipedia
Jump to: navigation, search
(convert comma separated list to ul, adding comments)
(Support for more columns. Necessary for Communication Fusion.)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
   <td>{{ #ask: [[Has subobject::{{{1}}}]] |?Reference name= | mainlabel=- | limit = 1 }}</td>
 
   <td>{{ #ask: [[Has subobject::{{{1}}}]] |?Reference name= | mainlabel=- | limit = 1 }}</td>
  
   <!-- The cards this card can fuse with to produce the aforementioned Fusion Monster -->
+
   <!-- The cards this card can fuse with to produce the aforementioned Fusion Monster
  <td>
+
    * Double replace is necessary to convert underscores to be spaces
<!-- Convert comma separated list to bulleted list -->
+
     * There can be multiple columns with multiple cards in each
* {{ #replace:
+
  -->{{ #ask: [[Fuses with::{{ #replace: {{ #replace: {{{1}}} | _ | * * }} | * }}]]
     <!-- Replace underscores in value with spaces (requires two #replace) -->
+
  | ?Fusion Material.Reference name
    {{ #ask: [[Fuses with::{{ #replace: {{ #replace: {{{1}}} | _ | * * }} | * }}]]
+
  | format    = template
    | ?Fusion Material.Reference name=
+
  | template  = DM Fusion Material2/for row/cell
    | mainlabel = -
+
  | mainlabel = -
    }}
+
  | sep      =
   |", &#35;
+
   | valuesep  = &#32;
  |"
+
*
* &#35;
+
   }}
   }}</td>
 
 
</tr>
 
</tr>
 
</includeonly>
 
</includeonly>

Latest revision as of 00:17, 26 December 2018