Template:Message box: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m </div>
mNo edit summary
Line 12: Line 12:
>
>
<div
<div
  style="vertical-align: middle; border: none"
  style="vertical-align: middle; border: none; {{#if:{{{icon|}}}|display:flex;}}"
  class="nomobile"
  class="nomobile"
> {{
> {{
   #if: {{{icon|}}}
   #if: {{{icon|}}}
     | <div style="margin: 0 {{#if: {{{mini|}}} | 2 | 4 }}px 0 3px;{{{imagecss|}}}">
     | <div style="margin: 0 {{#if: {{{mini|}}} | 2 | 4 }}px 0 3px;{{{imagecss|}}}">
  }}{{
}}{{
    #if: {{{image|}}}{{{imagetextbefore|}}}{{{imagetextafter|}}}
  #if: {{{image|}}}{{{imagetextbefore|}}}{{{imagetextafter|}}}
    | <div style="margin: 0 {{#if: {{{mini|}}} | 2 | 4 }}px 0 3px;{{{imagecss|}}}">
  | <div style="margin: 0 {{#if: {{{mini|}}} | 2 | 4 }}px 0 3px;{{{imagecss|}}}">
  }} {{{imagetextbefore|}}}{{
}} {{{imagetextbefore|}}}{{
    #if: {{{icon|}}}
  #if: {{{icon|}}}
    | {{CommentSprite | {{{icon|}}} }}
  | {{CommentSprite | {{{icon|}}} }}
  }}{{
}}{{
    #if: {{{image|}}}
  #if: {{{image|}}}
    | [[File:{{{image}}}|{{
  | [[File:{{{image}}}|{{
      #if: {{{imagesize|}}}
    #if: {{{imagesize|}}}
      | {{{imagesize}}}
    | {{{imagesize}}}
      | {{#if: {{{mini|}}} | 16px | 32px }}
    | {{#if: {{{mini|}}} | 16px | 32px }}
    }}|text-top]]
  }}|text-top]]
  }}{{{imagetextafter|}}}{{
}}{{{imagetextafter|}}}{{
   #if: {{{icon|}}}
   #if: {{{icon|}}}
  | </div>
}}{{
  #if: {{{image|}}}{{{imagetextbefore|}}}{{{imagetextafter|}}}
   | </div>
   | </div>
}}
}}

Revision as of 05:33, 6 September 2020

[create] [refresh]Documentation
This template has no documentation. If you know how to use this template, please create it.