Jump to content

Template:EditionSense: Difference between revisions

From Philosophical Research
remove parentheses from ins - this will break some entries, but is important for flexibility
m remove debug - problem fixed
Tag: Manual revert
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{ins|}}}{{{field|}}}{{{note|}}}{{{area|}}} = <ins class="field"></ins> | {{{ins|}}}{{{field|}}}{{{area|}}} = <ins class="note"> ({{{note}}})</ins> | {{{ins|}}}{{{note|}}}{{{area|}}} = <ins class="field"> ({{{field}}})</ins> | {{{ins|}}}{{{field|}}}{{{note|}}} = <ins class="note"> ({{{area}}})</ins> | {{{field|}}}{{{note|}}} = <ins class="note"> {{{ins}}}</ins> | {{{note|}}}{{{area|}}} = <ins class="field"> {{{ins}}}</ins> | #default = <ins class="note"> {{{ins}}}</ins> }}{{#if: {{{1|}}} | <ins class="edition-sense term"> ([[Ontology:{{{E|Q617}}}/{{{1}}}|{{{1}}}]]<nowiki />)</ins> | <ins class="edition-sense"></ins> }}</onlyinclude></includeonly><!--
<includeonly><onlyinclude>{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{ins|}}}{{{field|}}}{{{note|}}}{{{area|}}} = {{EditionSense/del|lang={{{lang|}}}|class=field|area-free={{{area-free|}}}}} | {{{ins|}}}{{{field|}}}{{{area|}}} = {{EditionSense/ins|lang={{{lang|}}}|class=note|{{{note}}}|area-free={{{area-free|}}}}} | {{{ins|}}}{{{note|}}}{{{area|}}} = {{EditionSense/del|lang={{{lang|}}}|class=field|{{{field}}}|area-free={{{area-free|}}}}} | {{{ins|}}}{{{field|}}}{{{note|}}} = {{EditionSense/ins|lang={{{lang|}}}|class=note|{{{area}}}|area-free={{{area-free|}}}}} | {{{field|}}}{{{note|}}} = {{EditionSense/ins|lang={{{lang|}}}|class=note|{{{ins}}}|area-free={{{area-free|}}}}} | {{{note|}}}{{{area|}}} = {{EditionSense/del|lang={{{lang|}}}|class=field|{{{ins}}}|area-free={{{area-free|}}}}} | #default = {{EditionSense/ins|lang={{{lang|}}}|class=note|{{{ins}}}|area-free={{{area-free|}}}}} }}{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{1|}}}{{{tag|}}} = <ins class="edition-sense"></ins> | {{{tag|}}} = <ins class="edition-sense term"> ([[Ontology:{{{E|Q617}}}/{{{1}}}|{{{1}}}]]<nowiki/>)</ins> | {{{1|}}} = <ins class="edition-sense"></ins>{{#if:{{{tag|}}}| {{Template:I{{{I|}}}|lang={{{lang|zxx}}}|class={{{class|}}}|tag=y}}}} | #default = {{#switch:{{{tag|}}} | {{{1|}}} = {{Template:I{{{I|}}}|lang={{{lang|zxx}}}|class={{{class|}}}|trad={{{1|}}}|tradTTS={{{tradTTS|}}}|trad-E={{{E|Q617}}}/{{{1}}}|tag=y}} | #default = {{Template:I{{{I|}}}|lang={{{lang|zxx}}}|class={{{class|}}}|tag=y}} }} }}</onlyinclude></includeonly><!--


more readable version:
more readable version:


{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}}
{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}}
  | {{{ins|}}}{{{field|}}}{{{note|}}}{{{area|}}} = <ins class="field"></ins>    (none)
  | {{{ins|}}}{{{field|}}}{{{note|}}}{{{area|}}}
  | {{{ins|}}}{{{field|}}}{{{area|}}} = <ins class="note"> ({{{note}}})</ins>   {{{note|}}}
  = {{EditionSense/del|lang={{{lang|}}}|class=field|area-free={{{area-free|}}}}}              (none)
  | {{{ins|}}}{{{note|}}}{{{area|}}} = <ins class="field"> ({{{field}}})</ins>  {{{field|}}}
  | {{{ins|}}}{{{field|}}}{{{area|}}}
  | {{{ins|}}}{{{field|}}}{{{note|}}} = <ins class="note"> ({{{area}}})</ins>   {{{area|}}}
  = {{EditionSense/ins|lang={{{lang|}}}|class=note|{{{note}}}|area-free={{{area-free|}}}}}   {{{note|}}}
  | {{{field|}}}{{{note|}}} = <ins class="note"> {{{ins}}}</ins>                {{{area|}}}{{{ins|}}}
  | {{{ins|}}}{{{note|}}}{{{area|}}}
  | {{{note|}}}{{{area|}}} = <ins class="field"> {{{ins}}}</ins>                {{{field|}}}{{{ins|}}}
  = {{EditionSense/del|lang={{{lang|}}}|class=field|{{{field}}}|area-free={{{area-free|}}}}}  {{{field|}}}
  | #default = <ins class="note"> {{{ins}}}</ins>
  | {{{ins|}}}{{{field|}}}{{{note|}}}
  = {{EditionSense/ins|lang={{{lang|}}}|class=note|{{{area}}}|area-free={{{area-free|}}}}}    {{{area|}}}
  | {{{field|}}}{{{note|}}}
  = {{EditionSense/ins|lang={{{lang|}}}|class=note|{{{ins}}}|area-free={{{area-free|}}}}}    {{{area|}}}{{{ins|}}}
  | {{{note|}}}{{{area|}}}
  = {{EditionSense/del|lang={{{lang|}}}|class=field|{{{ins}}}|area-free={{{area-free|}}}}}    {{{field|}}}{{{ins|}}}
  | #default = {{EditionSense/ins|lang={{{lang|}}}|class=note|{{{ins}}}|area-free={{{area-free|}}}}}
}}
}}
{{#if: {{{1|}}} | <ins class="edition-sense term"> ([[Ontology:{{{E|Q617}}}/{{{1}}}|{{{1}}}]]<nowiki />)</ins> | <ins class="edition-sense"></ins> }}
{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}}
| {{{1|}}}{{{tag|}}} = <ins class="edition-sense"></ins>
| {{{tag|}}} = <ins class="edition-sense term"> ([[Ontology:{{{E|Q617}}}/{{{1}}}|{{{1}}}]]<nowiki/>)</ins>
| {{{1|}}} = <ins class="edition-sense"></ins>{{#if:{{{tag|}}}|{{Template:I{{{I|}}}|lang={{{lang|zxx}}}|class={{{class|}}}|tag=y}}}}
| #default =
  {{#switch:{{{tag|}}}
  | {{{1|}}} = {{Template:I{{{I|}}}|lang={{{lang|zxx}}}|class={{{class|}}}|trad={{{1|}}}|tradTTS={{{tradTTS|}}}|trad-E={{{E|Q617}}}/{{{1}}}|tag=y}}
  | #default = {{Template:I{{{I|}}}|lang={{{lang|zxx}}}|class={{{class|}}}|tag=y}}
  }}
}}
 
-->
-->
== Demo ==
== Demo ==
Line 18: Line 34:
{{HueCSS}}<ol class="hue clean compound">
{{HueCSS}}<ol class="hue clean compound">
<li>{{HueEntity|I=S1|Q=22,28|sum=1|quilt=1|ply=1  <!-- three braces: changeable arguments -->
<li>{{HueEntity|I=S1|Q=22,28|sum=1|quilt=1|ply=1  <!-- three braces: changeable arguments -->
|class={{{class|field_mdem}}} manual flag|PPPA2=|sense=|field=|note=
|swatch=field_mdem|class=manual flag|PPPA2=|sense=|field=|note=
  | PPPA = {{label|en
  | PPPA = {{label|en| en = determinism  | ja = {{TTS|lang=ja|tts=ひつぜんろん|必然論}} }}
  | en = determinism  | ja = {{TTS|lang=ja|tts=ひつぜんろん|必然論}} }}
  | area = {{label|en| en = physics  | ja = 数学 }}
  | area = {{label|en
  | ins = {{label|en| en = physics  | ja = {{TTS|lang=ja|tts=すうがく|数学}} }}
  | en = physics  | ja = 数学 }}
| ins-lang = en
  | ins   = {{label|en
  | en = physics  | ja = {{TTS|lang=ja|tts=すうがく|数学}} }}
|enddfn=1}}</li>
|enddfn=1}}</li>


<li>{{HueEntity|I=S1|Q=22,28|sum=1|quilt=1|ply=1|class=field_mdem manual flag|PPPA2=|sense=
<li>{{HueEntity|I=S1|Q=22,28|sum=1|quilt=1|ply=1|swatch=field_mdem|class=manual flag|PPPA2=|sense=
  | PPPA = {{TTS|lang=ja|tts=ひつぜんろん|必然論}}  | field = 数学 | ins = {{TTS|lang=ja|tts=すうがく|数学}}
  | PPPA = {{TTS|lang=ja|tts=ひつぜんろん|必然論}}  | field = 数学 | ins = {{TTS|lang=ja|tts=すうがく|数学}}
  |enddfn=1}}</li>
  | ins-lang = ja |enddfn=1}}</li>
<li>{{HueEntity|I=S1|Q=22,28|sum=1|quilt=1|ply=1|class=field_mdem manual flag|PPPA2=|sense=
<li>{{HueEntity|I=S1|Q=22,28|sum=1|quilt=1|ply=1|swatch=field_mdem|class=manual flag|PPPA2=|sense=
  | PPPA = {{TTS|lang=ja|tts=ひつぜんろん|必然論}}  | area = 数学
  | PPPA = {{TTS|lang=ja|tts=ひつぜんろん|必然論}}  | area = 数学
  |enddfn=1}}</li>
  | ins-lang = ja |enddfn=1}}</li>


<li>{{HueEntity|I=S1|Q=22,28|sum=1|quilt=1|ply=1  <!-- three braces: changeable arguments -->
<li>{{HueEntity|I=S1|Q=22,28|sum=1|quilt=1|ply=1  <!-- three braces: changeable arguments -->
|class={{{class|field_mdem}}} manual flag|PPPA2=|sense=|field=|note=
|swatch=field_mdem|class=manual flag|PPPA2=|sense=|field=|note=
  | PPPA = {{label|ja
  | PPPA = {{label|ja| en = determinism  | ja = {{TTS|lang=ja|tts=ひつぜんろん|必然論}} }}
  | en = determinism  | ja = {{TTS|lang=ja|tts=ひつぜんろん|必然論}} }}
  | area = {{label|ja| en = physics  | ja = 数学 }}
  | area = {{label|ja|{{label|ja| en  = physics | ja  = 物理学 }}
  | ins = {{label|ja| en = physics  | ja = {{TTS|lang=ja|tts=ぶつりがく|物理学}} }}
  | en = physics  | ja = 数学 }}
| ins-lang = ja |enddfn=1}}</li>
  | ins   = {{label|ja|{{label|ja| en  = physics | ja  = 物理学 }}
  | en = physics  | ja = {{TTS|lang=ja|tts=ぶつりがく|物理学}} }}
|enddfn=1}}</li>


</ol>
</ol>
Line 48: Line 59:
<dl lang="mis" class="wikitable hue">
<dl lang="mis" class="wikitable hue">
{{HueRoster|EP=PPPA|lang=ja|{{HueEntity|I=S1|Q=22,28|sum=1|quilt=1|ply=1  <!-- three braces: changeable arguments -->
{{HueRoster|EP=PPPA|lang=ja|{{HueEntity|I=S1|Q=22,28|sum=1|quilt=1|ply=1  <!-- three braces: changeable arguments -->
|class={{{class|field_mdem}}} manual flag|PPPA2=|sense=|field=|note=
|swatch=field_mdem|class=manual flag|PPPA2=|sense=|field=|note=
  | PPPA = {{label|ja
  | PPPA = {{label|ja| en = determinism  | ja = {{TTS|lang=ja|tts=ひつぜんろん|必然論}} }}
  | en = determinism  | ja = {{TTS|lang=ja|tts=ひつぜんろん|必然論}} }}
  | area = {{label|ja| en = physics  | ja = 数学 }}
  | area = {{label|ja|{{label|ja| en  = physics | ja  = 物理学 }}
  | ins = {{label|ja| en = (physics| ja = {{TTS|lang=ja|tts=ぶつりがく|物理学}} }}
  | en = physics  | ja = 数学 }}
  | ins-lang = ja |enddfn=1}}}}
  | ins   = {{label|ja|{{label|ja| en = physics | ja = {{TTS|lang=ja|tts=ぶつりがく|物理学}} }}
  | en = physics | ja = {{TTS|lang=ja|tts=ぶつりがく|物理学}} }}
|enddfn=1}}}}
</dl>
</dl>
== Parameters ==
* <code>E</code>
* <code>lang</code> - language of bracketed string, used in order to choose what brackets will be used.
* <code>area</code>
* <code>field</code>
* <code>note</code>
* <code>ins</code>
* <code>del</code>
* <code>area-free</code> - if present, brackets will not be added and the <code>ins</code> or <code>del</code> tag will be a freeform string.
== Templates called ==
* [[Template:EditionSense/ins]]
* [[Template:EditionSense/del]]




[[Category:Fake Item lists]]
[[Category:Fake Item lists]]

Latest revision as of 06:59, 10 March 2026

Demo[edit]

  1. pronounced 22,28. (S)pronounced (S): determinism (physics)1-1-1
  2. pronounced 22,28. (S)pronounced (S): pronounced ひつぜんろんpronounced すうがく1-1-1
  3. pronounced 22,28. (S)pronounced (S): pronounced ひつぜんろん(数学)1-1-1
  4. pronounced 22,28. (S)pronounced (S): pronounced ひつぜんろんpronounced ぶつりがく1-1-1
pronounced P: alias (ja) [string]
pronounced 22,28. (S)pronounced (S): pronounced ひつぜんろんpronounced ぶつりがく1-1-1

Parameters[edit]

  • E
  • lang - language of bracketed string, used in order to choose what brackets will be used.
  • area
  • field
  • note
  • ins
  • del
  • area-free - if present, brackets will not be added and the ins or del tag will be a freeform string.

Templates called[edit]