Difference between revisions of "Template:Fixbox"
From PCGamingWiki, the wiki about fixing PC games
(added category namespace check) |
(added visual error for invalid parameter use) |
||
Line 4: | Line 4: | ||
{{#if:{{{fix|}}}{{{description|}}}{{{ref|}}}|<div class="fixbox-title"><div title="Fix" class="svg-icon svg-16 fixbox-icon"></div>{{#if:{{{description|}}}|{{{description}}}|Instructions}}{{{ref|}}}</div> | {{#if:{{{fix|}}}{{{description|}}}{{{ref|}}}|<div class="fixbox-title"><div title="Fix" class="svg-icon svg-16 fixbox-icon"></div>{{#if:{{{description|}}}|{{{description}}}|Instructions}}{{{ref|}}}</div> | ||
{{{fix|}}}}} | {{{fix|}}}}} | ||
− | {{#if:{{{1|}}}|{{{1|}}}{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (fixbox)]] }}}} | + | {{#if:{{{1|}}}|<div title="Error: This parameter is deprecated" class="svg-icon svg-25 os-error"></div> {{{1|}}}{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (fixbox)]] }}}} |
</td> | </td> | ||
</tr> | </tr> | ||
</table>{{#ifeq:{{{fix|}}}{{{description|}}}||{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (fixbox)]] }}}}</includeonly> | </table>{{#ifeq:{{{fix|}}}{{{description|}}}||{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (fixbox)]] }}}}</includeonly> |