Template:TestingHeader: Difference between revisions

From PCSX2 Wiki
Jump to navigation Jump to search
m (Get rid of the HTML4)
(Testing this template config. Will immediately revert if it breaks things.)
Line 1: Line 1:
<includeonly><br />
<includeonly><br />
{{#if:{{#pos:{{lc:{{{OS}}}}}|wi}}|<span style="font-size: 1.6em; color: #008EB9;">[[Image:winlogo.png]] Test configurations on Windows:</span>}}
<span style="font-size: 1.6em; color: #008EB9;">
{{#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}}|[[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}}}}}|li}}|[[Image:linlogo.png]] Test configurations on Linux:</span>}}
{{#if:{{#pos:{{lc:{{{OS}}}}}|ma}}|[[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%;"
! colspan = "3" | Environment
! colspan = "3" | Environment

Revision as of 04:32, 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.