Template:TestingHeader: Difference between revisions

From PCSX2 Wiki
Jump to navigation Jump to search
(Testing this template config. Will immediately revert if it breaks things.)
(One more thing, maybe?)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><br />
<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}}}}}|ma}}|<span style="font-size: 1.6em; color: #008EB9;">[[Image:maclogo.png]] Test configurations on Macintosh:</span>}}
<span style="font-size: 1.6em; color: #008EB9;">
{{#if:{{#pos:{{lc:{{{OS}}}}}|wi}}|[[Image:winlogo.png]] Test configurations on Windows:</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

Latest revision as of 04:37, 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.