Template:BugNotice: Difference between revisions
Jump to navigation
Jump to search
Bug:
(encountered in: ???)
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;"
(provide where the bug was enccounterd/tested in) |
No edit summary |
||
Line 6: | Line 6: | ||
| | | | ||
| {{#if: {{{observed|}}} | | {{#if: {{{observed|}}} | ||
| <small>{{Tooltip|Information where the bug was encountered in. Doesn't meant it's the only game/software where it exists.| | | <small>{{Tooltip|Information where the bug was encountered in. Doesn't meant it's the only game/software where it exists.|(encountered in: {{{observed}}}}})</small> | ||
| <small style="color:rgba(255,0,0,0.7);">{{Tooltip|<nowiki>{{{observed}}} param of Template:Bug was not set</nowiki>| | | <small style="color:rgba(255,0,0,0.7);">{{Tooltip|<nowiki>{{{observed}}} param of Template:Bug was not set</nowiki>|(encountered in: {{{observed|???}}}}})</small> | ||
}} | }} | ||
}}<!-- | }}<!-- |
Revision as of 04:56, 5 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
|} (encountered in: ???){{Bug|{{Expand|lorem}}}}

|+ style="text-align:left; white-space:nowrap; font-weight:bold; color:#ddd; " | | lorem
|} (encountered in: ???)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.