Template:Fix: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Fixed spacing (again))
m (Fixed spacing (for the last time))
Line 5: Line 5:
<!--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 |
<!--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> }}</includeonly>
<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>Passing a 2nd parameter with the text <code>code</code> marks this as a "code fix" in particular.
<noinclude>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:22, 21 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}}}