Template

Difference between revisions of "Ambox/core"

From Xojo Documentation

< Template:Ambox
(Created page with '<table class="metadata plainlinks ambox {{#switch:{{{small|}}} | left = mbox-small-left }} {{#switch:{{{type|}}} | speedy = ambox-speedy | delete = ambox-delete | content…')
 
 
Line 24: Line 24:
 
   | {{{image}}}
 
   | {{{image}}}
 
   | [[File:{{#switch:{{{type|}}}
 
   | [[File:{{#switch:{{{type|}}}
     | speedy    = Ambox speedy deletion.png
+
     | speedy    = fa-exclamation-triangle-64.png
 
     | delete    = Ambox deletion.png
 
     | delete    = Ambox deletion.png
 
     | content    = Ambox content.png
 
     | content    = Ambox content.png
Line 52: Line 52:
 
}}
 
}}
 
</tr>
 
</tr>
</table><!--
+
</table>
Detect and report usage with faulty "type" parameter:
+
{{#switch:{{{type|}}}
-->{{#switch:{{{type|}}}
 
 
|  <!-- No type fed, is also valid input -->
 
|  <!-- No type fed, is also valid input -->
 
| speedy
 
| speedy
Line 64: Line 63:
 
| notice    = <!-- Do nothing, valid "type" -->
 
| 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 -->
 
| #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":
+
{{#switch:{{{image|}}}
-->{{#switch:{{{image|}}}
 
 
| blank = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
 
| blank = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>
+
}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Latest revision as of 20:52, 19 October 2018