Template:Infobox: Difference between revisions

From Wario Speedrunning Wiki
Created page with "{| class="infobox {{{class|}}}" align="right" style="border: solid 3px #{{{tableborder|{{color|purple}}}}}; text-align:center; width:98%; max-width:350px; margin:1px 1px; padding:2px; background-color: #{{{tablecolor|{{color|dark-purple}}}}}; {{{tablestyle|}}}" |- !style="border: 2px #{{{headerborder|{{color|yellow}}}}} solid; text-align:center; background-color: #{{{headercolor|{{color|magenta}}}}}; font-size:1.5em; {{{headerstyle|}}}" colspan=2|'''{{{header|{{PAGENAME}..."
 
mNo edit summary
 
Line 1: Line 1:
{| class="infobox {{{class|}}}" align="right" style="border: solid 3px #{{{tableborder|{{color|purple}}}}}; text-align:center; width:98%; max-width:350px; margin:1px 1px; padding:2px; background-color: #{{{tablecolor|{{color|dark-purple}}}}}; {{{tablestyle|}}}"
{| class="infobox {{{class|}}}" align="right" style="border: solid 3px #{{{tableborder|{{color|purple}}}}}; text-align:center; width:100%; max-width:360px; margin:1px 1px; padding:2px; background-color: #{{{tablecolor|{{color|dark-purple}}}}}; {{{tablestyle|}}}"
|-
|-
!style="border: 2px #{{{headerborder|{{color|yellow}}}}} solid; text-align:center; background-color: #{{{headercolor|{{color|magenta}}}}}; font-size:1.5em; {{{headerstyle|}}}" colspan=2|'''{{{header|{{PAGENAME}}}}}'''
!style="border: 2px #{{{headerborder|{{color|yellow}}}}} solid; text-align:center; background-color: #{{{headercolor|{{color|magenta}}}}}; font-size:1.5em; {{{headerstyle|}}}" colspan=2|'''{{{header|{{PAGENAME}}}}}'''

Latest revision as of 18:46, 1 May 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=}}
!
|
|-
!
|
|}