Difference between revisions of "Template:TableFooter"

From Nookipedia, the Animal Crossing wiki
(New row for note)
(Removing background-color, as it's not necessary)
(8 intermediate revisions by 4 users not shown)
Line 6: Line 6:
 
* '''div''' - Optional. div=false will remove <code><nowiki></div></nowiki></code> closing tags. Use this parameter if the table that is ending is not enclosed in a collapsible container.
 
* '''div''' - Optional. div=false will remove <code><nowiki></div></nowiki></code> closing tags. Use this parameter if the table that is ending is not enclosed in a collapsible container.
 
* '''type''' - Optional. Acceptable parameters are fish, insect, and seafood and will create a small notice below the table about beginning/end date appearances.
 
* '''type''' - Optional. Acceptable parameters are fish, insect, and seafood and will create a small notice below the table about beginning/end date appearances.
 +
* '''note''' - Optional. Accepts text, which is added at the bottom of the table in small, italicized font.
 +
 +
[[Category:Table templates]]
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{#if: {{{note|}}} |{{!-}}{{!}}<small>''{{{note|}}}''</small>| }}
+
{{#if: {{{note|}}} | {{(!}} align{{=}}"center" width{{=}}99% style{{=}}"text-align:center; {{roundy}}"
{{#switch: {{{type|}}} | fish | insect | seafood = {{(!}} align{{=}}"center" width{{=}}99% style{{=}}"background-color:#{{#switch: {{{type|}}} | fish = 66CCFF | insect = A2DB1E | seafood = 8dbdff}}; text-align:center; {{roundy}}"
+
{{!}}<small>''{{{note|}}}''</small>}}
{{!}}An asterisk indicates that the beginning or end date for appearance is about the 15th of that month.
+
{{#switch: {{{type|}}} | fish | insect | seafood = {{(!}} align{{=}}"center" width{{=}}99% style{{=}}"text-align:center; {{roundy}}"
 +
{{!}}* An asterisk indicates that the beginning or end date for appearance is about the 15th of that month.
 
{{!)}}
 
{{!)}}
{{(!}} align{{=}}"center" style{{=}}"background-color:#{{#switch: {{{type|}}} | fish = 4F9FC6 | insect = 77AC3F | seafood = 1a7aff}}" {{!)}}}}
+
{{(!}} align{{=}}"center" {{!)}}}}
 
|} {{#ifeq: {{{div|}}} | false | | </div></div>}}</includeonly>
 
|} {{#ifeq: {{{div|}}} | false | | </div></div>}}</includeonly>

Revision as of 05:20, April 11, 2021

Usage

To be used to close tables and divs created by Template:TableHeader.

Parameters

  • div - Optional. div=false will remove </div> closing tags. Use this parameter if the table that is ending is not enclosed in a collapsible container.
  • type - Optional. Acceptable parameters are fish, insect, and seafood and will create a small notice below the table about beginning/end date appearances.
  • note - Optional. Accepts text, which is added at the bottom of the table in small, italicized font.