Difference between revisions of "Template:FishLocationHeader"

From Stardew Valley Wiki
Jump to navigation Jump to search
m
m (remove extraneous line break which should fix extra height in some rows)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#if:{{{time|}}}|{{{!}} class="wikitable"
{{#arraydefine:seasons|Spring,Summer,Fall,Winter}}
+
! colspan="2"{{!}}
{| class="wikitable"
 
{{#if:{{{time|}}}|
 
! colspan="2" style="background:none; border:none; box-shadow:none;"{{!}}
 
 
! colspan="20"{{!}} Time  
 
! colspan="20"{{!}} Time  
 
|}}
 
|}}
 
|-
 
|-
! colspan="2" style="background-color: {{#switch:{{{1|}}}|Spring = #FBE3D5|Summer = #C5DFB4|Fall = #FEE59A|Winter = #BCD6ED|All Seasons=rgba(255, 255, 255, 0.58)}}; text-align: center; font-weight:bold;"| {{Season|{{{1|}}}}}
+
| colspan="2" style="width:200px; height: 60px; background: #{{#switch:{{{1|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED|All Seasons|All = rgba(255, 255, 255, 0.58)|03A007}}; text-align: center; font-weight:bold;"| {{Season|{{{1|}}}}}
 
! width=16 style="background: #9AD4E2;"| 6
 
! width=16 style="background: #9AD4E2;"| 6
 
! width=16 style="background: #9AD4E2;"| 7
 
! width=16 style="background: #9AD4E2;"| 7
Line 27: Line 24:
 
! width=16 style="background: #656A89;"| 11
 
! width=16 style="background: #656A89;"| 11
 
! width=16 style="background: #656A89;"| 12
 
! width=16 style="background: #656A89;"| 12
! width=16 style="background: #656A89;"| 1</includeonly>
+
! width=16 style="background: #656A89;"| 1
 +
|-
 +
</includeonly>
 +
<noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Latest revision as of 16:55, 4 December 2019

Description

This template formats the header of a fishing table for a specific location. Entries in the table should use Template:FishLocationEntry.

Use

{{FishLocationHeader}}