Template:BugNotice: Difference between revisions
Jump to navigation
Jump to search
Bug:
Bug: {| class="mw-collapsible mw-collapsed" style="background:rgba(0,0,0,0.05) ;float:no;margin-bottom:1em;margin-left:0;padding-right:0.5em;border:1px solid rgba(255,255,255,0.1); border-left:solid 1px #8bb9e0; padding-left:1em;"
m (Nescius moved page Template:ClassicBug to Template:BugNotice without leaving a redirect: rest of page history at Template:Archived Page History/Template:ModernBug) |
No edit summary |
||
Line 1: | Line 1: | ||
{{doc}} | {{doc}} | ||
< | <includeonly> | ||
<onlyinclude | |||
<onlyinclude><!-- | |||
--><div>{{Notify|{{{text|{{{1|}}}}}}| mode = inline | --><div>{{Notify|{{{text|{{{1|}}}}}}| mode = inline | ||
| img = Icon-Bug.png | | img = Icon-Bug.png | ||
Line 1,410: | Line 1,385: | ||
{{error|Error: mutually exclusive parameters {{para|only}} with {{para|since}} and/or {{para|fixed}} provided.}} | {{error|Error: mutually exclusive parameters {{para|only}} with {{para|since}} and/or {{para|fixed}} provided.}} | ||
}} | }} | ||
}}</ | }}</onlyinclude> | ||
</includeonly> |
Revision as of 10:05, 3 September 2024
as workaround you can use dd
tag
<dd>{{Bug|{{ExpandBox|}}}}</dd>

{{Expand}} doesn't work in notice templates. Example:
:{{Bug|{{Expand|lorem}}}}
Bug: {| class="mw-collapsible mw-collapsed" style="background:rgba(0,0,0,0.05) ;float:no;margin-bottom:1em;margin-left:0;padding-right:0.5em;border:1px solid rgba(255,255,255,0.1); border-left:solid 1px #8bb9e0; padding-left:1em;"
|+ style="text-align:left; white-space:nowrap; font-weight:bold; color:#ddd; " | | lorem
|}
{{Bug|{{Expand|lorem}}}}

|+ style="text-align:left; white-space:nowrap; font-weight:bold; color:#ddd; " | | lorem
|}The above documentation is transcluded from Template:BugNotice/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.