Template:Deps/loop: Difference between revisions

From OpenMW Wiki
Jump to navigation Jump to search
(creating template subroutine)
 
m (typo)
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
|BM=<span title{{=}}"Requires the 'Bloodmoon' official expansion (which also requires the 'Tribunal' expansion in OpenMW)." style{{=}}"color: #004d00;">BM</span>
|BM=<span title{{=}}"Requires the 'Bloodmoon' official expansion (which also requires the 'Tribunal' expansion in OpenMW)." style{{=}}"color: #004d00;">BM</span>
|TB+BM=<span title{{=}}"Requires both the 'Tribunal' and 'Bloodmoon' official expansions." style{{=}}"color: #004d00;">TB+BM</span>
|TB+BM=<span title{{=}}"Requires both the 'Tribunal' and 'Bloodmoon' official expansions." style{{=}}"color: #004d00;">TB+BM</span>
|TB/BM=<span title{{=}}"Requires either the 'Tribunal' or 'Bloodmoon' official expansions (but 'Bloodmoon' also requires 'Tribunal' in OpenMW)." style{{=}}"color: #004d00;">TB/BM</span>
|TB/BM=<span title{{=}}"Requires either the 'Tribunal' or 'Bloodmoon' official expansions or both (though 'Bloodmoon' also requires 'Tribunal' in OpenMW, anyway)." style{{=}}"color: #004d00;">TB/BM</span>
|SAF=<span title{{=}}"Requires the Siege at 'Firemoth' official add-on." style{{=}}"color: #004d00;">SF</span>
|SAF=<span title{{=}}"Requires the 'Siege at Firemoth' official add-on." style{{=}}"color: #004d00;">SF</span>
|SF=<span title{{=}}"Requires the Siege at 'Firemoth' official add-on." style{{=}}"color: #004d00;">SF</span>
|SF=<span title{{=}}"Requires the 'Siege at Firemoth' official add-on." style{{=}}"color: #004d00;">SF</span>
|AA=<span title{{=}}"Requires the 'Adamantium Armor' official add-on." style{{=}}"color: #004d00;">AA</span>
|AA=<span title{{=}}"Requires the 'Adamantium Armor' official add-on." style{{=}}"color: #004d00;">AA</span>
|AHT=<span title{{=}}"Requires the 'Adamantium Helm of Tohan' official add-on." style{{=}}"color: #004d00;">AHT</span>
|AHT=<span title{{=}}"Requires the 'Adamantium Helm of Tohan' official add-on." style{{=}}"color: #004d00;">AHT</span>
|AHOT=<span title{{=}}"Requires the 'Adamantium Helm of Tohan' official add-on." style{{=}}"color: #004d00;">AHT</span>
|AEA=<span title{{=}}"Requires the 'Area Effect Arrows' official add-on." style{{=}}"color: #004d00;">AEA</span>
|AEA=<span title{{=}}"Requires the 'Area Effect Arrows' official add-on." style{{=}}"color: #004d00;">AEA</span>
|BCS=<span title{{=}}"Requires the 'Bitter Coast Sounds' official add-on." style{{=}}"color: #004d00;">BCS</span>
|BCS=<span title{{=}}"Requires the 'Bitter Coast Sounds' official add-on." style{{=}}"color: #004d00;">BCS</span>
Line 16: Line 17:
|E=<span title{{=}}"Requires the 'Entertainers' official add-on." style{{=}}"color: #004d00;">E</span>
|E=<span title{{=}}"Requires the 'Entertainers' official add-on." style{{=}}"color: #004d00;">E</span>
|MI=<span title{{=}}"Requires the 'Master Index' official add-on." style{{=}}"color: #004d00;">MI</span>
|MI=<span title{{=}}"Requires the 'Master Index' official add-on." style{{=}}"color: #004d00;">MI</span>
|!TB=<span title{{=}}"Incompatible with the 'Tribunal' official expansion (thus, in OpenMW also with 'Bloodmoon')." style{{=}}"color: #800000;">!TB</span>
|!TB=<span title{{=}}"Incompatible with the 'Tribunal' official expansion (thus, in OpenMW, also incompatible with 'Bloodmoon')." style{{=}}"color: #800000;">!TB</span>
|!BM=<span title{{=}}"Incompatible with the 'Bloodmoon' official expansion." style{{=}}"color: #800000;">!BM</span>
|!BM=<span title{{=}}"Incompatible with the 'Bloodmoon' official expansion." style{{=}}"color: #800000;">!BM</span>
|!SAF=<span title{{=}}"Incompatible with the 'Siege at Firemoth' official expansion." style{{=}}"color: #800000;">!SF</span>
|!SAF=<span title{{=}}"Incompatible with the 'Siege at Firemoth' official expansion." style{{=}}"color: #800000;">!SF</span>
Line 22: Line 23:
|!AA=<span title{{=}}"Incompatible with the 'Adamantium Armor' official add-on." style{{=}}"color: #800000;">!AA</span>
|!AA=<span title{{=}}"Incompatible with the 'Adamantium Armor' official add-on." style{{=}}"color: #800000;">!AA</span>
|!AHT=<span title{{=}}"Incompatible with the 'Adamantium Helm of Tohan' official add-on." style{{=}}"color: #800000;">!AHT</span>
|!AHT=<span title{{=}}"Incompatible with the 'Adamantium Helm of Tohan' official add-on." style{{=}}"color: #800000;">!AHT</span>
|!AHOT=<span title{{=}}"Incompatible with the 'Adamantium Helm of Tohan' official add-on." style{{=}}"color: #800000;">!AHT</span>
|!AEA=<span title{{=}}"Incompatible with the 'Area Effect Arrows' official add-on." style{{=}}"color: #800000;">!AEA</span>
|!AEA=<span title{{=}}"Incompatible with the 'Area Effect Arrows' official add-on." style{{=}}"color: #800000;">!AEA</span>
|!BCS=<span title{{=}}"Incompatible with the 'Bitter Coast Sounds' official add-on." style{{=}}"color: #800000;">!BCS</span>
|!BCS=<span title{{=}}"Incompatible with the 'Bitter Coast Sounds' official add-on." style{{=}}"color: #800000;">!BCS</span>

Latest revision as of 08:36, 19 July 2017

TEMPLATE ERROR

Documentation

This is a subtemplate of Template:Deps; it tests input for string matches like "BN" and "!SF" and outputs text without mouse-over tooltips, e.g. "BM" or "!SF", respectively.

The "TEMPLATE ERROR" thing at the top of this template page is just the default output, when invalid or null input is given.

This is done as a subtemplate so that the parent template can call this repeatedly as a subroutine for multiple parameters.