Template:Rt

From NY Science Standards Wiki
Revision as of 16:23, 25 October 2026 by Conrad (talk | contribs) (Add the physics reference tables: physics chip color, equation-level row labels)

A small chip with a table icon that links to one of the Chemistry Reference Tables or Physics Reference Tables. It goes next to the standard on a question cluster page, in the text1, text2… parameters of Template:Examcluster, to show that the question cannot be answered without that table. The chip's hover text is the table's page name, and the chip takes the chemistry or physics color from the page name.

|text4=[[HS-PS1-9]] {{Rt|Mathematical and Computational Models|row=combined-gas-law}} {{Rt|Mathematical Relationships|row=temperature}}
|text2=[[HS-PS1-8]] {{Rt|Symbols Used in Nuclear Chemistry}} {{Rt|Periodic Table of the Elements}}
|text3=[[HS-PS2-1]] {{Rt|Motion and Forces|row=fnet-ma}} {{Rt|List of Physical Constants|row=gravity}}

which gives: HS-PS1-9 Combined gas law K = °C + 273.15 · HS-PS1-8 Nuclear Symbols Periodic Table · HS-PS2-1 Fnet = ma g = 9.8 m/s2

  • First parameter: the table's page name, exactly as the page is titled.
  • row: the row of the table the question uses; the link then lands on that row and the chip shows that row's equation or constant. Every row id is listed on the table's page in its "Rows" section (chemistry: combined-gas-law, heat, ppm, molarity, coulombic-force, temperature, pressure, mole; physics: one id per equation or constant, such as fnet-ma, kinetic-energy, wave-speed, ohm, gravity).
  • label: text to show after the icon instead of the default (label=none shows the icon alone).

The chip reuses the pld-chip styles from MediaWiki:Common.css; the extra rt-chip class is there in case the chips ever need a style of their own.