Template:TestingHeader: Difference between revisions

From PCSX2 Wiki
Jump to navigation Jump to search
(Trying something one more time, this time to hopefully resolve a bug.)
(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.)
Line 1: Line 1:
<includeonly><br />
<includeonly>
{{#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}}}}}|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}}}}}|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:35, 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.