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 (Use <onlyinclude>.) |
(Added documentation.) |
||
Line 1: | Line 1: | ||
{{lang|Template:Bug}}<onlyinclude><div><strong style="color:#a32727;display:table-cell;padding-left:1em;white-space:nowrap;">[[File:Bug.png|link=]] Bug: </strong><span style="display:table-cell;">{{{1|}}}</span></div></onlyinclude> | {{lang|Template:Bug}} | ||
<onlyinclude><includeonly><div><strong style="color:#a32727; display:table-cell; padding-left:1em; white-space:nowrap;">[[File:Bug.png|link=]] <!-- | |||
-->Bug<!-- | |||
-->: </strong><span style="display:table-cell;">{{{1|}}}</span></div></includeonly></onlyinclude> | |||
{{documentation|Template:Note/doc}} |
Revision as of 03:40, 13 December 2021
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.