Difference between revisions of "Template:PLTable"

From NY Science Standards Wiki
(Add optional Example1–Example5 parameters showing an example question per PLD, with hover/click note that mappings are editor judgment calls)
(Drop the "Questions:" label before each level's question list)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<div class="pltable-linear" style="background-color: #f8f9fa; border: 1px solid #c8ccd1; padding: 16px 16px 8px 16px; margin-bottom: 1em;">
+
<div class="pltable-linear">
−
{{#if:{{{Level1|}}}|<div style="display: flex; align-items: baseline; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #eaecf0;"><span style="margin-right: 8px; font-size: 1.2em; color: #54595d;">&#9744;</span><div><strong>Level 1:</strong> {{{Level1}}}{{#if:{{{Example1|}}}|&#32;<span class="pld-example">e.g. {{{Example1}}}<span class="pld-note" 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>}}
+
{{#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">{{{Example1}}}</span>}}</div></div>}}
−
{{#if:{{{Level2|}}}|<div style="display: flex; align-items: baseline; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #eaecf0;"><span style="margin-right: 8px; font-size: 1.2em; color: #54595d;">&#9744;</span><div><strong>Level 2:</strong> {{{Level2}}}{{#if:{{{Example2|}}}|&#32;<span class="pld-example">e.g. {{{Example2}}}<span class="pld-note" 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>}}
+
{{#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">{{{Example2}}}</span>}}</div></div>}}
−
{{#if:{{{Level3|}}}|<div style="display: flex; align-items: baseline; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #eaecf0;"><span style="margin-right: 8px; font-size: 1.2em; color: #54595d;">&#9744;</span><div><strong>Level 3:</strong> {{{Level3}}}{{#if:{{{Example3|}}}|&#32;<span class="pld-example">e.g. {{{Example3}}}<span class="pld-note" 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>}}
+
{{#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">{{{Example3}}}</span>}}</div></div>}}
−
{{#if:{{{Level4|}}}|<div style="display: flex; align-items: baseline; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #eaecf0;"><span style="margin-right: 8px; font-size: 1.2em; color: #54595d;">&#9744;</span><div><strong>Level 4:</strong> {{{Level4}}}{{#if:{{{Example4|}}}|&#32;<span class="pld-example">e.g. {{{Example4}}}<span class="pld-note" 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>}}
+
{{#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">{{{Example4}}}</span>}}</div></div>}}
−
{{#if:{{{Level5|}}}|<div style="display: flex; align-items: baseline; padding-bottom: 8px; margin-bottom: 8px;"><span style="margin-right: 8px; font-size: 1.2em; color: #54595d;">&#9744;</span><div><strong>Level 5:</strong> {{{Level5}}}{{#if:{{{Example5|}}}|&#32;<span class="pld-example">e.g. {{{Example5}}}<span class="pld-note" 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>}}
+
{{#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">{{{Example5}}}</span>}}</div></div>}}
−
</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>}}
−
<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>); each example shows a small hover/click note that the mapping is an editorial judgment, since NYSED does not publish question-to-PLD mappings.
+
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>

Latest revision as of 09:27, 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".