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;"
No edit summary |
(provide where the bug was enccounterd/tested in) |
||
Line 3: | Line 3: | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
-- | -->{{Notify|{{{text|{{{1|}}}}}}{{#if: {{{hideobserved|}}} | ||
| | |||
| {{#if: {{{observed|}}} | |||
| <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>|Encountered in: {{{observed|???}}}}}</small> | |||
}} | |||
}}<!-- | |||
-->| mode = inline | |||
| img = Icon-Bug.png | | img = Icon-Bug.png | ||
| size = 10px | | size = 10px | ||
Line 9: | Line 16: | ||
| color = 245,80,50 | | color = 245,80,50 | ||
| offset = {{{offset|0}}} | | offset = {{{offset|0}}} | ||
}} | }}<!-- | ||
-->{{#ifeq: {{{only}}} | {{(((}}only{{)))}} | | -->{{#ifeq: {{{only}}} | {{(((}}only{{)))}} | | ||
{{#if: {{{only|}}} | | {{#if: {{{only|}}} | |
Revision as of 04:50, 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.