Template:TGMC banner: Difference between revisions

From tgwiki2
Jump to navigation Jump to search
imported>Gohunt001
Created page with " This template is for a banner image displayed on the TGMC wiki. The banner rotates between 4 images, changing every hour, keeping things somewhat fresh. The switching is base..."
 
imported>NyoomVoyager
mNo edit summary
 
(6 intermediate revisions by 3 users 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>
LOCALHOUR:{{LOCALHOUR}}


This template is for a banner image displayed on the TGMC wiki. The banner rotates between 4 images, changing every hour, keeping things somewhat fresh. The switching is based on the local hour. Local where exactly? iunno.
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
|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
|15 = [[file:TGMC_bannerbytech_guy.png]]
| 15  
|16 = [[file:TGMC_gohuntbanner.png]]
| 19
|17 = [[file:TGMC_citrusbanner.png]]
| 23 = [[file:TGMC_citrusbanner.png]]
|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:23

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.