Template:WaveScore: Difference between revisions
Appearance
E parameter |
m check for sum instead of for E |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude><ins class="wave-score" data-score-string="{{#if:{{{ | <includeonly><onlyinclude><ins class="wave-score" data-score-string="{{#if:{{{sum|}}}|S{{{sum|0}}} P{{{ply|0}}} Q{{{quilt|0}}}|S{{E:Q25/P158}} P{{E:Q25/P156}} Q{{E:Q25/P157}}}}"><span class="sum">{{#if: {{{sum|}}} | [[E:P158|{{{sum|1}}}]] | [[E:P158|{{E:Q25/P158}}]] }}</span><span class="quilt"><span class="tts"><span class="visual" aria-hidden="true">:</span><del class="aural">-</del>{{#if: {{{quilt|}}} | [[E:P156|{{{quilt|1}}}]] | [[E:P156|{{E:Q25/P156}}]] }}</span><span class="ply"><span class="tts"><span class="visual" aria-hidden="true">:</span><del class="aural">-</del>{{#if: {{{E|}}} | [[E:P157|{{{ply|1}}}]] | [[E:P157|{{E:Q25/P157}}]] }}</span>{{#if: {{{quiltset|}}} | <span class="quiltset">{{Ontology:{{{quiltset}}}}}</span> }}</ins>{{#if: {{{enddfn|}}} | </dfn> }}</onlyinclude></includeonly><!-- | ||
more readable version: | more readable version: | ||
<ins class="wave-score"_ | <ins class="wave-score"_ | ||
data-score-string="{{#if:{{{ | data-score-string="{{#if:{{{sum|}}}|S{{{sum|0}}} P{{{ply|0}}} Q{{{quilt|0}}}|S{{E:Q25/P158}} P{{E:Q25/P156}} Q{{E:Q25/P157}}}}"> | ||
<span class="sum">{{#if: {{{ | <span class="sum">{{#if: {{{sum|}}} | [[E:P158|{{{sum|1}}}]] | [[E:P158|{{E:Q25/P158}}]] }}</span> | ||
<span class="quilt"><span class="tts"><span class="visual" aria-hidden="true">:</span><del class="aural">-</del>{{#if: {{{ | <span class="quilt"><span class="tts"><span class="visual" aria-hidden="true">:</span><del class="aural">-</del>{{#if: {{{quilt|}}} | [[E:P156|{{{quilt|1}}}]] | [[E:P156|{{E:Q25/P156}}]] }}</span><span class="ply"><span class="tts"><span class="visual" aria-hidden="true">:</span><del class="aural">-</del>{{#if: {{{E|}}} | [[E:P157|{{{ply|1}}}]] | [[E:P157|{{E:Q25/P157}}]] }}</span>{{#if: {{{quiltset|}}} | <span class="quiltset">{{Ontology:{{{quiltset}}}}}</span> }}</ins>{{#if: {{{enddfn|}}} | </dfn> }} | ||
--> | --> | ||
Revision as of 09:24, 7 December 2025
Demo
- : forms result [Item]
- along with [Item]
- placeholder1
-1-1
- : route [Item]
- along with [Item]
- placeholder1
-1-1
Description
This is a template for displaying wave scores on Item tiles. It only provides markup for making wave scores visible or invisible, and does not do anything automatically.