Jump to content

Template:IXN: Difference between revisions

From LithoGraphica
Reversedragon (talk | contribs)
generalize template
Reversedragon (talk | contribs)
m parentheses
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#if:{{{tag|}}}|| <span class="mix-match {{{class|matched}}}"><abbr class="figure item-dimension" data-icon="{{dimension-icon|}}" title="{{int:hue-tooltip-{{dimension-lowercase|}}/{{{lang|en}}}}} {{#if:{{{tradition2|}}}|/ {{{tradition2|}}}}} {{#if:{{{tradition3|}}}|/ {{{tradition3|}}}}} / {{int:hue-tooltip-item-id/{{{lang|en}}}|Q{{{Q|617}}}}}">{{TTS|html=ins|class=flag|tts={{#if:{{{QTTS|}}}|{{{QTTS|}}}|{{{Q|617}}}}}. ({{dimension|}})|{{dimension|}}–{{{Q|617}}}|NoTitle=y}}{{#switch:{{{ParameterThatShouldBeEmpty|}}} | {{{tts|}}}{{{tradition|}}} = {{TTS|html=ins|class=swatch|[{{dimension|}}]|({{dimension|}}):|NoTitle=y}} | {{{tradition|}}} = {{TTS|html=ins|class=swatch|[{{dimension|}}]|({{dimension|}}):}} | #default = {{TTS|html=ins|class=swatch|[{{{tradition}}}] [{{dimension|}}]|({{{tts}}}) ({{dimension|}}):}} }}</abbr></span> }}<span class="spacer"> </span>{{#if:{{{tag|}}}| {{TTS|html=small|class=tag-after |tts=({{{tts|}}})|({{{tradition|}}}) |title={{#if:{{{tradition3|}}}| {{{tradition3|}}} | {{{tradition2|}}} }} }} }}</onlyinclude></includeonly><!--
<includeonly><onlyinclude>{{#if:{{{tag|}}}||<span class="mix-match {{#if:{{{class|}}}|{{{class|}}}|{{Template:IXN/{{{tradition|}}}/class}} matched}}"><abbr class="figure item-dimension" data-icon="{{{dimension-icon|}}}" title="{{int:hue-tooltip-{{{dimension-lowercase|}}}/{{{lang|en}}}}} {{#if:{{{tradition2|}}}|/ {{{tradition2|}}}}} {{#if:{{{tradition3|}}}|/ {{{tradition3|}}}}} / {{int:hue-tooltip-item-id/{{{lang|en}}}|Q{{{Q|617}}}}} / {{#if:{{{sense|}}}|{{int:hue-tooltip-sense/{{{lang|en}}}|{{{sense|}}}}}| {{int:hue-tooltip-no-sense/{{{lang|en}}}}} }}">{{TTS|html=ins|class=flag|tts={{#if:{{{QTTS|}}}|{{{QTTS|}}}|{{{Q|617}}}}}. ({{{dimension|}}})|{{{dimension|}}}–{{{Q|617}}}|NoTitle=y}}{{#switch:{{{ParameterThatShouldBeEmpty|}}} | {{{tts|}}}{{{tradition|}}} = {{TTS|html=ins|class=swatch|{{int:hue-philosophy-{{{tradition-message|}}}/{{{lang|}}}}}|{{int:hue-philosophy-tts-{{{tradition-message|}}}/{{{lang|}}}}}}} | {{{tradition|}}} = {{TTS|html=ins|class=swatch|[{{{dimension|}}}]|({{{dimension|}}}):}} | #default = {{TTS|html=ins|class=swatch|[{{{tradition}}}] [{{{dimension|}}}]|({{#if:{{{tradTTS|}}}|{{{tradTTS|}}}|{{{tts}}}}}) ({{{dimension|}}}):|NoTitle=y}} }} </abbr><span class="spacer"> </span></span><ins class="field-tag">{{IXN/field-tag|lang={{{lang|}}}|tradition-message={{{tradition-message|}}}|tradition={{{tradition|}}}|tts={{{tts|}}}|tradition-E={{{tradition-E|}}}|tradition2={{{tradition2|}}}|trad={{{trad|}}}|tradTTS={{{tradTTS|}}}|title={{#if:{{{tradition2|}}}| {{{tradition2|}}} | {{int:hue-tooltip-tradition-{{{tradition-message|}}}/{{{lang|}}}}} }} }}{{int:hue-ins-domain-spacer/{{{lang|en}}}}}</ins>}}{{#if:{{{tag|}}}| {{IXN/field-tag|html=small|class=tag-after|Bracket=y|lang={{{lang|}}}|tradition-message={{{tradition-message|}}}|tradition={{{tradition|}}}|tts={{{tts|}}}|tradition-E={{{tradition-E|}}}|tradition2={{{tradition2|}}}|trad={{{trad|}}}|tradTTS={{{tradTTS|}}} |title={{#switch:{{{ParameterThatShouldBeEmpty|}}} | {{{tradition2|}}}{{{tradition3|}}} = {{int:hue-tooltip-tradition-{{{tradition-message|}}}/{{{lang|}}}}} | {{{tradition3|}}} = {{{tradition2|}}} | #default = {{{tradition2|}}} }} }} }}</onlyinclude></includeonly><!--


more readable version:  (Lisp indentation)
more readable version:  (Lisp indentation)


{{#if:{{{tag|}}}||
{{#if:{{{tag|}}}||
   <span class="mix-match {{{class|matched}}}"><abbr class="figure item-dimension" data-icon="{{dimension-icon|}}"
   <span class="mix-match {{#if:{{{class|}}}|{{{class|}}}|{{Template:IXN/{{{tradition|}}}/class}} matched}}"><abbr class="figure item-dimension" data-icon="{{{dimension-icon|}}}"
     title="{{int:hue-tooltip-{{dimension-lowercase|}}/{{{lang|en}}}}} {{#if:{{{tradition2|}}}|/ {{{tradition2|}}}}} {{#if:{{{tradition3|}}}|/ {{{tradition3|}}}}} / {{int:hue-tooltip-item-id/{{{lang|en}}}|Q{{{Q|617}}}}}">
     title="{{int:hue-tooltip-{{{dimension-lowercase|}}}/{{{lang|en}}}}}_
     {{TTS|html=ins|class=flag|tts={{#if:{{{QTTS|}}}|{{{QTTS|}}}|{{{Q|617}}}}}. ({{dimension|}})|{{dimension|}}–{{{Q|617}}}|NoTitle=y}}
      {{#if:{{{tradition2|}}}|/ {{{tradition2|}}}}}_
      {{#if:{{{tradition3|}}}|/ {{{tradition3|}}}}}_
      / {{int:hue-tooltip-item-id/{{{lang|en}}}|Q{{{Q|617}}}}} / {{#if:{{{sense|}}}|{{int:hue-tooltip-sense/{{{lang|en}}}|{{{sense|}}}}}| {{int:hue-tooltip-no-sense/{{{lang|en}}}}} }}  ">
     {{TTS|html=ins|class=flag|tts={{#if:{{{QTTS|}}}|{{{QTTS|}}}|{{{Q|617}}}}}. ({{{dimension|}}})|{{{dimension|}}}–{{{Q|617}}}|NoTitle=y}}
     {{#switch:{{{ParameterThatShouldBeEmpty|}}}
     {{#switch:{{{ParameterThatShouldBeEmpty|}}}
       | {{{tts|}}}{{{tradition|}}} = {{TTS|html=ins|class=swatch|[{{dimension|}}]|({{dimension|}}):|NoTitle=y}}
       | {{{tts|}}}{{{tradition|}}} = {{TTS|html=ins|class=swatch|{{int:hue-philosophy-{{{tradition-message|}}}/{{{lang|}}}}}|{{int:hue-philosophy-tts-{{{tradition-message|}}}/{{{lang|}}}}}}}
       | {{{tradition|}}} = {{TTS|html=ins|class=swatch|[{{dimension|}}]|({{dimension|}}):}}
       | {{{tradition|}}} = {{TTS|html=ins|class=swatch|[{{{dimension|}}}]|({{{dimension|}}}):|NoTitle=y}}
       | #default = {{TTS|html=ins|class=swatch|[{{{tradition}}}] [{{dimension|}}]|({{{tts}}}) ({{dimension|}}):}}
       | #default = {{TTS|html=ins|class=swatch|[{{{tradition}}}] [{{{dimension|}}}]|({{#if:{{{tradTTS|}}}|{{{tradTTS|}}}|{{{tts}}}}}) ({{{dimension|}}}):}}
       }}
       }}
     </abbr></span>
     </abbr>
    <span class="spacer"> </span></span>
  <ins class="field-tag">
      {{IXN/field-tag
      |lang={{{lang|}}}|tradition-message={{{tradition-message|}}}|tradition={{{tradition|}}}|tts={{{tts|}}}|tradition-E={{{tradition-E|}}}|tradition2={{{tradition2|}}}
      |trad={{{trad|}}}|tradTTS={{{tradTTS|}}}
      |title={{#if:{{{tradition2|}}}| {{{tradition2|}}} | {{int:hue-tooltip-tradition-{{{tradition-message|}}}/{{{lang|}}}}} }}
      }}
      {{int:hue-ins-domain-spacer/{{{lang|en}}} }}
    </ins>
   }}
   }}
<span class="spacer"> </span>
{{#if:{{{tag|}}}|
{{#if:{{{tag|}}}|
   {{TTS|html=small|class=tag-after
   {{IXN/field-tag|html=small|class=tag-after|Bracket=y
    |tts=({{{tts|}}})|({{{tradition|}}})
  |lang={{{lang|}}}|tradition-message={{{tradition-message|}}}|tradition={{{tradition|}}}|tts={{{tts|}}}|tradition-E={{{tradition-E|}}}|tradition2={{{tradition2|}}}
    |title={{#if:{{{tradition3|}}}| {{{tradition3|}}} | {{{tradition2|}}} }}
  |trad={{{trad|}}}|tradTTS={{{tradTTS|}}}
    }}
  |title={{#switch:{{{ParameterThatShouldBeEmpty|}}}
  }}
    | {{{tradition2|}}}{{{tradition3|}}} = {{int:hue-tooltip-tradition-{{{tradition-message|}}}/{{{lang|}}}}}
    | {{{tradition3|}}} = {{{tradition2|}}}
    | #default = {{{tradition2|}}}
  }}
}}
-->
-->
== Demo ==
{{HueCSS}}<ol class="hue clean">
{{li|I=Z1|Q=617}}{{int:hue-item-placeholder-name-z1/en}} (clean list)
{{li|I=S1|Q=617}}{{int:hue-item-placeholder-name-s1/en}} (clean list)
</li></ol>
<ol class="hue clean compound">
<li>{{HueEntity|lang=en|swatch=field_geo|class=manual flag|I=Z1|tradition-message=stm|Q=617|Q2=617|dimension=Z|PPPA={{int:hue-item-placeholder-name-z1/en}} |ins = compound list }}</li>
<li>{{HueEntity|lang=en|swatch=field_fantasy|class=manual flag|I=S1|tradition-message=has|Q=617|Q2=617|dimension=S|PPPA={{int:hue-item-placeholder-name-s1/en}} |ins = compound list }}</li>
</ol>
<ol class="hue clean compound">
<li class="hue-domain">{{HueEntity|lang=en|swatch=field_geo|class=manual flag|I=Z1|trad=STM|tradTTS=Stem|Q=617|Q2=617|dimension=Z|PPPA={{int:hue-item-placeholder-name-z1/en}} |ins = compound list }}</li>
<li class="hue-domain">{{HueEntity|lang=en|swatch=field_fantasy|class=manual flag|I=S1|trad=HAS|tradTTS=Hass|Q=617|Q2=617|dimension=S|PPPA={{int:hue-item-placeholder-name-s1/en}} |ins = compound list }}</li>
</ol>
{{HueSwatchPreview|I=Z1/ES|dl = {{int:hue-item-placeholder-name-z1}} |lang=en}}


== Description ==
== Description ==


This is a generalized template for all Item dimension templates to use.
This is a generalized template for all Item dimension templates to use.
== Templates called ==
* [[Template:IXN/field-tag]]




[[Category:I-Templates for Item swatches]]
[[Category:I-Templates for Item swatches]]

Latest revision as of 12:30, 31 March 2026

Demo

  1. unique object coded as Z Item (clean list)
  2. motif or theme coded as S Item (clean list)
  1. pronounced 617. (Z)pronounced ⧼hue-philosophy-tts-/en⧽ pronounced ⧼hue-philosophy-tts-/en⧽  / unique object coded as Z Item (compound list)
  2. pronounced 617. (S)pronounced ⧼hue-philosophy-tts-/en⧽ pronounced ⧼hue-philosophy-tts-/en⧽  / motif or theme coded as S Item (compound list)
  1. pronounced 617. (Z)pronounced ⧼hue-philosophy-tts-/en⧽ pronounced Stem  / unique object coded as Z Item (compound list)
  2. pronounced 617. (S)pronounced ⧼hue-philosophy-tts-/en⧽ pronounced Hass  / motif or theme coded as S Item (compound list)
  1. pronounced 617. (Z)pronounced E.S. pronounced E.S.  / unique object coded as Z Item
pronounced P: label (en) [string] (L)
pronounced 617. (Z)pronounced E.S. pronounced E.S.  / unique object coded as Z Item

Paragraph containing term ... pronounced 617. (Z)pronounced E.S. pronounced E.S.  / unique object coded as Z Itempronounced E.S.1-1-1 ... within text

Description

This is a generalized template for all Item dimension templates to use.

Templates called