sc: link between different include versions
[sheet.git] / sc.plp
diff --git a/sc.plp b/sc.plp
index 237ba713f1bbc1c9402cbb308556ae8d1cdf6bc4..48cb282d3a8ea3cf7b8e53aad663b3c290c2c1bc 100644 (file)
--- a/sc.plp
+++ b/sc.plp
@@ -47,7 +47,12 @@ die "Cannot open unit data: $_\n" for $@ || $! || ();
 my $patch = shift @{$units}
        or die "Cannot open unit data: metadata not found\n";
 
-print "<p>Unit properties as seen or measured in $scver{name}\n$patch.\n</p>\n\n";
+print "<p>Unit properties as seen or measured in $scver{name}\n$patch.\n";
+print "Also see the $_ table.\n" for join(', ',
+       ('<a href="/sc/2">StarCraft 2: HotS</a>')    x ($scver{major} < 2),
+       ('<a href="/sc">original SC: Brood War</a>') x ($scver{major} > 1),
+);
+print "</p>\n\n";
 
 sub addupgrade {
        my ($ref, $increase) = @_;