Vorlage:Imbox: Unterschied zwischen den Versionen
Adding error reporting. See Template talk:Tmbox#Deprecated ambox parameters.
imported>Davidgothberg (Updating to use "mbox-*" class names instead of "imbox-*". See Template talk:Mbox#Simpler to use class names.) |
imported>Davidgothberg (Adding error reporting. See Template talk:Tmbox#Deprecated ambox parameters.) |
||
Zeile 40: | Zeile 40: | ||
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr> | | <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr> | ||
}} | }} | ||
</table><noinclude> | </table><!-- Detect and report usage with faulty "type" parameter: | ||
-->{{#switch:{{{type|}}} | |||
| <!-- No type fed, is also valid input --> | |||
| speedy | |||
| delete | |||
| content | |||
| style | |||
| move | |||
| protection | |||
| notice = <!-- Do nothing, valid "type" --> | |||
| #default = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> | |||
}}<noinclude> | |||
{{pp-template|small=yes}} | {{pp-template|small=yes}} |