Template:InfoBanner: Difference between revisions

From Tiny Rogues Wiki
(Created page with "<includeonly>{{BannerBox |cont_class=tone-7 {{{class|}}} |boxcolor=transparent |image={{#if:{{{image|}}}|{{{image|}}}|{{#switch:{{{type|}}}|warning=Icon - Warning|#default|info=Icon - Info}}}}.{{{ext|png}}} |imagesize={{#if:{{{imagesize|}}}|{{{imagesize|}}}|50}}px |textstyle=text-align: left; |text='''{{#switch:{{{type|}}}|warning=Warning|info|#default=Information}}''': {{{text|}}} }}</includeonly><noinclude> == Parameters == *<code>text</code> *<code>image</code> *<code...")
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{BannerBox
<includeonly>{{BannerBox
|cont_class=tone-7 {{{class|}}}
|cont_class=tone-7 {{{class|}}}
|boxcolor=transparent
|boxcolor={{{boxcolor|}}}
|image={{#if:{{{image|}}}|{{{image|}}}|{{#switch:{{{type|}}}|warning=Icon - Warning|#default|info=Icon - Info}}}}.{{{ext|png}}}
|image={{#if:{{{image|}}}|{{{image|}}}|{{#switch:{{{type|}}}|warning=Icon - Warning|#default|info=Icon - Info}}}}.{{{ext|png}}}
|imagesize={{#if:{{{imagesize|}}}|{{{imagesize|}}}|50}}px
|imagesize={{#if:{{{imagesize|}}}|{{{imagesize|}}}|50}}px

Latest revision as of 05:00, 31 March 2023

Parameters

  • text
  • image
  • type - warning/info, defaults to info
  • imagesize - in pixels, defaults to 50
  • ext - image extension, defaults to png