Vorlage:Dmbox: Unterschied zwischen den Versionen
imported>RockMFR (this doesn't do what you think it does) |
imported>Davidgothberg (Making so it reports invalid type parameter by adding itself to Category:Wikipedia message box parameter needs fixing, so we can find and fix such cases.) |
||
Zeile 24: | Zeile 24: | ||
}} | }} | ||
</tr> | </tr> | ||
</table><includeonly> | </table><!-- Detect and report usage with faulty "type" parameter: | ||
-->{{#switch:{{{type|}}} | |||
| <!-- No type fed, is also valid input --> | |||
| disambig | |||
| setindex = <!-- Do nothing, valid "type" --> | |||
| #default = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> | |||
}}<includeonly> | |||
{{#ifeq:{{NAMESPACE}}|Template||[[Category:All disambiguation pages]]}} | {{#ifeq:{{NAMESPACE}}|Template||[[Category:All disambiguation pages]]}} | ||
{{#ifeq:{{NAMESPACE}}||[[Category:All article disambiguation pages]]}}</includeonly><noinclude> | {{#ifeq:{{NAMESPACE}}||[[Category:All article disambiguation pages]]}}</includeonly><noinclude> |