Template:Infobox: Difference between revisions

From Splatoon Fanon
Created page with "{| class="infobox templatetext {{{class|}}}" align="right" style="border: solid 3px #{{{tableborder|{{color|medium-yellow}}}}}; text-align:center; width:98%; max-width:350px; margin:1px 1px; padding:2px; background-color: #{{{tablecolor|{{color|burnt-gold}}}}}; {{{tablestyle|}}}" |- !style="border: 2px #{{{headerborder|{{color|yellow}}}}} solid; text-align:center; background-color: #{{{headercolor|{{color|medium-yellow}}}}}; font-size:1.5em; {{{headerstyle|}}}" colspan=2..."
 
mNo edit summary
 
Line 1: Line 1:
{| class="infobox templatetext {{{class|}}}" align="right" style="border: solid 3px #{{{tableborder|{{color|medium-yellow}}}}}; text-align:center; width:98%; max-width:350px; margin:1px 1px; padding:2px; background-color: #{{{tablecolor|{{color|burnt-gold}}}}}; {{{tablestyle|}}}"
{| class="infobox templatetext {{{class|}}} round" align="right" style="border: solid 3px #{{{tableborder|{{color|medium-yellow}}}}}; text-align:center; width:98%; max-width:350px; margin:1px 1px; padding:2px; background-color: #{{{tablecolor|{{color|burnt-gold}}}}}; {{{tablestyle|}}}"
|-
|-
!style="border: 2px #{{{headerborder|{{color|yellow}}}}} solid; text-align:center; background-color: #{{{headercolor|{{color|medium-yellow}}}}}; font-size:1.5em; {{{headerstyle|}}}" colspan=2|'''{{{header|{{PAGENAME}}}}}'''
!class="round" style="border: 2px #{{{headerborder|{{color|yellow}}}}} solid; text-align:center; background-color: #{{{headercolor|{{color|medium-yellow}}}}}; font-size:1.5em; {{{headerstyle|}}}" colspan=2|'''{{{header|{{PAGENAME}}}}}'''
|-<noinclude>
|-<noinclude>
!
!

Latest revision as of 14:26, 24 April 2025

Infobox

Infobox framework. Do not use this template directly! Instead, use it as the header to create other subpage templates to this page.

Some configurations are available:

  • tableborder: Changes the outside border color
  • tablecolor: Changes the table color
  • headerborder: Changes the header border color
  • headercolor: Changes the header background color
  • header: Text to go within the header. Autofills to page name.
  • class: Any auxiliary classes for the entire infobox
  • tablestyle: Any auxiliary styles for the entire infobox
  • headerstyle: Any auxiliary styles for the header box
{{Infobox|tableborder=|tablecolor=|headerborder=|headercolor=|header=}}
!
|
|-
!
|
|}