Jump to content

Template:HueEntity: Difference between revisions

From Philosophical Research
m pass tag parameters to EditionSense
m pass tag to EditionSense
 
Line 1: Line 1:
<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|}}}|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><!--
<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:
Line 16: Line 16:
   }}
   }}
{{EditionSense
{{EditionSense
   |lang={{#if:{{{ins-lang|}}}|{{{ins-lang|}}}|{{{lang|}}}}}|tradTTS={{{tradTTS|}}}|I={{{I|}}}
   |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|}}}}}
   |E=Q{{{Q|}}}|{{{sense|}}}|field={{{field|}}}|note={{{note|}}}|area={{{area|}}}|ins={{{ins|}}}|del={{{del|}}}|area-free={{{area-free|}}}}}
{{#if:{{{quiltset|}}}
{{#if:{{{quiltset|}}}

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