Difference between revisions of "Gallery"
From Sega Retro
Line 1: | Line 1: | ||
− | <includeonly>{{#fornumargs: | + | <includeonly>{{#fornumargs: i |
− | | | + | | v |
− | | | + | | {{#if: {{#pos:{{#var:v}}|¦}} | [[Category:Use Gitem template]]{{#vardefine:v|{{#explode:{{#var:v}}|¦|0}}}} }}{{#if: {{#pos:jpg jpeg png gif pdf mp4 svg|{{fileext|{{#var:v}}}}}} | {{gitem|{{#var:v}}}} | {{#var:v}} |
− | {{# | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{gallery | {{gallery | ||
− | | | + | |{{gitem|Mega UK 01.pdf|page=10-11|Two pages from a UK magazine}} |
− | |Mega UK 01. | + | {{gitem|Mega UK 01.pdf|page=10-11,13-14,18|Five pages from a UK magazine}} |
− | |Mega UK 01. | + | |sonic1_title.png |
}} | }} | ||
</pre> | </pre> | ||
Line 34: | Line 16: | ||
{{gallery | {{gallery | ||
− | | | + | |{{gitem|Mega UK 01.pdf|page=10-11|Two pages from a UK magazine}} |
− | |Mega UK 01. | + | {{gitem|Mega UK 01.pdf|page=10-11,13-14,18|Five pages from a UK magazine}} |
− | |Mega UK 01. | + | |sonic1_title.png |
}} | }} | ||
[[Category:Sega Retro templates]]</noinclude> | [[Category:Sega Retro templates]]</noinclude> |
Revision as of 22:48, 20 May 2017
Usage
{{gallery |{{gitem|Mega UK 01.pdf|page=10-11|Two pages from a UK magazine}} {{gitem|Mega UK 01.pdf|page=10-11,13-14,18|Five pages from a UK magazine}} |sonic1_title.png }}
Returns:
Expression error: Unexpected < operator. File:Mega UK 01.pdfFile:Mega UK 01.pdf
PDF
Expression error: Unexpected < operator. File:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdf
PDF