Template:Cmbox: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
replace style image with free version and delink default images, per request on Wikipedia talk:Article message boxes |
Removing tracking Category:Category message boxes, since it causes problems and using "What links here" is good enough. See Template talk:Fmbox#Category proposal. |
||
Line 33: | Line 33: | ||
}} |
}} |
||
</tr> |
</tr> |
||
</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 --> |
||
Line 44: | Line 45: | ||
| 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 --> |
||
}}< |
}}<noinclude> |
||
⚫ | |||
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Category message boxes]]}}}}</includeonly><!-- |
|||
--><noinclude> |
|||
⚫ | |||
{{documentation}} |
{{documentation}} |
||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
<!-- Add categories and interwikis to the /doc subpage, not here! --> |