Difference between revisions of "Template:PLTable"

From NY Science Standards Wiki
(Remove numbered badges)
(Footer now reads "Notice: PLD levels" and rows say "Questions:" instead of "e.g." since PLD tables list all released questions per level)
Line 1: Line 1:
 
<div class="pltable-linear">
 
<div class="pltable-linear">
−
{{#if:{{{Level1|}}}|<div class="pld-row"><div class="pld-text"><span class="pld-label">Level 1:</span> {{{Level1}}}{{#if:{{{Example1|}}}|&#32;<span class="pld-example">e.g. {{{Example1}}}</span>}}</div></div>}}
+
{{#if:{{{Level1|}}}|<div class="pld-row"><div class="pld-text"><span class="pld-label">Level 1:</span> {{{Level1}}}{{#if:{{{Example1|}}}|&#32;<span class="pld-example">Questions: {{{Example1}}}</span>}}</div></div>}}
−
{{#if:{{{Level2|}}}|<div class="pld-row"><div class="pld-text"><span class="pld-label">Level 2:</span> {{{Level2}}}{{#if:{{{Example2|}}}|&#32;<span class="pld-example">e.g. {{{Example2}}}</span>}}</div></div>}}
+
{{#if:{{{Level2|}}}|<div class="pld-row"><div class="pld-text"><span class="pld-label">Level 2:</span> {{{Level2}}}{{#if:{{{Example2|}}}|&#32;<span class="pld-example">Questions: {{{Example2}}}</span>}}</div></div>}}
−
{{#if:{{{Level3|}}}|<div class="pld-row"><div class="pld-text"><span class="pld-label">Level 3:</span> {{{Level3}}}{{#if:{{{Example3|}}}|&#32;<span class="pld-example">e.g. {{{Example3}}}</span>}}</div></div>}}
+
{{#if:{{{Level3|}}}|<div class="pld-row"><div class="pld-text"><span class="pld-label">Level 3:</span> {{{Level3}}}{{#if:{{{Example3|}}}|&#32;<span class="pld-example">Questions: {{{Example3}}}</span>}}</div></div>}}
−
{{#if:{{{Level4|}}}|<div class="pld-row"><div class="pld-text"><span class="pld-label">Level 4:</span> {{{Level4}}}{{#if:{{{Example4|}}}|&#32;<span class="pld-example">e.g. {{{Example4}}}</span>}}</div></div>}}
+
{{#if:{{{Level4|}}}|<div class="pld-row"><div class="pld-text"><span class="pld-label">Level 4:</span> {{{Level4}}}{{#if:{{{Example4|}}}|&#32;<span class="pld-example">Questions: {{{Example4}}}</span>}}</div></div>}}
−
{{#if:{{{Level5|}}}|<div class="pld-row"><div class="pld-text"><span class="pld-label">Level 5:</span> {{{Level5}}}{{#if:{{{Example5|}}}|&#32;<span class="pld-example">e.g. {{{Example5}}}</span>}}</div></div>}}
+
{{#if:{{{Level5|}}}|<div class="pld-row"><div class="pld-text"><span class="pld-label">Level 5:</span> {{{Level5}}}{{#if:{{{Example5|}}}|&#32;<span class="pld-example">Questions: {{{Example5}}}</span>}}</div></div>}}
−
{{#if:{{{Example1|}}}{{{Example2|}}}{{{Example3|}}}{{{Example4|}}}{{{Example5|}}}|<div class="pld-footer"><span class="pld-example">Notice: example questions<span class="pld-note pld-note-right" tabindex="0" data-note="Which PLD a question best matches is a judgment call by the wiki's editors. NYSED does not publish official mappings of exam questions to performance levels.">!</span></span></div>}}
+
{{#if:{{{Example1|}}}{{{Example2|}}}{{{Example3|}}}{{{Example4|}}}{{{Example5|}}}|<div class="pld-footer"><span class="pld-example">Notice: PLD levels<span class="pld-note pld-note-right" tabindex="0" data-note="Which PLD a question best matches is a judgment call by the wiki's editors. NYSED does not publish official mappings of exam questions to performance levels.">!</span></span></div>}}
 
</div><noinclude>
 
</div><noinclude>
−
Renders the performance level descriptions for a standard. Parameters <code>Level1</code> … <code>Level5</code> hold the PLD text. Optional <code>Example1</code> … <code>Example5</code> list an example released question for that level (e.g. <code>[[Questions:Pool Water Chemistry#q2|August 2026 Question 23]]</code>); when any example is given, a single hover/click note at the bottom of the box says the mappings are editorial judgments, since NYSED does not publish question-to-PLD mappings. Styling lives in [[MediaWiki:Common.css]] under "PLD".
+
Renders the performance level descriptions for a standard. Parameters <code>Level1</code> … <code>Level5</code> hold the PLD text. Optional <code>Example1</code> … <code>Example5</code> list every released question mapped to that level, comma-separated (e.g. <code>[[Questions:Pool Water Chemistry#q2|August 2026 Question 23]]</code>); when any example is given, a single hover/click note at the bottom of the box says the mappings are editorial judgments, since NYSED does not publish question-to-PLD mappings. Styling lives in [[MediaWiki:Common.css]] under "PLD".
 
</noinclude>
 
</noinclude>

Revision as of 09:25, 18 October 2026




Renders the performance level descriptions for a standard. Parameters Level1 … Level5 hold the PLD text. Optional Example1 … Example5 list every released question mapped to that level, comma-separated (e.g. August 2026 Question 23); when any example is given, a single hover/click note at the bottom of the box says the mappings are editorial judgments, since NYSED does not publish question-to-PLD mappings. Styling lives in MediaWiki:Common.css under "PLD".