Difference between revisions of "Template:TableContent"
From Nookipedia, the Animal Crossing wiki
(Removing links from col 2.) |
SuperHamster (talk | contribs) (Remove styling for WW/CF/NL months display) |
||
(10 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> | ||
{{#if: one | {{#if: one | ||
− | | {{#if: {{{1|}}} | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | fish = 4F9FC6 | insect = 77AC3F | seafood = 1a7aff | FFDD66}}; | + | | {{#if: {{{1|}}} |
− | {{#if: {{{2|}}} | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | fish = 4F9FC6 | insect = 77AC3F | seafood = 1a7aff | FFDD66}}; {{#if: {{{3|}}} | | | + | | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} |
− | + | | fish = 4F9FC6 | |
− | {{#if: {{{4|}}} | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | fish = 4F9FC6 | insect = 77AC3F | seafood = 1a7aff | FFDD66}}; {{#if: {{{5|}}} | | | + | | insect = 77AC3F |
− | + | | seafood = 1a7aff | |
− | {{#if: {{{6|}}} | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | fish = 4F9FC6 | insect = 77AC3F | seafood = 1a7aff | FFDD66}}; {{#if: {{{7|}}} | | | + | | FFDD66 |
− | {{#if: {{{7|}}} | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | fish = 4F9FC6 | insect = 77AC3F | seafood = 1a7aff | FFDD66}}; {{#if: {{{8|}}} | | | + | }}; border-top-left-radius: 20px; border-bottom-left-radius: 20px;" {{!}} {{{1|}}} |
− | {{ | + | }} |
− | {{# | + | {{#if: {{{2|}}} |
− | { | + | | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} |
− | {{#if: {{{ | + | | fish = 4F9FC6 |
− | {{#if: {{{ | + | | insect = 77AC3F |
+ | | seafood = 1a7aff | ||
+ | | FFDD66 | ||
+ | }}; {{#if: {{{3|}}} | ||
+ | | | ||
+ | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; | ||
+ | }}" {{!}} {{{2|}}} | ||
+ | }} | ||
+ | {{#if: {{{3|}}} | ||
+ | | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | ||
+ | | fish = 4F9FC6 | ||
+ | | insect = 77AC3F | ||
+ | | seafood = 1a7aff | ||
+ | | FFDD66 | ||
+ | }}; {{#if: {{{4|}}} | ||
+ | | | ||
+ | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; | ||
+ | }}" {{!}} {{{3|}}} | ||
+ | }} | ||
+ | {{#if: {{{4|}}} | ||
+ | | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | ||
+ | | fish = 4F9FC6 | ||
+ | | insect = 77AC3F | ||
+ | | seafood = 1a7aff | ||
+ | | FFDD66 | ||
+ | }}; {{#if: {{{5|}}} | ||
+ | | | ||
+ | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; | ||
+ | }}" {{!}} {{{4|}}} | ||
+ | }} | ||
+ | {{#if: {{{5|}}} | ||
+ | | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | ||
+ | | fish = 4F9FC6 | ||
+ | | insect = 77AC3F | ||
+ | | seafood = 1a7aff | ||
+ | | FFDD66 | ||
+ | }}; {{#if: {{{6|}}} | ||
+ | | | ||
+ | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; | ||
+ | }}" {{!}} {{{5|}}} | ||
+ | }} | ||
+ | {{#if: {{{6|}}} | ||
+ | | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | ||
+ | | fish = 4F9FC6 | ||
+ | | insect = 77AC3F | ||
+ | | seafood = 1a7aff | ||
+ | | FFDD66 | ||
+ | }}; {{#if: {{{7|}}} | ||
+ | | | ||
+ | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; | ||
+ | }}" {{!}} {{{6|}}} | ||
+ | }} | ||
+ | {{#if: {{{7|}}} | ||
+ | | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | ||
+ | | fish = 4F9FC6 | ||
+ | | insect = 77AC3F | ||
+ | | seafood = 1a7aff | ||
+ | | FFDD66 | ||
+ | }}; {{#if: {{{8|}}} | ||
+ | | | ||
+ | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; | ||
+ | }}" {{!}} {{#switch: {{{type|}}} | ||
+ | | insect = {{#switch: {{{game|}}} | ||
+ | | DnM | ||
+ | | DnM+ | ||
+ | | ACGC | ||
+ | | DnMe+ = <small><font color{{=}}"#DFDFDF">{{{7|}}}</font></small> | ||
+ | | {{{7|}}} | ||
+ | }} | ||
+ | | {{{7|}}} | ||
+ | }} | ||
+ | }} | ||
+ | {{#if: {{{8|}}} | ||
+ | | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | ||
+ | | fish = 4F9FC6 | ||
+ | | insect = 77AC3F | ||
+ | | seafood = 1a7aff | ||
+ | | FFDD66 | ||
+ | }}; {{#if: {{{9|}}} | ||
+ | | | ||
+ | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; | ||
+ | }}" {{!}} {{#switch: {{{type|}}} | ||
+ | | insect = {{#switch: {{{game|}}} | ||
+ | | ACWW = <small><font color{{=}}"#DFDFDF">{{{8|}}}</font></small> | ||
+ | | {{{8|}}} | ||
+ | }} | ||
+ | | fish = {{#switch: {{{game|}}} | ||
+ | | DnM | ||
+ | | DnM+ | ||
+ | | ACGC | ||
+ | | DnMe+ = <small><font color{{=}}"#DFDFDF">{{{8|}}}</font></small> | ||
+ | | {{{8|}}} | ||
+ | }} | ||
+ | | {{{8|}}} | ||
+ | }} | ||
+ | }} | ||
+ | {{#if: {{{9|}}} | ||
+ | | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | ||
+ | | fish = 4F9FC6 | ||
+ | | insect = 77AC3F | ||
+ | | seafood = 1a7aff | ||
+ | | FFDD66 | ||
+ | }}; {{#if: {{{10|}}} | ||
+ | | | ||
+ | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; | ||
+ | }}" {{!}} {{#switch: {{{type|}}} | ||
+ | | insect = {{#switch: {{{game|}}} | ||
+ | | {{{9|}}} | ||
+ | }} | ||
+ | | {{{9|}}} | ||
+ | }} | ||
+ | }} | ||
+ | {{#if: {{{10|}}} | ||
+ | | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | ||
+ | | fish = 4F9FC6 | ||
+ | | insect = 77AC3F | ||
+ | | seafood = 1a7aff | ||
+ | | FFDD66 | ||
+ | }}; {{#if: {{{11|}}} | ||
+ | | | ||
+ | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; | ||
+ | }}" {{!}} {{#switch: {{{type|}}} | ||
+ | | fish = {{#switch: {{{game|}}} | ||
+ | | {{{10|}}} | ||
+ | }} | ||
+ | | {{{10|}}} | ||
+ | }} | ||
+ | }} | ||
+ | {{#if: {{{11|}}} | ||
+ | | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | ||
+ | | fish = 4F9FC6 | ||
+ | | insect = 77AC3F | ||
+ | | seafood = 1a7aff | ||
+ | | FFDD66 | ||
+ | }}; {{#if: {{{12|}}} | ||
+ | | | ||
+ | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; | ||
+ | }}" {{!}} {{#switch: {{{type|}}} | ||
+ | | seafood = {{#switch: {{{game|}}} | ||
+ | | ACNL = <small><font color{{=}}"#DFDFDF">{{{11|}}}</font></small> | ||
+ | | {{{11|}}} | ||
+ | }} | ||
+ | | {{{11|}}} | ||
+ | }} | ||
+ | }} | ||
+ | {{#if: {{{12|}}} | ||
+ | | {{!}} style="background-color:#ffffff; border-bottom: 4px solid #{{#switch: {{{type|}}} | ||
+ | | fish = 4F9FC6 | ||
+ | | insect = 77AC3F | ||
+ | | seafood = 1a7aff | ||
+ | | FFDD66 | ||
+ | }}; 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.