Difference between revisions of "DigitiserThumbnail"
From Sega Retro
(Created page with "{{tabs | hidetitle=yes | icon1={{#if:{{{tt1|}}}|1|}} | icon2={{#if:{{{tt2|}}}|2|}} | icon3={{#if:{{{tt3|}}}|3|}} | icon4={{#if:{{{tt4|}}}|4|}} | icon5={{#if:{{{tt5|}}}|5|}} |...") |
|||
Line 1: | Line 1: | ||
− | {{tabs | + | <includeonly><div style="display:none;">{{#vardefine:result|{{#cargo_query: |
+ | tables=digitiser | ||
+ | |fields={{{2|}}} | ||
+ | |where=date="{{{1|}}}" | ||
+ | |format=template | ||
+ | |template=DigitiserThumbnail/Cargo | ||
+ | |default= | ||
+ | }}}}{{#if:{{#var:result|}}|{{#vardefine:field1|{{#explode:{{#var:result}}|,|0}}}}{{#vardefine:field2|{{#explode:{{#var:result}}|,|1}}}}{{#vardefine:field3|{{#explode:{{#var:result}}|,|2}}}}{{#vardefine:field4|{{#explode:{{#var:result}}|,|3}}}}{{#vardefine:field5|{{#explode:{{#var:result}}|,|4}}}}{{#vardefine:field6|{{#explode:{{#var:result}}|,|5}}}}{{#vardefine:field7|{{#explode:{{#var:result}}|,|6}}}}{{#vardefine:field8|{{#explode:{{#var:result}}|,|7}}}}{{#vardefine:field9|{{#explode:{{#var:result}}|,|8}}}}{{#vardefine:field10|{{#explode:{{#var:result}}|,|9}}}}{{#vardefine:field11|{{#explode:{{#var:result}}|,|10}}}}{{#vardefine:field12|{{#explode:{{#var:result}}|,|11}}}}{{#vardefine:field13|{{#explode:{{#var:result}}|,|12}}}}{{#vardefine:field14|{{#explode:{{#var:result}}|,|13}}}}{{#vardefine:field15|{{#explode:{{#var:result}}|,|14}}}}{{#vardefine:field16|{{#explode:{{#var:result}}|,|15}}}}{{#vardefine:field17|{{#explode:{{#var:result}}|,|16}}}}{{#vardefine:field18|{{#explode:{{#var:result}}|,|17}}}}{{#vardefine:field19|{{#explode:{{#var:result}}|,|18}}}}{{#vardefine:field20|{{#explode:{{#var:result}}|,|19}}|}}}}</div>{{tabs | ||
| hidetitle=yes | | hidetitle=yes | ||
− | | icon1={{#if:{{ | + | | icon1={{#if:{{#var:field1}}|1|}} |
− | | icon2={{#if:{{ | + | | icon2={{#if:{{#var:field2}}|2|}} |
− | | icon3={{#if:{{{ | + | | icon3={{#if:{{#var:field3}}|3|}} |
− | | | + | | icon4={{#if:{{#var:field4}}|4|}} |
− | | | + | | icon5={{#if:{{#var:field5}}|5|}} |
− | | | + | | icon6={{#if:{{#var:field6}}|6|}} |
− | | | + | | icon7={{#if:{{#var:field7}}|7|}} |
− | | | + | | icon8={{#if:{{#var:field8}}|8|}} |
− | | content1={{#if:{{{ | + | | icon9={{#if:{{#var:field9}}|9|}} |
− | | | + | | icon10={{#if:{{#var:field10}}|10|}} |
− | | | + | | icon11={{#if:{{#var:field11}}|11|}} |
− | | | + | | icon12={{#if:{{#var:field12}}|12|}} |
− | | | + | | icon13={{#if:{{#var:field13}}|13|}} |
− | | | + | | icon14={{#if:{{#var:field14}}|14|}} |
− | | | + | | icon15={{#if:{{#var:field15}}|15|}} |
− | | | + | | icon16={{#if:{{#var:field16}}|16|}} |
+ | | icon17={{#if:{{#var:field17}}|17|}} | ||
+ | | icon18={{#if:{{#var:field18}}|18|}} | ||
+ | | icon19={{#if:{{#var:field19}}|19|}} | ||
+ | | icon20={{#if:{{#var:field20}}|20|}} | ||
+ | | content1={{#if:{{#var:field1}}|[[File:{{#var:field1}}|{{{width|}}}px]]|}} | ||
+ | | content2={{#if:{{#var:field2}}|[[File:{{#var:field2}}|{{{width|}}}px]]|}} | ||
+ | | content3={{#if:{{#var:field3}}|[[File:{{#var:field3}}|{{{width|}}}px]]|}} | ||
+ | | content4={{#if:{{#var:field4}}|[[File:{{#var:field4}}|{{{width|}}}px]]|}} | ||
+ | | content5={{#if:{{#var:field5}}|[[File:{{#var:field5}}|{{{width|}}}px]]|}} | ||
+ | | content6={{#if:{{#var:field6}}|[[File:{{#var:field6}}|{{{width|}}}px]]|}} | ||
+ | | content7={{#if:{{#var:field7}}|[[File:{{#var:field7}}|{{{width|}}}px]]|}} | ||
+ | | content8={{#if:{{#var:field8}}|[[File:{{#var:field8}}|{{{width|}}}px]]|}} | ||
+ | | content9={{#if:{{#var:field9}}|[[File:{{#var:field9}}|{{{width|}}}px]]|}} | ||
+ | | content10={{#if:{{#var:field10}}|[[File:{{#var:field10|}}|{{{width|}}}px]]|}} | ||
+ | | content11={{#if:{{#var:field11}}|[[File:{{#var:field11|}}|{{{width|}}}px]]|}} | ||
+ | | content12={{#if:{{#var:field12}}|[[File:{{#var:field12|}}|{{{width|}}}px]]|}} | ||
+ | | content13={{#if:{{#var:field13}}|[[File:{{#var:field13|}}|{{{width|}}}px]]|}} | ||
+ | | content14={{#if:{{#var:field14}}|[[File:{{#var:field14|}}|{{{width|}}}px]]|}} | ||
+ | | content15={{#if:{{#var:field15}}|[[File:{{#var:field15|}}|{{{width|}}}px]]|}} | ||
+ | | content16={{#if:{{#var:field16}}|[[File:{{#var:field16|}}|{{{width|}}}px]]|}} | ||
+ | | content17={{#if:{{#var:field17}}|[[File:{{#var:field17|}}|{{{width|}}}px]]|}} | ||
+ | | content18={{#if:{{#var:field18}}|[[File:{{#var:field18|}}|{{{width|}}}px]]|}} | ||
+ | | content19={{#if:{{#var:field19}}|[[File:{{#var:field19|}}|{{{width|}}}px]]|}} | ||
+ | | content20={{#if:{{#var:field20}}|[[File:{{#var:field20|}}|{{{width|}}}px]]|}} | ||
| orientation=horizontal | | orientation=horizontal | ||
| width={{{width|200}}}px | | width={{{width|200}}}px | ||
− | | tabliststyle=margin-bottom:0px; | + | | tabliststyle=margin-bottom:0px;margin-top:0px; |
− | }}<noinclude>[[Category:Sega Retro templates]]</noinclude> | + | }}{{#vardefine:field1|}}{{#vardefine:field2|}}{{#vardefine:field3|}}{{#vardefine:field4|}}{{#vardefine:field5|}}{{#vardefine:field6|}}{{#vardefine:field7|}}{{#vardefine:field8|}}{{#vardefine:field9|}}{{#vardefine:field10|}}{{#vardefine:field11|}}{{#vardefine:field12|}}{{#vardefine:field13|}}{{#vardefine:field14|}}{{#vardefine:field15|}}{{#vardefine:field16|}}{{#vardefine:field17|}}{{#vardefine:field18|}}{{#vardefine:field19|}}{{#vardefine:field20|}}</includeonly><noinclude> |
+ | Template for generating Digitiser thumbnails. | ||
+ | |||
+ | <pre>{{DigitiserThumbnail|1995-12-20|x72}}</pre> | ||
+ | {{DigitiserThumbnail|1995-12-20|x72}} | ||
+ | [[Category:Sega Retro templates]]</noinclude> |