Jump to content

Template:HueEntity: Difference between revisions

From Philosophical Research
m parameters
m .flag
Line 1: Line 1:
<includeonly><onlyinclude>{{#if:{{{ArticleTitle|}}}| {{ArticleTitle|{{{PPPA|}}} / {{{I2|}}} / Q{{{Q|}}}|NoContents={{{NoContents|}}}}} }}<dfn {{#if:{{{class|}}}|class="{{{class|}}} {{{swatch|}}}"|{{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|}}}|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|}}}|I1={{{I1|}}}|Q1={{{Q1|617}}}|{{{T1|}}}|class2={{{class2|}}}|I2={{{I2|}}}|Q2={{{Q2|617}}}|{{{T2|}}}}}|{{LabelOrElse|I={{{I|}}}|class={{{swatch|}}}|href={{{href|}}}|Q={{{Q|}}}|{{{PPPA|}}}|{{{PPPA2|}}}}}}}{{EditionSense|E=Q{{{Q|}}}|{{{sense|}}}|field={{{field|}}}|note={{{note|}}}|area={{{area|}}}|ins={{{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|}}}"|{{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|}}}|I1={{{I1|}}}|Q1={{{Q1|617}}}|{{{T1|}}}|class2={{{class2|}}}|I2={{{I2|}}}|Q2={{{Q2|617}}}|{{{T2|}}}}}|{{LabelOrElse|I={{{I|}}}|class={{{swatch|}}}|href={{{href|}}}|Q={{{Q|}}}|{{{PPPA|}}}|{{{PPPA2|}}}}}}}{{EditionSense|E=Q{{{Q|}}}|{{{sense|}}}|field={{{field|}}}|note={{{note|}}}|area={{{area|}}}|ins={{{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><!--


more readable version:
more readable version:

Revision as of 02:30, 5 February 2026

Demo

  1. pronounced 5400. (Z)pronounced (E.S.) (Z): Lacanian psychoanalysisMediaWiki:Hue-ins-spacer/MediaWiki:Hue-ins-open-bracket/demoMediaWiki:Hue-ins-close-bracket/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

  • 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

  • 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

  • field
  • series
  • work
  • chapter
  • tale
  • object
  • note
  • 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

  • quiltset
  • sum
  • quilt
  • ply

Categories

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