Template:Deps/loop: Difference between revisions

From OpenMW Wiki
Jump to navigation Jump to search
(tweak)
(typo)
Line 17: 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 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>

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