Difference between revisions of "Template:Game art list entry"

From Co-Optitude Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
     |YouTube=https://www.youtube.com/watch?v=KQh_6p9_ndc; https://www.youtube.com/watch?v=X-IJHU3xiGk}}
 
     |YouTube=https://www.youtube.com/watch?v=KQh_6p9_ndc; https://www.youtube.com/watch?v=X-IJHU3xiGk}}
 
</pre>
 
</pre>
</noinclude><includeonly><div style="display: inline-block; vertical-align: top; width: 200px; margin: 10px;"><table border="0"><tr><td style="width: 200px; height: 200px; text-align: center; vertical-align: middle;">[[File:{{{Image}}}|center|200x200px|link=|{{{Title}}}]]</td></tr></table>
+
</noinclude><includeonly><div style="display: inline-block; vertical-align: top; width: 160px; margin: 1em 1em 2em 1em;"><table border="0"><tr><td style="width: 160px; height: 160px; text-align: center; vertical-align: middle; background-color: #404040;">[[File:{{{Image}}}|center|160x160px|link=|{{{Title}}}]]</td></tr></table>
<table role="presentation" align="center" width="200" border="0">{{#vardefine:i|0}}{{#while:|{{#vardefine:epNum|{{#explode:{{{Episodes}}}|; |{{#var:i}}}}}}{{#var:epNum}}|<nowiki/>{{#vardefine:youTubeLink|{{#explode:{{{YouTube}}}|; |{{#var:i}}}}}}<tr><td style="text-align: left; vertical-align: top;">{{#ifeq:{{#sub:{{#var:epNum}}|0|1}}|F|[[The Flog episode {{#expr:{{#sub:{{#var:epNum}}|1}}*1}}]]|[[Episode {{#expr:{{#var:epNum}}*1}}]]}}</td><td style="text-align: right; vertical-align: top;">[{{#var:youTubeLink}} YT]</td></tr>{{#vardefine:i|{{#expr:{{#var:i}} + 1}}}}}}</table></div></div></includeonly>
+
<table role="presentation" align="center" width="160" border="0">{{#vardefine:i|0}}{{#while:|{{#vardefine:epNum|{{#explode:{{{Episodes}}}|; |{{#var:i}}}}}}{{#var:epNum}}|<nowiki/>{{#vardefine:youTubeLink|{{#explode:{{{YouTube}}}|; |{{#var:i}}}}}}<tr><td style="text-align: left; vertical-align: top;">{{#ifeq:{{#sub:{{#var:epNum}}|0|1}}|F|[[The Flog episode {{#expr:{{#sub:{{#var:epNum}}|1}}*1}}]]|[[Episode {{#expr:{{#var:epNum}}*1}}]]}}</td><td style="text-align: right; vertical-align: top;">[{{#var:youTubeLink}} YT]</td></tr>{{#vardefine:i|{{#expr:{{#var:i}} + 1}}}}}}</table></div></div></includeonly>

Revision as of 09:34, 29 March 2020

{{GameArtListEntry
    |Title=Battletoads
    |Image=028 - Battletoads.jpg
    |Episodes=F39; 028
    |YouTube=https://www.youtube.com/watch?v=KQh_6p9_ndc; https://www.youtube.com/watch?v=X-IJHU3xiGk}}