Template:Fix: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Fixed spacing)
m (Fixed spacing (again))
Line 2: Line 2:
[[Category:Notice templates|{{PAGENAME}}]]
[[Category:Notice templates|{{PAGENAME}}]]
This template is for marking a fix for a given issue.
This template is for marking a fix for a given issue.
<!--Don't remove the div! It prevents multiple tranclusions of the template from fusing together into one single table row.--></noinclude>{{#ifeq: {{{2|}}} | code |
{{fix|{{{1}}}}}
<!--Don't remove the div! It prevents multiple tranclusions of the template from fusing together into one single table row.--></noinclude><includeonly>{{#ifeq: {{{2|}}} | code |
<div><span style="color:#5ba5eb;display:table-cell;white-space:nowrap;padding-left:1em">[[File:Cpp.png|link=|alt=]] '''Code Fix:'''&nbsp;</span><span style="display:table-cell;">{{{1}}}</span></div> |
<div><span style="color:#5ba5eb;display:table-cell;white-space:nowrap;padding-left:1em">[[File:Cpp.png|link=|alt=]] '''Code Fix:'''&nbsp;</span><span style="display:table-cell;">{{{1}}}</span></div> |
<div><span style="color:#71e354;display:table-cell;white-space:nowrap;padding-left:1em">[[File:Note.png|link=|alt=]] '''Fix:'''&nbsp;</span><span style="display:table-cell;">{{{1}}}</span></div> }}
<div><span style="color:#71e354;display:table-cell;white-space:nowrap;padding-left:1em">[[File:Note.png|link=|alt=]] '''Fix:'''&nbsp;</span><span style="display:table-cell;">{{{1}}}</span></div> }}</includeonly>
<noinclude>
<noinclude>Passing a 2nd parameter with the text <code>code</code> marks this as a "code fix" in particular.
 
Passing a 2nd parameter with the text <code>code</code> marks this as a "code fix" in particular.
{{fix|{{{1}}}|code}}
{{fix|{{{1}}}|code}}
</noinclude>
</noinclude>

Revision as of 16:57, 19 September 2019

This template is for marking a fix for a given issue.

Fix: {{{1}}}


Passing a 2nd parameter with the text code marks this as a "code fix" in particular.

Code Fix: {{{1}}}