Difference between revisions of "Template:TableContent"
From Nookipedia, the Animal Crossing wiki
(Spacing wikitext to make code easier to read.) |
SuperHamster (talk | contribs) (Remove styling for WW/CF/NL months display) |
||
(8 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 | ||
− | }}; | + | }}; border-top-left-radius: 20px; border-bottom-left-radius: 20px;" {{!}} {{{1|}}} |
}} | }} | ||
{{#if: {{{2|}}} | {{#if: {{{2|}}} | ||
Line 24: | Line 26: | ||
}}; {{#if: {{{3|}}} | }}; {{#if: {{{3|}}} | ||
| | | | ||
− | | | + | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; |
− | }}" {{!}} | + | }}" {{!}} {{{2|}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
{{#if: {{{3|}}} | {{#if: {{{3|}}} | ||
Line 40: | Line 37: | ||
}}; {{#if: {{{4|}}} | }}; {{#if: {{{4|}}} | ||
| | | | ||
− | | | + | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; |
}}" {{!}} {{{3|}}} | }}" {{!}} {{{3|}}} | ||
}} | }} | ||
Line 51: | Line 48: | ||
}}; {{#if: {{{5|}}} | }}; {{#if: {{{5|}}} | ||
| | | | ||
− | | | + | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; |
− | }}" {{!}} | + | }}" {{!}} {{{4|}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
{{#if: {{{5|}}} | {{#if: {{{5|}}} | ||
Line 67: | Line 59: | ||
}}; {{#if: {{{6|}}} | }}; {{#if: {{{6|}}} | ||
| | | | ||
− | | | + | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; |
}}" {{!}} {{{5|}}} | }}" {{!}} {{{5|}}} | ||
}} | }} | ||
Line 78: | Line 70: | ||
}}; {{#if: {{{7|}}} | }}; {{#if: {{{7|}}} | ||
| | | | ||
− | | | + | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; |
}}" {{!}} {{{6|}}} | }}" {{!}} {{{6|}}} | ||
}} | }} | ||
Line 89: | Line 81: | ||
}}; {{#if: {{{8|}}} | }}; {{#if: {{{8|}}} | ||
| | | | ||
− | | | + | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; |
− | }}" {{!}} {{#switch: {{{ | + | }}" {{!}} {{#switch: {{{type|}}} |
− | + | | insect = {{#switch: {{{game|}}} | |
− | + | | DnM | |
− | + | | DnM+ | |
− | + | | ACGC | |
− | + | | DnMe+ = <small><font color{{=}}"#DFDFDF">{{{7|}}}</font></small> | |
+ | | {{{7|}}} | ||
+ | }} | ||
| {{{7|}}} | | {{{7|}}} | ||
}} | }} | ||
− | |||
}} | }} | ||
{{#if: {{{8|}}} | {{#if: {{{8|}}} | ||
Line 108: | Line 101: | ||
}}; {{#if: {{{9|}}} | }}; {{#if: {{{9|}}} | ||
| | | | ||
− | | | + | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; |
− | }}" {{!}} {{#switch: {{{ | + | }}" {{!}} {{#switch: {{{type|}}} |
− | + | | insect = {{#switch: {{{game|}}} | |
− | | fish | + | | 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|}}} | | {{{8|}}} | ||
}} | }} | ||
− | |||
− | |||
}} | }} | ||
{{#if: {{{9|}}} | {{#if: {{{9|}}} | ||
Line 127: | Line 125: | ||
}}; {{#if: {{{10|}}} | }}; {{#if: {{{10|}}} | ||
| | | | ||
− | | {{ | + | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; |
− | + | }}" {{!}} {{#switch: {{{type|}}} | |
+ | | insect = {{#switch: {{{game|}}} | ||
+ | | {{{9|}}} | ||
+ | }} | ||
+ | | {{{9|}}} | ||
+ | }} | ||
}} | }} | ||
{{#if: {{{10|}}} | {{#if: {{{10|}}} | ||
Line 138: | Line 141: | ||
}}; {{#if: {{{11|}}} | }}; {{#if: {{{11|}}} | ||
| | | | ||
− | | {{ | + | | border-top-right-radius: 20px; border-bottom-right-radius: 20px; |
− | + | }}" {{!}} {{#switch: {{{type|}}} | |
+ | | fish = {{#switch: {{{game|}}} | ||
+ | | {{{10|}}} | ||
+ | }} | ||
+ | | {{{10|}}} | ||
+ | }} | ||
}} | }} | ||
{{#if: {{{11|}}} | {{#if: {{{11|}}} | ||
Line 149: | Line 157: | ||
}}; {{#if: {{{12|}}} | }}; {{#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|}}} | {{#if: {{{12|}}} | ||
Line 158: | Line 172: | ||
| seafood = 1a7aff | | seafood = 1a7aff | ||
| FFDD66 | | 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.