Difference between revisions of "Template:TableContent"

From Nookipedia, the Animal Crossing wiki
(Fixes formatting on bug, insect and seafood tables. Hopefully. ^^;)
(Remove styling for WW/CF/NL months display)
 
(7 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
===Parameters===
 
===Parameters===
 
* '''type''' - Optional. Will change cell border colors to match the fish, insect or seafood tables.
 
* '''type''' - Optional. Will change cell border colors to match the fish, insect or seafood tables.
 +
 +
[[Category:Table templates]]
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
Line 14: Line 16:
 
                 | seafood = 1a7aff
 
                 | seafood = 1a7aff
 
                 | FFDD66
 
                 | FFDD66
                 }}; {{roundyleft}}" {{!}} {{{1|}}}
+
                 }}; border-top-left-radius: 20px; border-bottom-left-radius: 20px;" {{!}} {{{1|}}}
 
}}
 
}}
 
{{#if: {{{2|}}}
 
{{#if: {{{2|}}}
Line 24: Line 26:
 
                 }}; {{#if: {{{3|}}}
 
                 }}; {{#if: {{{3|}}}
 
                         |  
 
                         |  
                         | {{roundyright}}
+
                         | border-top-right-radius: 20px; border-bottom-right-radius: 20px;
 
                         }}" {{!}} {{{2|}}}
 
                         }}" {{!}} {{{2|}}}
 
}}
 
}}
Line 35: Line 37:
 
                 }}; {{#if: {{{4|}}}
 
                 }}; {{#if: {{{4|}}}
 
                         |  
 
                         |  
                         | {{roundyright}}
+
                         | border-top-right-radius: 20px; border-bottom-right-radius: 20px;
 
                         }}" {{!}} {{{3|}}}
 
                         }}" {{!}} {{{3|}}}
 
}}
 
}}
Line 46: Line 48:
 
                 }}; {{#if: {{{5|}}}
 
                 }}; {{#if: {{{5|}}}
 
                         |  
 
                         |  
                         | {{roundyright}}
+
                         | border-top-right-radius: 20px; border-bottom-right-radius: 20px;
 
                         }}" {{!}} {{{4|}}}
 
                         }}" {{!}} {{{4|}}}
 
}}
 
}}
Line 57: Line 59:
 
                 }}; {{#if: {{{6|}}}
 
                 }}; {{#if: {{{6|}}}
 
                         |  
 
                         |  
                         | {{roundyright}}
+
                         | border-top-right-radius: 20px; border-bottom-right-radius: 20px;
 
                         }}" {{!}} {{{5|}}}
 
                         }}" {{!}} {{{5|}}}
 
}}
 
}}
Line 68: Line 70:
 
                 }}; {{#if: {{{7|}}}
 
                 }}; {{#if: {{{7|}}}
 
                         |  
 
                         |  
                         | {{roundyright}}
+
                         | border-top-right-radius: 20px; border-bottom-right-radius: 20px;
 
                         }}" {{!}} {{{6|}}}
 
                         }}" {{!}} {{{6|}}}
 
}}
 
}}
Line 79: Line 81:
 
                 }}; {{#if: {{{8|}}}
 
                 }}; {{#if: {{{8|}}}
 
                         |  
 
                         |  
                         | {{roundyright}}
+
                         | border-top-right-radius: 20px; border-bottom-right-radius: 20px;
 
                         }}" {{!}} {{#switch: {{{type|}}}
 
                         }}" {{!}} {{#switch: {{{type|}}}
 
                                         | insect = {{#switch: {{{game|}}}
 
                                         | insect = {{#switch: {{{game|}}}
Line 99: Line 101:
 
                 }}; {{#if: {{{9|}}}
 
                 }}; {{#if: {{{9|}}}
 
                         |  
 
                         |  
                         | {{roundyright}}
+
                         | border-top-right-radius: 20px; border-bottom-right-radius: 20px;
 
                         }}" {{!}} {{#switch: {{{type|}}}
 
                         }}" {{!}} {{#switch: {{{type|}}}
 
                                         | insect = {{#switch: {{{game|}}}
 
                                         | insect = {{#switch: {{{game|}}}
Line 123: Line 125:
 
                 }}; {{#if: {{{10|}}}
 
                 }}; {{#if: {{{10|}}}
 
                         |  
 
                         |  
                         | {{roundyright}}
+
                         | border-top-right-radius: 20px; border-bottom-right-radius: 20px;
 
                         }}" {{!}} {{#switch: {{{type|}}}
 
                         }}" {{!}} {{#switch: {{{type|}}}
 
                                         | insect = {{#switch: {{{game|}}}
 
                                         | insect = {{#switch: {{{game|}}}
                                                | ACCF
 
                                                | ACNL = <small><font color{{=}}"#DFDFDF">{{{9|}}}</font></small>
 
 
                                                 | {{{9|}}}
 
                                                 | {{{9|}}}
 
                                                 }}
 
                                                 }}
Line 141: Line 141:
 
                 }}; {{#if: {{{11|}}}
 
                 }}; {{#if: {{{11|}}}
 
                         |  
 
                         |  
                         | {{roundyright}}
+
                         | border-top-right-radius: 20px; border-bottom-right-radius: 20px;
 
                         }}" {{!}} {{#switch: {{{type|}}}
 
                         }}" {{!}} {{#switch: {{{type|}}}
 
                                         | fish = {{#switch: {{{game|}}}
 
                                         | fish = {{#switch: {{{game|}}}
                                                | ACWW
 
                                                | ACCF
 
                                                | ACNL = <small><font color{{=}}"#DFDFDF">{{{10|}}}</font></small>
 
 
                                                 | {{{10|}}}
 
                                                 | {{{10|}}}
 
                                                 }}
 
                                                 }}
Line 160: Line 157:
 
                 }}; {{#if: {{{12|}}}
 
                 }}; {{#if: {{{12|}}}
 
                         |  
 
                         |  
                         | {{roundyright}}
+
                         | border-top-right-radius: 20px; border-bottom-right-radius: 20px;
 
                         }}" {{!}} {{#switch: {{{type|}}}
 
                         }}" {{!}} {{#switch: {{{type|}}}
 
                                         | seafood = {{#switch: {{{game|}}}
 
                                         | seafood = {{#switch: {{{game|}}}
Line 175: Line 172:
 
                 | seafood = 1a7aff
 
                 | seafood = 1a7aff
 
                 | FFDD66
 
                 | FFDD66
                 }}; {{roundyright}}" {{!}} {{{12|}}}
+
                 }}; border-top-right-radius: 20px; border-bottom-right-radius: 20px;" {{!}} {{{12|}}}
 
}}}}
 
}}}}
 
|-
 
|-
 
</includeonly>
 
</includeonly>

Latest revision as of 03:45, January 3, 2021

Usage

Replaces templates Template:RowStart, Template:RowCenter, and Template:RowEnd.

Parameters

  • type - Optional. Will change cell border colors to match the fish, insect or seafood tables.