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;"
(Added documentation.) |
(Started implementation of game categorization) |
||
Line 1: | Line 1: | ||
{{lang|Template:Bug}} | {{lang|Template:Bug}} | ||
<onlyinclude><includeonly><div><strong style="color:#a32727; display:table-cell; padding-left:1em; white-space:nowrap | <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><!-- | |||
-->[[Category:Pages with {{#switch: {{{only}}} | |||
| l4d = Left 4 Dead | |||
| l4d2 = Left 4 Dead 2 | |||
| l4ds = Left 4 Dead series | |||
| game | |||
}} bugs]]</includeonly></onlyinclude> | |||
{{documentation|Template:Note/doc}} | {{documentation|Template:Note/doc}} |
Revision as of 08:14, 25 November 2022
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.