Template:IS1: Difference between revisions
Appearance
parameters |
try to implement .tag-after |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude><span class="mix-match {{{swatch|}}} {{{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={{{Q|617}}}. (S)|S–{{{Q|617}}}|title = S1 Signifier Item {{#if:{{{tradition2|}}}|/ {{{tradition2|}}}}} {{#if:{{{tradition3|}}}|/ {{{tradition3|}}}}} / Item ID Q{{{Q|617}}} }}{{#switch:{{{ParameterThatShouldBeEmpty|}}} | <includeonly><onlyinclude>{{#if:{{{tag|}}}|| <span class="mix-match {{{swatch|}}} {{{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={{{Q|617}}}. (S)|S–{{{Q|617}}}|title = S1 Signifier Item {{#if:{{{tradition2|}}}|/ {{{tradition2|}}}}} {{#if:{{{tradition3|}}}|/ {{{tradition3|}}}}} / Item ID Q{{{Q|617}}} }}{{#switch:{{{ParameterThatShouldBeEmpty|}}} | {{{tts|}}}{{{tradition|}}} = {{TTS|html=ins|class=swatch|[S]|(S):}} | #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|}}})}} }} | ||
| {{{tts|}}}{{{tradition|}}} = {{TTS|html=ins|class=swatch|[S]|(S):}} | </onlyinclude></includeonly><!-- | ||
| #default = {{TTS|html=ins|class=swatch|[{{{tradition|HAS}}}] [S]|({{{tts|Hass}}}) (S):}} | |||
}}</abbr></span><span class="spacer"> </span></onlyinclude></includeonly><!-- | more readable version: | ||
{{#if:{{{tag|}}}|| | |||
<span class="mix-match {{{swatch|}}} {{{class|matched}}}"><abbr class="figure item-dimension" data-icon="" | |||
title="S1 Signifier Item {{#if:{{{tradition2|}}}|/ {{{tradition2|}}}}} {{#if:{{{tradition3|}}}|/ {{{tradition3|}}}}} / Item ID Q{{{Q|617}}}"> | |||
{{TTS|html=ins|class=flag|tts={{{Q|617}}}. (S)|S–{{{Q|617}}} | |||
|title = S1 Signifier Item {{#if:{{{tradition2|}}}|/ {{{tradition2|}}}}} {{#if:{{{tradition3|}}}|/ {{{tradition3|}}}}} / Item ID Q{{{Q|617}}} }} | |||
{{#switch:{{{ParameterThatShouldBeEmpty|}}} | |||
| {{{tts|}}}{{{tradition|}}} = {{TTS|html=ins|class=swatch|[S]|(S):}} | |||
| #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|}}})}} | |||
}} | |||
-->{{HueCSS}} | -->{{HueCSS}} | ||
| Line 17: | Line 31: | ||
* <code>swatch</code> - default classname associated with ideology code / variant swatch. [not implemented] | * <code>swatch</code> - default classname associated with ideology code / variant swatch. [not implemented] | ||
* <code>class</code> - customized classname which will override <code>swatch</code>. | * <code>class</code> - customized classname which will override <code>swatch</code>. | ||
Revision as of 13:39, 2 February 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
swatch- default classname associated with ideology code / variant swatch. [not implemented]
class- customized classname which will overrideswatch.
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)