Jump to content

Template:HueEntity: Difference between revisions

From Philosophical Research
m EditionSense
m pass tag to EditionSense
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude><dfn {{#if:{{{class|}}}|class="{{{class}}}"|{{Template:I{{{I}}}/class}}}} {{#if:{{{dimension|}}}|data-dimension="{{{dimension}}}"}} data-qid="{{{Q|617}}}">{{ItemNote|numbersign={{{numbersign|404}}}|field={{{field|}}}|series={{{series|}}}|work={{{work|}}}|chapter={{{chapter|}}}|tale={{{tale|}}}|object={{{object|}}}|note={{{note|}}}|lexeme={{{lexeme|}}}|ident={{{ident|}}}|L={{{CL|}}}|Q={{{CQ|}}}|Q2={{{CQ2|}}}|M={{{CM|}}}|F={{{F|}}}|X={{{X|}}}}}[[Category:Text pages containing experiments]]{{#if: {{{I|}}} | {{Template:I{{{I}}}|Q={{{Q|}}}}} }}{{LabelOrElse|href={{{href|}}}|Q={{{Q|}}}|{{{PPPA|}}}|{{{PPPA2|}}}}}{{EditionSense|E=Q{{{Q|}}}|{{{sense|}}}}}{{#if: {{{ins|}}} | <ins class="field"> ({{{ins}}})</ins> | {{#if: {{{note|}}} | <ins class="note"> ({{{note}}})</ins> | <ins class="field"></ins> }} }}{{#if:{{{quiltset|}}}|{{WaveScore|quiltset=Q{{{Q}}}/{{{quiltset}}}|E=Q{{{Q}}}}}|{{#if:{{{sum|}}}|{{WaveScore|sum={{{sum|1}}}|quilt={{{quilt|1}}}|ply={{{ply|1}}}}}}}}}</dfn></onlyinclude></includeonly><!--
<includeonly><onlyinclude>{{#if:{{{ArticleTitle|}}}| {{ArticleTitle|{{{PPPA|}}} / {{{I2|}}} / Q{{{Q|}}}|NoContents={{{NoContents|}}}}} }}<dfn {{#if:{{{class|}}}|class="{{{class|}}} {{{swatch|}}} {{#if:{{{tag|}}}|hue-term}}"|{{Template:I{{{I}}}/class|flag}}}} {{#if:{{{dimension|}}}|data-dimension="{{{dimension}}}"}} data-qid="{{{Q|617}}}">{{ItemNote|numbersign={{{numbersign|404}}}|field={{{field|}}}|series={{{series|}}}|work={{{work|}}}|chapter={{{chapter|}}}|tale={{{tale|}}}|object={{{object|}}}|note={{{note|}}}|area={{{area|}}}|lexeme={{{lexeme|}}}|ident={{{ident|}}}|L={{{CL|}}}|Q={{{CQ|}}}|Q2={{{CQ2|}}}|M={{{CM|}}}|F={{{F|}}}|X={{{X|}}}}}[[Category:Text pages containing experiments]]{{#if:{{{I1|}}}|{{DoubleSwatch|class1={{{class1|}}} first|I1={{{I1|}}}|Q1={{{Q1|617}}}|{{{T1|}}}|class2={{{class2|}}}|I2={{{I2|}}}|Q2={{{Q2|617}}}|{{{T2|}}}}}|{{LabelOrElse|I={{{I|}}}|lang={{{lang|}}}|class={{{swatch|}}}|href={{{href|}}}|E={{#if:{{{Q|}}}|Q{{{Q|}}}|{{{E|}}}}}|Q={{{Q|}}}|Q2={{{Q2|}}}|QTTS={{{QTTS|}}}|R={{{R|}}}|{{{PPPA|}}}|{{{PPPA2|}}}}}}}{{EditionSense|lang={{#if:{{{ins-lang|}}}|{{{ins-lang|}}}|{{{lang|}}}}}|tradTTS={{{tradTTS|}}}|I={{{I|}}}|tag={{{tag|}}}|E=Q{{{Q|}}}|{{{sense|}}}|field={{{field|}}}|note={{{note|}}}|area={{{area|}}}|ins={{{ins|}}}|del={{{del|}}}|area-free={{{area-free|}}}}}{{#if:{{{quiltset|}}}|{{WaveScore|quiltset=Q{{{Q}}}/{{{quiltset}}}|E=Q{{{Q}}}}}|{{#if:{{{sum|}}}|{{WaveScore|sum={{{sum|1}}}|quilt={{{quilt|1}}}|ply={{{ply|1}}}}}}}}}</dfn></onlyinclude></includeonly><!--


more readable version:
more readable version:


<dfn {{#if:{{{class|}}}|class="{{{class}}}"|{{Template:I{{{I}}}/class}}}} {{#if:{{{dimension|}}}|data-dimension="{{{dimension}}}"}} data-qid="{{{Q|617}}}">
{{#if:{{{ArticleTitle|}}}| {{ArticleTitle|{{{PPPA|}}} / {{{I2|}}} / Q{{{Q|}}}|NoContents={{{NoContents|}}}}} }}
<dfn
{{#if:{{{class|}}}
  |class="{{{class|}}} {{{swatch|}}} {{#if:{{{tag|}}}|hue-term}}"
  |{{Template:I{{{I}}}/class}}}}
{{#if:{{{dimension|}}}|data-dimension="{{{dimension}}}"}}
data-qid="{{{Q|617}}}">
{{ItemNote|numbersign={{{numbersign|404}}}|field={{{field|}}}|series={{{series|}}}|work={{{work|}}}|chapter={{{chapter|}}}|tale={{{tale|}}}|object={{{object|}}}|note={{{note|}}}|lexeme={{{lexeme|}}}|ident={{{ident|}}}|C={{{C|}}}|L={{{CL|}}}|Q={{{CQ|}}}|Q2={{{CQ2|}}}|M={{{CM|}}}|F={{{CF|}}}|X={{{CX|}}}}} [[Category:Text pages containing experiments]]
{{ItemNote|numbersign={{{numbersign|404}}}|field={{{field|}}}|series={{{series|}}}|work={{{work|}}}|chapter={{{chapter|}}}|tale={{{tale|}}}|object={{{object|}}}|note={{{note|}}}|lexeme={{{lexeme|}}}|ident={{{ident|}}}|C={{{C|}}}|L={{{CL|}}}|Q={{{CQ|}}}|Q2={{{CQ2|}}}|M={{{CM|}}}|F={{{CF|}}}|X={{{CX|}}}}} [[Category:Text pages containing experiments]]
{{#if: {{{I|}}} | {{Template:I{{{I}}}|Q={{{Q|}}}}} }}
{{#if:{{{I1|}}}
{{LabelOrElse|href={{{href|}}}|Q={{{Q|}}}|{{{PPPA|}}}|{{{PPPA2|}}}}}
  | {{DoubleSwatch|class1={{{class1|}}} first|I1={{{I1|}}}|Q1={{{Q1|617}}}|{{{T1|}}}|class2={{{class2|}}}|I2={{{I2|}}}|Q2={{{Q2|617}}}|{{{T2|}}}}}
{{EditionSense|E=Q{{{Q|}}}|{{{sense|}}}}}
  | {{LabelOrElse|I={{{I|}}}|lang={{{lang|}}}|class={{{swatch|}}}|href={{{href|}}}|E={{#if:{{{Q|}}}|Q{{{Q|}}}|{{{E|}}}}}|Q={{{Q|}}}|Q2={{{Q2|}}}|QTTS={{{QTTS|}}}|R={{{R|}}}|{{{PPPA|}}}|{{{PPPA2|}}}|tag={{{tag|}}}}}
{{#if: {{{ins|}}} | <ins class="field"> ({{{ins}}})</ins> | {{#if: {{{note|}}} | <ins class="note"> ({{{note}}})</ins> | <ins class="field"></ins> }} }}
  }}
 
{{EditionSense
  |lang={{#if:{{{ins-lang|}}}|{{{ins-lang|}}}|{{{lang|}}}}}|tradTTS={{{tradTTS|}}}|I={{{I|}}}|tag={{{tag|}}}
  |E=Q{{{Q|}}}|{{{sense|}}}|field={{{field|}}}|note={{{note|}}}|area={{{area|}}}|ins={{{ins|}}}|del={{{del|}}}|area-free={{{area-free|}}}}}
{{#if:{{{quiltset|}}}
{{#if:{{{quiltset|}}}
  | {{WaveScore|quiltset=Q{{{Q}}}/{{{quiltset}}}|E=Q{{{Q}}}}}
  | {{WaveScore|quiltset=Q{{{Q}}}/{{{quiltset}}}|E=Q{{{Q}}}}}
Line 19: Line 27:


{{HueCSS}}<ol class="hue clean compound"><li value="5400">
{{HueCSS}}<ol class="hue clean compound"><li value="5400">
{{HueEntity|I=Z1/ES|Q=5400|sum=1|quilt=1|ply=1
{{HueEntity|I=Z1/ES|Q=54,00|Q2=5400|sum=1|quilt=1|ply=1
| PPPA = {{#switch: {{PAGELANGUAGE}} | #default = Lacanian psychoanalysis }}
| QTTS = fifty-four hundred
| note = {{#switch: {{PAGELANGUAGE}} | #default = demo }}
| lang = {{{lang|en}}} | PPPA = {{label|{{{lang|}}} | en  = Lacanian psychoanalysis }}
| note = {{label|{{{lang|}}} | en  = demo }}
}}</li></ol>
}}</li></ol>


== Usage notes ==
{{HueCSS}}<dl class="wikitable hue"><!--
 
--><div class="row"><dt>single swatch</dt><div class="values"><dd><dfn {{IS1/IV/class}} data-qid{{=}}"617">{{IS1/IV}}[[Template:IS1/IV|"Stalinism"]]</dfn></dd></div></div><!--
 
--><div class="row"><dt>single swatch</dt><div class="values"><dd>{{HueEntity|I=S1/IV|Q=564|sum=1|quilt=1|ply=1| PPPA = {{label|{{{lang|}}} | en  = IV onto LR }}|enddfn=1}}</dd></div></div><!--
 
--><div class="row"><dt>double swatch</dt><div class="values"><dd>{{HueEntity|I=S1/IV|Q=564|sum=1|quilt=1|ply=1|class=field_trotsky manual flag|class1=field_trotsky|class2=field_exstruct|Q1=564|Q2=564|I1=S1/IV|I2=S1/LR|T1=IV|T2=LR| PPPA = {{label|{{{lang|}}} | en  = IV onto LR }}|enddfn=1}}</dd></div></div><!--
--></dl>
 
== Parameters ==
 
* <code>ArticleTitle</code> - if present, attempt to display [[Template:ArticleTitle]] based on other parameters
* <code>class</code>
* <code>swatch</code>
* <code>I</code>    - icon/swatch template to display when using <code>.manual</code> but not using [[Template:DoubleSwatch|DoubleSwatch]]
* <code>dimension</code>
* <code>Q</code>    - Item number for "Q" entities
* <code>PPPA</code>  - basic Item label
* <code>PPPA2</code> - Item label as overridden by sense subpage, etc.
* <code>sense</code> - two-letter identifier of sense subpage
 
=== [[Template:DoubleSwatch|DoubleSwatch]] parameters ===
 
* <code>I1</code>    - icon/swatch template to display first
* <code>class1</code> - color to force for first swatch
* <code>Q1</code>    - entity to link on first swatch
* <code>T1</code>    - label for first swatch
* <code>I2</code>    - icon/swatch template to display second
* <code>class2</code> - color to force for second swatch
* <code>Q2</code>    - entity to link on second swatch
* <code>T2</code>    - label for second swatch
 
=== data- attributes ===
 
* <code>ins</code>    - philosophy or field, to be shown visually
* <code>del</code>
* <code>field</code>  - philosophy or field, text-only
* <code>series</code>
* <code>work</code>
* <code>chapter</code>
* <code>tale</code>
* <code>object</code>
* <code>note</code>  - clarification, text-only
* <code>area</code>  - if present, fills in both <code>field</code> and <code>note</code>; convenient to use with <code>ins</code>
* <code>numbersign</code> - set to <code>200</code> if <code>Q</code> is a number-based sign, and <code>404</code> if it is not
* <code>lexeme</code> - Term page or Wikidata Lexeme that most appropriately describes this Item
* <code>ident</code>
 
=== Wave scores ===
 
* <code>quiltset</code>
* <code>sum</code>
* <code>quilt</code>
* <code>ply</code>
 
=== Categories ===
 
* <code>C</code>
* <code>CL</code>
* <code>CQ</code>
* <code>CQ2</code>
* <code>CM</code>
* <code>CF</code>
* <code>CX</code>




[[Category:Hue-format fake Items]]
[[Category:Hue-format fake Items]]

Latest revision as of 05:55, 10 March 2026

Demo[edit]

  1. pronounced fifty-four hundred. (Z)pronounced (E.S.) (Z): Lacanian psychoanalysis (demo)1-1-1
single swatch
pronounced . (S)pronounced (Fourth) (S): "Stalinism"
single swatch
pronounced 564. (S)pronounced (Fourth) (S): IV onto LR1-1-1
double swatch
pronounced 564. (S)pronounced (Fourth) (S): IV onto pronounced 564. (S)pronounced (L.R.) (S): LR1-1-1

Parameters[edit]

  • ArticleTitle - if present, attempt to display Template:ArticleTitle based on other parameters
  • class
  • swatch
  • I - icon/swatch template to display when using .manual but not using DoubleSwatch
  • dimension
  • Q - Item number for "Q" entities
  • PPPA - basic Item label
  • PPPA2 - Item label as overridden by sense subpage, etc.
  • sense - two-letter identifier of sense subpage

DoubleSwatch parameters[edit]

  • I1 - icon/swatch template to display first
  • class1 - color to force for first swatch
  • Q1 - entity to link on first swatch
  • T1 - label for first swatch
  • I2 - icon/swatch template to display second
  • class2 - color to force for second swatch
  • Q2 - entity to link on second swatch
  • T2 - label for second swatch

data- attributes[edit]

  • ins - philosophy or field, to be shown visually
  • del
  • field - philosophy or field, text-only
  • series
  • work
  • chapter
  • tale
  • object
  • note - clarification, text-only
  • area - if present, fills in both field and note; convenient to use with ins
  • numbersign - set to 200 if Q is a number-based sign, and 404 if it is not
  • lexeme - Term page or Wikidata Lexeme that most appropriately describes this Item
  • ident

Wave scores[edit]

  • quiltset
  • sum
  • quilt
  • ply

Categories[edit]

  • C
  • CL
  • CQ
  • CQ2
  • CM
  • CF
  • CX