Template:IS1: Difference between revisions
Appearance
m bugfix - use proper "if" construction for QTTS |
show tradition3 on tag if present |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#if:{{{tag|}}}|| <span class="mix-match {{{class|matched}}}"><abbr class="figure item-dimension" title="S1 Signifier Item {{#if:{{{tradition2|}}}|/ {{{tradition2|}}}}} {{#if:{{{tradition3|}}}|/ {{{tradition3|}}}}} / Item ID Q{{{Q|617}}}" data-icon="">{{TTS|html=ins|class=flag|tts={{#if:{{{QTTS|}}}|{{{QTTS|}}}|{{{Q|617}}}}}. (S)|S–{{{Q|617}}}|NoTitle=y}}{{#switch:{{{ParameterThatShouldBeEmpty|}}} | {{{tts|}}}{{{tradition|}}} = {{TTS|html=ins|class=swatch|[S]|(S):|NoTitle=y}} | #default = {{TTS|html=ins|class=swatch|[{{{tradition|HAS}}}] [S]|({{{tts|Hass}}}) (S):}} }}</abbr></span>}}<span class="spacer"> </span>{{#if:{{{tag|}}}| {{TTS|html=small|class=tag-after|tts=({{{tts|}}})|({{{tradition|}}})|title={{{tradition2|}}}}} }}</onlyinclude></includeonly><!-- | <includeonly><onlyinclude>{{#if:{{{tag|}}}|| <span class="mix-match {{{class|matched}}}"><abbr class="figure item-dimension" title="S1 Signifier Item {{#if:{{{tradition2|}}}|/ {{{tradition2|}}}}} {{#if:{{{tradition3|}}}|/ {{{tradition3|}}}}} / Item ID Q{{{Q|617}}}" data-icon="">{{TTS|html=ins|class=flag|tts={{#if:{{{QTTS|}}}|{{{QTTS|}}}|{{{Q|617}}}}}. (S)|S–{{{Q|617}}}|NoTitle=y}}{{#switch:{{{ParameterThatShouldBeEmpty|}}} | {{{tts|}}}{{{tradition|}}} = {{TTS|html=ins|class=swatch|[S]|(S):|NoTitle=y}} | #default = {{TTS|html=ins|class=swatch|[{{{tradition|HAS}}}] [S]|({{{tts|Hass}}}) (S):}} }}</abbr></span>}}<span class="spacer"> </span>{{#if:{{{tag|}}}| {{TTS|html=small|class=tag-after|tts=({{{tts|}}})|({{{tradition|}}})|title={{#if:{{{tradition3|}}}|{{{tradition3|}}}|{{{tradition2|}}}}}}} }}</onlyinclude></includeonly><!-- | ||
more readable version: | more readable version: | ||
| Line 12: | Line 12: | ||
}}</abbr></span><span class="spacer"> </span> | }}</abbr></span><span class="spacer"> </span> | ||
{{#if:{{{tag|}}} | {{#if:{{{tag|}}} | ||
{{TTS|html=small|class=tag-after|tts=({{{tts|}}})|({{{tradition|}}})|title={{{tradition2|}}}}} | {{TTS|html=small|class=tag-after|tts=({{{tts|}}})|({{{tradition|}}}) | ||
|title={{#if:{{{tradition3|}}}|{{{tradition3|}}}|{{{tradition2|}}}}} | |||
}} | |||
}} | }} | ||
Revision as of 04:22, 7 March 2026
- label (en)
Description
This template may be used for adding descriptive swatches to S Items that give them text-based icons in print view. The "I" stands for "image" or "icon".
Parameters
class- customized classname which will override theswatchparameter of Template:HueEntity, or in general the default swatch for a given Item.
Philosophy tag variants
(Each icon swatch has a corresponding text-only string and tooltip.)
- Marxism-Leninism (ML)
- Juche-socialism (JC)
- Trotskyism (IV)
- Deng Xiaoping Thought
- Western Marxism (W)
- psychoanalysis (Aa)
- schizoanalysis (DG)
- Liberal-republicanism (LR)