Template:Ambox/core: Difference between revisions

no edit summary
(replace edit with {{grey border}})
No edit summary
Line 1: Line 1:
<table class="metadata plainlinks ambox {{#switch:{{{small|}}}
<table class="metadata plainlinks ambox <span class="fck_mw_template">{{#switch:{{{small|}}}fckLR| left = mbox-small-leftfckLR}}</span> <span class="fck_mw_template">{{#switch:{{{type|}}}fckLR| speedy    = ambox-speedyfckLR| delete    = ambox-deletefckLR| content    = ambox-contentfckLR| style      = ambox-stylefckLR| move      = ambox-movefckLR| protection = ambox-protectionfckLR| notice    <!-- notice = default -->fckLR| #default  = ambox-noticefckLR}}</span> <span class="fck_mw_template">{{{class|}}}</span>" style="<span class="fck_mw_template">{{grey border}}</span> <span class="fck_mw_template">{{{style|}}}</span>">
| left = mbox-small-left
}} {{#switch:{{{type|}}}
| speedy    = ambox-speedy
| delete    = ambox-delete
| content    = ambox-content
| style      = ambox-style
| move      = ambox-move
| protection = ambox-protection
| notice    <!-- notice = default -->
| #default  = ambox-notice
}} {{{class|}}}" style="{{grey border}} {{{style|}}}">
<tr>
<tr>
{{#switch:{{{image|}}}
 
| blank    <!-- Fall back to "none", since deprecated. -->
QuickBooks pro support number, QuickBooks pro technical support number, QuickBooks pro customer support number, QuickBooks pro Help desk support number, QuickBooks pro tech support number, QuickBooks pro customer service number
| none = <td class="mbox-empty-cell"></td>   <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
 
| #default =  
QuickBooks payroll support phone number, QuickBooks payroll technical support phone number, QuickBooks payroll customer support phone number, QuickBooks payroll Help desk support phone number, QuickBooks payroll tech support phone number, QuickBooks payroll customer service phone number
  <td class="mbox-image" style="vertical-align: middle;">{{
 
  #switch:{{{small|}}}
QuickBooks payroll support number, QuickBooks payroll technical support number, QuickBooks payroll customer support number, QuickBooks payroll Help desk support number, QuickBooks payroll tech support number, QuickBooks payroll customer service number
  | left = <!-- Don't use the DIV -->  
 
  | #default = <div style="width: 52px;">
### # QuickBooks support phone number, QuickBooks technical support phone number, QuickBooks customer support phone number, QuickBooks Help desk support phone number, QuickBooks tech support phone number, QuickBooks customer service phone number
  }}
 
  {{#if:{{{image|}}}
QuickBooks support number, QuickBooks technical support number, QuickBooks customer support number, QuickBooks Help desk support number, QuickBooks tech support number, QuickBooks customer service number
  | {{{image}}}
 
  | [[File:{{#switch:{{{type|}}}
QuickBooks support pro phone number, QuickBooks pro technical support phone number, QuickBooks pro customer support phone number, QuickBooks pro Help desk support phone number, QuickBooks pro tech support phone number, QuickBooks pro customer service phone number
    | speedy    = Icon-warning.png
 
    | delete    = Deletion icon.svg.png
QuickBooks pro support number, QuickBooks pro technical support number, QuickBooks pro customer support number, QuickBooks pro Help desk support number, QuickBooks pro tech support number, QuickBooks pro customer service number
    | content    = Important.png
 
    | style      = Broom icon.png
QuickBooks payroll support phone number, QuickBooks payroll technical support phone number, QuickBooks payroll customer support phone number, QuickBooks payroll Help desk support phone number, QuickBooks payroll tech support phone number, QuickBooks payroll customer service phone number
    | move      = Move.png
 
    | protection = Ambox protection.png
QuickBooks payroll support number, QuickBooks payroll technical support number, QuickBooks payroll customer support number, QuickBooks payroll Help desk support number, QuickBooks payroll tech support number, QuickBooks payroll customer service number
    | notice          <!-- notice = default -->
 
    | #default  = Information icon.png
 
    }} | {{#switch:{{{small|}}}  
@ 1-800-919-0992 QuickBooks point of sale online 24/7 help desk phone number john.smith65
      | left = 20x20px  
<span class="fck_mw_template">{{#switch:{{{image|}}}fckLR| blank    <!-- Fall back to "none", since deprecated. -->fckLR| none = &lt;td class=&quot;mbox-empty-cell&quot;&gt;&lt;/td&gt;   <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->fckLR| #default = fckLR  &lt;td class=&quot;mbox-image&quot; style=&quot;vertical-align: middle;&quot;&gt;{{fckLR  #switch:{{{small|}}}fckLR  | left = <!-- Don't use the DIV --> fckLR  | #default = &lt;div style=&quot;width: 52px;&quot;&gt; fckLR  }}fckLR  {{#if:{{{image|}}}fckLR  | {{{image}}}fckLR  | [[File:{{#switch:{{{type|}}}fckLR    | speedy    = Icon-warning.pngfckLR    | delete    = Deletion icon.svg.pngfckLR    | content    = Important.pngfckLR    | style      = Broom icon.pngfckLR    | move      = Move.pngfckLR    | protection = Ambox protection.pngfckLR    | notice          <!-- notice = default -->fckLR    | #default  = Information icon.pngfckLR    }} | {{#switch:{{{small|}}} fckLR      | left = 20x20px fckLR      | #default = 40x40px fckLR      }} |link=|alt=]]fckLR  }}{{#switch:{{{small|}}}fckLR  | left = <!-- Don't use the /DIV -->fckLR  | #default = &lt;/div&gt; fckLR  }}&lt;/td&gt;fckLR}}</span>
      | #default = 40x40px  
<td class="mbox-text" style="<span class="fck_mw_template">{{{textstyle|}}}</span>; vertical-align:middle;"> <span class="fck_mw_template">{{{text}}}</span> <span class="fck_mw_template">{{#if:{{{date|}}}fckLR |&lt;small&gt;''({{{date}}})''&lt;/small&gt;fckLR}}</span></td>
      }} |link=|alt=]]
<p><span class="fck_mw_template">{{#if:{{{imageright|}}}fckLR| {{#ifeq:{{{imageright|}}}|nonefckLR  | <!-- No image. -->fckLR  | &lt;td class=&quot;mbox-imageright&quot;&gt;{{#switch:{{{small|}}}fckLR    | left = {{{imageright}}}fckLR    | #default = &lt;div style=&quot;width: 52px;&quot;&gt; {{{imageright}}} &lt;/div&gt;fckLR    }}&lt;/td&gt;fckLR  }}fckLR}}</span>
  }}{{#switch:{{{small|}}}
</p>
  | left = <!-- Don't use the /DIV -->
  | #default = </div>
  }}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}; vertical-align:middle;"> {{{text}}} {{#if:{{{date|}}}
|<small>''({{{date}}})''</small>
}}</td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
  | <!-- No image. -->
  | <td class="mbox-imageright">{{#switch:{{{small|}}}
    | left = {{{imageright}}}
    | #default = <div style="width: 52px;"> {{{imageright}}} </div>
    }}</td>
  }}
}}
</tr>
</tr>
</table><!--  
</table><!--  
Detect and report usage with faulty "type" parameter:
Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
--><span class="fck_mw_template">{{#switch:{{{type|}}}fckLR|  <!-- No type fed, is also valid input -->fckLR| speedyfckLR| deletefckLR| contentfckLR| stylefckLR| movefckLR| protectionfckLR| notice    = <!-- Do nothing, valid "type" -->fckLR| #default  = &lt;div style=&quot;text-align: center;&quot;&gt;This message box is using an invalid &quot;type={{{type|}}}&quot; parameter and needs fixing.&lt;/div&gt;[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->fckLR}}</span><!--  
|  <!-- No type fed, is also valid input -->
| speedy
| delete
| content
| style
| move
| protection
| notice    = <!-- Do nothing, valid "type" -->
| #default  = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<!--  
Detect and report usage of deprecated "image=blank":
Detect and report usage of deprecated "image=blank":
-->{{#switch:{{{image|}}}
--><span class="fck_mw_template">{{#switch:{{{image|}}}fckLR| blank = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->fckLR}}</span><span class="fck_mw_noinclude" _fck_mw_customtag="true" _fck_mw_tagname="noinclude">fckLR{{documentation}}fckLR&lt;!-- Add categories and interwikis to the /doc subpage, not here! --&gt;fckLR</span>
| blank = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>