Jump to content

Template:IS1: Difference between revisions

From Philosophical Research
try to implement .tag-after
m sense parameter
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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|}}})}} }}
<includeonly><onlyinclude>{{IXN|dimension=S|dimension-lowercase=s1|dimension-icon=|class={{{class|}}}|lang={{{lang|}}}|tradition={{{tradition|}}}|tts={{{tts|}}}|tradition2={{{tradition2|}}}|tradition3={{{tradition3|}}}|Q={{{Q|617}}}|QTTS={{{QTTS|}}}|tag={{{tag|}}} |tradition-E={{{trad-E|}}}|sense={{{sense|}}}}}</onlyinclude></includeonly><!--
</onlyinclude></includeonly><!--


more readable version:
more readable version:
{{IXN
|dimension=S|dimension-lowercase=s1|dimension-icon=
|class={{{class|}}}
|lang={{{lang|}}}|tradition={{{tradition|}}}|tts={{{tts|}}}|tradition2={{{tradition2|}}}|tradition3={{{tradition3|}}}
|Q={{{Q|617}}}|QTTS={{{QTTS|}}}|tag={{{tag|}}}|tradition-E={{{trad-E|}}}|sense={{{sense|}}}
}}


{{#if:{{{tag|}}}||
-->{{HueCSS}}
<span class="mix-match {{{swatch|}}} {{{class|matched}}}"><abbr class="figure item-dimension" data-icon=""
<ol class="hue clean">{{li|I=S1|Q=617}}{{int:hue-item-placeholder-name-s1/en}} (clean list)</li></ol>
  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}}}
<ol class="hue clean compound"><li>{{HueEntity|lang=en|swatch=field_fantasy|class=manual flag|I=S1|Q=617|Q2=617|dimension=S|PPPA={{int:hue-item-placeholder-name-s1/en}} |ins = compound list }}</li></ol>
  |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}}
<ol class="hue clean compound"><li><dfn class="field_fantasy manual flag" data-dimension="Z" data-qid="617">{{IS1}}[[E:Q617|motif or theme coded as S Item]]</dfn></li></ol>
<dl class="wikitable hue">
<dl class="wikitable hue">
{{HueRoster|P=label (en)| <dfn class{{=}}"field_fantasy manual flag" data-dimension{{=}}"S" data-qid{{=}}"617">{{IS1}}[[E:Q617|motif or theme coded as S Item]]</dfn> }}
{{HueRoster|P=label (en)| {{HueEntity|lang=en|swatch=field_fantasy|class=manual flag|I=S1|Q=617|Q2=617|dimension=S|PPPA={{int:hue-item-placeholder-name-s1/en}} }} }}
</dl>
</dl><!--


on individual icon pages, use:
{{HueSwatchPreview|I=S1|dl = {{int:hue-item-placeholder-name-s1/en}} }}
-->
== Description ==
== Description ==


Line 30: Line 27:
== Parameters ==
== Parameters ==


* <code>swatch</code> - default classname associated with ideology code / variant swatch. [not implemented]
* <code>class</code> - customized classname which will override the <code>swatch</code> parameter of [[Template:HueEntity]], or in general the default swatch for a given Item.
* <code>class</code> - customized classname which will override <code>swatch</code>.


== Philosophy tag variants ==
== Philosophy tag variants ==
Line 41: Line 36:




[[Category:I-Templates for Item swatches]] [[Category:S1 Signifier Items]]  <!-- duplication hint:  copy or update template from [[Special:PermanentLink/NNNN|Template:IZ1]] -->
[[Category:I-Templates for Item swatches]] [[Category:S1 Signifier Items]]  <!-- duplication hint:  copy or update template from [[Special:PermanentLink/NNNN|Template:IS1]] -->

Latest revision as of 20:22, 12 March 2026

  1. motif or theme coded as S Item (clean list)
  1. pronounced 617. (S)pronounced (S): motif or theme coded as S Item (compound list)
label (en)
pronounced 617. (S)pronounced (S): motif or theme coded as S Item

Description[edit]

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[edit]

  • class - customized classname which will override the swatch parameter of Template:HueEntity, or in general the default swatch for a given Item.

Philosophy tag variants[edit]

(Each icon swatch has a corresponding text-only string and tooltip.)

Marxism-Leninism (ML)
pronounced 617. (S)pronounced (ML) (S): class struggle
Juche-socialism (JC)
pronounced 617. (S)pronounced (Juche) (S): Juche idea
Trotskyism (IV)
pronounced . (S)pronounced (Fourth) (S): "Stalinism"
Deng Xiaoping Thought
pronounced 617. (S)pronounced (DX) (S): primary stage of socialism
Western Marxism (W)
pronounced 617. (S)pronounced (West) (S): aleatory materialism
psychoanalysis (Aa)
pronounced 617. (S)pronounced (Freud) (S): symbolic castration
schizoanalysis (DG)
pronounced . (S)pronounced (D.G.) (S): rhizome
Liberal-republicanism (LR)
pronounced . (S)pronounced (L.R.) (S): right to privacy
Fiction or fantasy (Fy)
pronounced 617. (S)pronounced (Fantasy) (S): Firestar
pronounced 617. (S)pronounced (F.Y.) (S): Tigerstar