Template:TestingHeader: Difference between revisions

From PCSX2 Wiki
Jump to navigation Jump to search
(This line break was causing a bug where the 'Windows' header was incorrectly a page break above the table, whereas Linux and Mac weren't.)
(Undo revision 109687 by TheTechnician27 (talk) This wasn't the issue, but what was??)
Tag: Undo
Line 1: Line 1:
<includeonly>
<includeonly><br />
{{#if:{{#pos:{{lc:{{{OS}}}}}|li}}|<span style="font-size: 1.6em; color: #008EB9;">[[Image:linlogo.png]] Test configurations on Linux:</span>}}
{{#if:{{#pos:{{lc:{{{OS}}}}}|wi}}|<span style="font-size: 1.6em; color: #008EB9;">[[Image:winlogo.png]] Test configurations on Windows:</span>}}
{{#if:{{#pos:{{lc:{{{OS}}}}}|wi}}|<span style="font-size: 1.6em; color: #008EB9;">[[Image:winlogo.png]] Test configurations on Windows:</span>}}
{{#if:{{#pos:{{lc:{{{OS}}}}}|li}}|<span style="font-size: 1.6em; color: #008EB9;">[[Image:linlogo.png]] Test configurations on Linux:</span>}}
{{#if:{{#pos:{{lc:{{{OS}}}}}|ma}}|<span style="font-size: 1.6em; color: #008EB9;">[[Image:maclogo.png]] Test configurations on Macintosh:</span>}}
{{#if:{{#pos:{{lc:{{{OS}}}}}|ma}}|<span style="font-size: 1.6em; color: #008EB9;">[[Image:maclogo.png]] Test configurations on Macintosh:</span>}}
{|class="wikitable sortable collapsible spoiler" style="border-collapse:collapse;font-size:80%;"
{|class="wikitable sortable collapsible spoiler" style="border-collapse:collapse;font-size:80%;"

Revision as of 04:36, 31 March 2024

This template is used as the testing table header. It includes only one variable (OS) that can have the following values: Windows, Linux of Mac
Usage example:

{{TestingHeader|OS=Windows}}

More info on this template can be found here.