-<p>
-<span title="ECMA-48">ANSI</span> (VT100, ISO-6429) 16-colour text palette
-as implemented by various systems and programs.
-<:
-print
- "@termlist" ne 'default' ? 'Additional palettes are included as specified.' :
- 'Also see <a href="/termcol/more">8-bit legacy hardware</a> palettes.';
+say '<p>';
+if ("@termlist" eq 'default') {
+ say '<span title="ECMA-48">ANSI</span> (VT100, ISO-6429) 16-colour text palette';
+ say 'as implemented by various systems and programs.';
+ say 'Also see <a href="/termcol/legacy">8-bit legacy hardware</a> palettes.';
+}
+elsif ("@termlist" eq 'legacy') {
+ say 'Colour palettes of various 8-bit legacy systems and retro games.';
+ say 'Also see <a href="/termcol">ANSI console</a> palettes.';
+}
+else {
+ say 'Comparison of requested colour palettes.';
+}