Template:Message box: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m +class
The category is included on template doc pages that transclude a notice template, which is obviously incorrect, so allow it to be removed.
Line 6: Line 6:
| style="border: none" | {{#if: {{{title|}}} | '''{{{title}}}''' {{#if: {{{discuss|}}} | <sup>[[{{TALKPAGENAME}}{{#if:{{{discussAnchor|}}} | &#35;{{{discussAnchor}}} }}|Discuss]]</sup> }} }}<!--
| style="border: none" | {{#if: {{{title|}}} | '''{{{title}}}''' {{#if: {{{discuss|}}} | <sup>[[{{TALKPAGENAME}}{{#if:{{{discussAnchor|}}} | &#35;{{{discussAnchor}}} }}|Discuss]]</sup> }} }}<!--
-->{{#if: {{{text|}}} | {{#if: {{{title|}}} | <div>{{{text}}}</div> | {{{text}}} }} }}
-->{{#if: {{{text|}}} | {{#if: {{{title|}}} | <div>{{{text}}}</div> | {{{text}}} }} }}
|}{{#ifeq: {{NAMESPACE}} | Template | [[Category:Notice templates|{{BASEPAGENAME}}]] }}</includeonly><noinclude>
|}{{#if: {{{nocat|}}} || {{#ifeq: {{NAMESPACE}} | Template | [[Category:Notice templates|{{BASEPAGENAME}}]] }} }}</includeonly><noinclude>
{{/doc}}</noinclude>
{{/doc}}</noinclude>

Revision as of 12:47, 8 August 2014