Template:TGMC banner: Difference between revisions

From /tg/station 13 Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
<center>
<center>
{{#switch: {{LOCALHOUR}}
{{#switch: {{LOCALHOUR}}
| 01  
|01 = [[File:TGMC_rouny_sadar_snack_banner.gif]]
| 05
|02 = [[file:TGMC_dakooterbanner.png]]
| 09
|03 = [[file:TGMC_gifbanner.gif]]
| 13 
|04 = [[file:TGMC_bannerbytech_guy.png]]
| 17
|05 = [[file:TGMC_gohuntbanner.png]]
| 21 = [[file:TGMC_dakooterbanner.png]]
|06 = [[file:TGMC_citrusbanner.png]]
| 02
|07 = [[File:TGMC_rouny_sadar_snack_banner.gif]]
| 06
|08 = [[file:TGMC_dakooterbanner.png]]
| 10 = [[file:TGMC_zandraemmiebanner.png|730px]] <!-----maybe not cutting it ---->
|09 = [[file:TGMC_gifbanner.gif]]
| 14
|10 = [[file:TGMC_bannerbytech_guy.png]]
| 18
|11 = [[file:TGMC_citrusbanner.png]]
| 22 = [[file:TGMC_gifbanner.gif]]
|12 = [[File:TGMC_rouny_sadar_snack_banner.gif]]
| 03
|13 = [[file:TGMC_dakooterbanner.png]]
| 07
|14 = [[file:TGMC_gifbanner.gif]]
| 11 = [[file:TGMC_bannerbytech_guy.png]]
|15 = [[file:TGMC_bannerbytech_guy.png]]
| 15
|16 = [[file:TGMC_gohuntbanner.png]]
| 19  
|17 = [[file:TGMC_citrusbanner.png]]
| 23 = [[file:TGMC_citrusbanner.png]] <!------ not bad, but too easy? ---->
|18 = [[File:TGMC_rouny_sadar_snack_banner.gif]]
| 04
|19 = [[file:TGMC_dakooterbanner.png]]
| 08
|20 = [[file:TGMC_gifbanner.gif]]
| 12
|21 = [[file:TGMC_bannerbytech_guy.png]]
| 16
|22 = [[file:TGMC_citrusbanner.png]]
| 20
|23 = [[File:TGMC_rouny_sadar_snack_banner.gif]]
| 00 =[[file:TGMC_gohuntbanner.png]]
|24 = [[file:TGMC_dakooterbanner.png]]
| {{color|red|ERROR:comparison string matches no listed cases!}}
|00 = [[file:TGMC_gifbanner.gif]]
}}
}}
</center>
</center>
</onlyinclude>
</onlyinclude>

Revision as of 09:27, 11 April 2024

This template is for a banner image displayed on the TGMC wiki. The banner rotates images, changing on set hours, keeping things somewhat fresh. The switching is based on the local hour. Local where exactly? Iunno.
LOCALHOUR:20