Template:TGMC banner: Difference between revisions

From /tg/station 13 Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.<br>
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.<br>
LOCALHOUR:{{LOCALHOUR}}
LOCALHOUR:{{LOCALHOUR}}
The template includes specifications for every hour in chronological order now, since this assists in maintainability and for people to add more banners in the future.
<onlyinclude>
<onlyinclude>
<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_team_yippee_team_wahoo_banner.gif]]
| 06
|08 = [[File:TGMC_rouny_sadar_snack_banner.gif]]
| 10 = [[file:TGMC_zandraemmiebanner.png|730px]] <!-----maybe not cutting it ---->
|09 = [[file:TGMC_dakooterbanner.png]]
| 14
|10 = [[file:TGMC_gifbanner.gif]]
| 18
|11 = [[file:TGMC_bannerbytech_guy.png]]
| 22 = [[file:TGMC_gifbanner.gif]]
|12 = [[file:TGMC_gohuntbanner.png]]
| 03
|13 = [[file:TGMC_citrusbanner.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_team_yippee_team_wahoo_banner.gif]]
| 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_team_yippee_team_wahoo_banner.gif]]
}}
}}
</center>
</center>
</onlyinclude>
</onlyinclude>

Latest revision as of 10:42, 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

The template includes specifications for every hour in chronological order now, since this assists in maintainability and for people to add more banners in the future.