Jump to content

Template:IXN: Difference between revisions

From LithoGraphica
Reversedragon (talk | contribs)
m reuse field-tag code for tag-after
Reversedragon (talk | contribs)
m parentheses
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<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 |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><!--
<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)
Line 27: Line 27:
   }}
   }}
{{#if:{{{tag|}}}|
{{#if:{{{tag|}}}|
   {{IXN/field-tag|html=small|class=tag-after
   {{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|}}}
   |lang={{{lang|}}}|tradition-message={{{tradition-message|}}}|tradition={{{tradition|}}}|tts={{{tts|}}}|tradition-E={{{tradition-E|}}}|tradition2={{{tradition2|}}}
   |trad={{{trad|}}}|tradTTS={{{tradTTS|}}}
   |trad={{{trad|}}}|tradTTS={{{tradTTS|}}}

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