Difference between revisions of "Template:TableFooter"

From Nookipedia, the Animal Crossing wiki
m (Protected "Template:TableFooter": High-visibility template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m
Line 11: Line 11:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{#if: {{{note|}}} | {{(!}} align{{=}}"center" width{{=}}99% style{{=}}"background-color:#FFDD66; text-align:center; {{roundy}}"
+
{{#if: {{{note|}}} | {{(!}} align{{=}}"center" width{{=}}99% style{{=}}"background-color:#{{#switch: {{{color|}}} | fish = 66CCFF | insect = A2DB1E | seafood = 8dbdff | FFDD66}}; text-align:center; {{roundy}}"
 
{{!}}<small>''{{{note|}}}''</small>}}
 
{{!}}<small>''{{{note|}}}''</small>}}
 
{{#switch: {{{type|}}} | fish | insect | seafood = {{(!}} align{{=}}"center" width{{=}}99% style{{=}}"background-color:#{{#switch: {{{type|}}} | fish = 66CCFF | insect = A2DB1E | seafood = 8dbdff}}; 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}}"

Revision as of 14:01, July 3, 2020

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.