Template:TestingHeader: Difference between revisions

(Testing this template config. Will immediately revert if it breaks things.)
(We only support macOS for Macintosh, so it makes sense to just call it by the name of the OS like on Windows and Linux.)
 
(6 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 macOS:</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 17:27, 13 May 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.