Difference between revisions of "Template:PLTable"
From NY Science Standards Wiki
(Show the editor-judgment note once, at the bottom of the box, instead of after every example) |
(Restyle: class-based markup, numbered badges, blue accent; footer reads "Notice: example questions") |
||
| Line 1: | Line 1: | ||
| − | <div class="pltable-linear | + | <div class="pltable-linear"> |
| − | {{#if:{{{Level1|}}}|<div | + | {{#if:{{{Level1|}}}|<div class="pld-row"><span class="pld-badge">1</span><div class="pld-text"><span class="pld-label">Level 1:</span> {{{Level1}}}{{#if:{{{Example1|}}}| <span class="pld-example">e.g. {{{Example1}}}</span>}}</div></div>}} |
| − | {{#if:{{{Level2|}}}|<div | + | {{#if:{{{Level2|}}}|<div class="pld-row"><span class="pld-badge">2</span><div class="pld-text"><span class="pld-label">Level 2:</span> {{{Level2}}}{{#if:{{{Example2|}}}| <span class="pld-example">e.g. {{{Example2}}}</span>}}</div></div>}} |
| − | {{#if:{{{Level3|}}}|<div | + | {{#if:{{{Level3|}}}|<div class="pld-row"><span class="pld-badge">3</span><div class="pld-text"><span class="pld-label">Level 3:</span> {{{Level3}}}{{#if:{{{Example3|}}}| <span class="pld-example">e.g. {{{Example3}}}</span>}}</div></div>}} |
| − | {{#if:{{{Level4|}}}|<div | + | {{#if:{{{Level4|}}}|<div class="pld-row"><span class="pld-badge">4</span><div class="pld-text"><span class="pld-label">Level 4:</span> {{{Level4}}}{{#if:{{{Example4|}}}| <span class="pld-example">e.g. {{{Example4}}}</span>}}</div></div>}} |
| − | {{#if:{{{Level5|}}}|<div | + | {{#if:{{{Level5|}}}|<div class="pld-row"><span class="pld-badge">5</span><div class="pld-text"><span class="pld-label">Level 5:</span> {{{Level5}}}{{#if:{{{Example5|}}}| <span class="pld-example">e.g. {{{Example5}}}</span>}}</div></div>}} |
| − | {{#if:{{{Example1|}}}{{{Example2|}}}{{{Example3|}}}{{{Example4|}}}{{{Example5|}}}|<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>}} |
| − | </div> | + | </div><noinclude> |
| − | <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 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. | ||
</noinclude> | </noinclude> | ||
Revision as of 01:56, 16 October 2026
Renders the performance level descriptions for a standard. Parameters Level1 … Level5 hold the PLD text. Optional Example1 … Example5 list an example released question for that level (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".