Template:Ambox/core: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<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>">
<table class="metadata plainlinks ambox {{#switch:{{{small|}}}
| 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|}}}
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
| blank    <!-- Fall back to "none", since deprecated. -->
 
| none = <td class="mbox-empty-cell"></td>   <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
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
| #default =  
 
  <td class="mbox-image" style="vertical-align: middle;">{{
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
  #switch:{{{small|}}}
 
  | left = <!-- Don't use the DIV -->  
### # 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
  | #default = <div style="width: 52px;">
 
  }}
QuickBooks support number, QuickBooks technical support number, QuickBooks customer support number, QuickBooks Help desk support number, QuickBooks tech support number, QuickBooks customer service number
  {{#if:{{{image|}}}
 
  | {{{image}}}
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
  | [[File:{{#switch:{{{type|}}}
 
    | speedy    = Icon-warning.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
    | delete    = Deletion icon.svg.png
 
    | content    = Important.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
    | style      = Broom icon.png
 
    | move      = Move.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
    | protection = Ambox protection.png
 
    | notice          <!-- notice = default -->
 
    | #default  = Information icon.png
@ 1-800-919-0992 QuickBooks point of sale online 24/7 help desk phone number john.smith65
    }} | {{#switch:{{{small|}}}  
<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>
      | left = 20x20px  
<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>
      | #default = 40x40px  
<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>
      }} |link=|alt=]]
</p>
  }}{{#switch:{{{small|}}}
  | 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:
--><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><!--  
-->{{#switch:{{{type|}}}
|  <!-- 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":
--><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>
-->{{#switch:{{{image|}}}
| 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>
<noinclude>[[Category:Formatting and function templates]]</noinclude>

Latest revision as of 15:41, 25 April 2016

[create] Documentation icon Template documentation