Template:HueEntity: Difference between revisions
Appearance
m pass classname to LabelOrElse |
m pass tag to EditionSense |
||
| (19 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#if:{{{ArticleTitle|}}}| {{ArticleTitle|{{{PPPA|}}} / {{{I2|}}} / Q{{{Q|}}}|NoContents={{{NoContents|}}}}} }}<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|}}}|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={{{ | <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: | ||
{{#if:{{{ArticleTitle|}}}| {{ArticleTitle|{{{PPPA|}}} / {{{I2|}}} / Q{{{Q|}}}|NoContents={{{NoContents|}}}}} }} | {{#if:{{{ArticleTitle|}}}| {{ArticleTitle|{{{PPPA|}}} / {{{I2|}}} / Q{{{Q|}}}|NoContents={{{NoContents|}}}}} }} | ||
<dfn {{#if:{{{class|}}}|class="{{{class}}}"|{{Template:I{{{I}}}/class}}}} {{#if:{{{dimension|}}}|data-dimension="{{{dimension}}}"}} data-qid="{{{Q|617}}}"> | <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:{{{I1|}}} | {{#if:{{{I1|}}} | ||
| {{DoubleSwatch|class1={{{class1|}}}|I1={{{I1|}}}|Q1={{{Q1|617}}}|{{{T1|}}}|class2={{{class2|}}}|I2={{{I2|}}}|Q2={{{Q2|617}}}|{{{T2|}}}}} | | {{DoubleSwatch|class1={{{class1|}}} first|I1={{{I1|}}}|Q1={{{Q1|617}}}|{{{T1|}}}|class2={{{class2|}}}|I2={{{I2|}}}|Q2={{{Q2|617}}}|{{{T2|}}}}} | ||
| {{LabelOrElse|I={{{I|}}}|href={{{href|}}}|Q={{{Q|}}}|{{{PPPA|}}}|{{{PPPA2|}}}}} | | {{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|}}}}} | ||
}} | }} | ||
{{EditionSense|E=Q{{{Q|}}}|{{{sense|}}}|field={{{field|}}}|note={{{note|}}}|area={{{area|}}}|ins={{{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 20: | 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 = {{label|{{{lang|}}} | en = Lacanian psychoanalysis }} | | QTTS = fifty-four hundred | ||
| lang = {{{lang|en}}} | PPPA = {{label|{{{lang|}}} | en = Lacanian psychoanalysis }} | |||
| note = {{label|{{{lang|}}} | en = demo }} | | note = {{label|{{{lang|}}} | en = demo }} | ||
}}</li></ol> | }}</li></ol> | ||
| Line 34: | Line 42: | ||
--></dl> | --></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]
-
Lacanian psychoanalysis (demo)1
-1-1
- single swatch
- single swatch
Parameters[edit]
ArticleTitle- if present, attempt to display Template:ArticleTitle based on other parametersclassswatchI- icon/swatch template to display when using.manualbut not using DoubleSwatchdimensionQ- Item number for "Q" entitiesPPPA- basic Item labelPPPA2- Item label as overridden by sense subpage, etc.sense- two-letter identifier of sense subpage
DoubleSwatch parameters[edit]
I1- icon/swatch template to display firstclass1- color to force for first swatchQ1- entity to link on first swatchT1- label for first swatchI2- icon/swatch template to display secondclass2- color to force for second swatchQ2- entity to link on second swatchT2- label for second swatch
data- attributes[edit]
ins- philosophy or field, to be shown visuallydelfield- philosophy or field, text-onlyseriesworkchaptertaleobjectnote- clarification, text-onlyarea- if present, fills in bothfieldandnote; convenient to use withinsnumbersign- set to200ifQis a number-based sign, and404if it is notlexeme- Term page or Wikidata Lexeme that most appropriately describes this Itemident
Wave scores[edit]
quiltsetsumquiltply
Categories[edit]
CCLCQCQ2CMCFCX