From 9cad508b5c98ca1029460807249cafb712f28f1e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 29 Oct 2023 22:39:48 +0100 Subject: Migrate the site to GSP and a Makefile --- src/euro/index.ccoins.gsp | 181 ++++++++++++++++++++++++++++++++++++++++++++++ src/euro/index.dcoins.gsp | 34 +++++++++ src/euro/index.dnotes.gsp | 82 +++++++++++++++++++++ src/euro/index.gsp | 119 ++++++++++++++++++++++++++++++ src/euro/index.tnotes.gsp | 59 +++++++++++++++ src/euro/nav.ccoins.gsp | 26 +++++++ src/euro/nav.dcoins.gsp | 10 +++ src/euro/nav.dnotes.gsp | 10 +++ 8 files changed, 521 insertions(+) create mode 100644 src/euro/index.ccoins.gsp create mode 100644 src/euro/index.dcoins.gsp create mode 100644 src/euro/index.dnotes.gsp create mode 100644 src/euro/index.gsp create mode 100644 src/euro/index.tnotes.gsp create mode 100644 src/euro/nav.ccoins.gsp create mode 100644 src/euro/nav.dcoins.gsp create mode 100644 src/euro/nav.dnotes.gsp (limited to 'src/euro') diff --git a/src/euro/index.ccoins.gsp b/src/euro/index.ccoins.gsp new file mode 100644 index 0000000..15e8c5a --- /dev/null +++ b/src/euro/index.ccoins.gsp @@ -0,0 +1,181 @@ +__hijack(euro/__code) + +html lang="en" { + head { + __include(head.gsp) + title {-__demonym Euro Coins} + } + + body { + nav { + __include(nav.gsp) + __include(euro/nav.ccoins.gsp) + } + + main { + section { + header { + h1 {-__demonym Euro Coins} + } + } + + br{}br{} + + section { __include(table-key.gsp) } + + br{}br{} + + __ifcode([de], [ + section .blurb { + p {- + All German coins bear one of five different mintmarks that + represent the city in which they were minted. These are: Berlin + (A), Munich (D), Stuttgart (F), Karlsruhe (G), and Hamburg (J). + } + } + ]) + + __ifcode([gr], [ + section .blurb { + p {- + As a result of a late joining to the Eurozone, Greece was assisted + by the countries of France, Spain, and Finland to mint coins for + 2002. For this reason all 2002 coins have two varieties — one with + a mintmark in the star (‘F’, ‘E’, and ‘S’) and one without. + } + } + ]) + + __ifcode([lu], [ + section .blurb { + p {- + For the years 2020–2021 Luxembourg released certain commemorative + coins in both a ‘classic’ and ‘photo’ variety. Any years labeled + with ‘P’ are of the ‘photo’ variety while years without a label are + of the standard ‘classic’ variety. + } + + p {- + Additionally, in 2023 the 10c, 20c, and €2 denominations were + released in two varieties. One bearing the mintmark of the Monnaie + de Paris (Paris Mint) and one bearing the mintmark of the + Koninklijke Nederlandse Munt (Royal Dutch Mint). These varieties + are suffixed with ‘MdP’ and ‘KNM’ respectively. + } + } + ]) + + __ifcode([mc], [ + section .blurb { + p {- + In 2007 Monaco released two varieties of their €1 coin. One of + them has mintmarks around the year while the other one doesn’t. + The variety without the mintmarks is suffixed with ‘No MM’. + } + } + ]) + + __ifcode([mt], [ + section .blurb { + p {- + Many Maltese commemoratives have different mintmarks depending on + if they were intended for circulation, coincards, or sets. Any + years listed on this page suffixed with ‘MM’ bear an NIFC mintmark, + while any years suffixed with ‘F’ bear the ‘F’ in the star that also + represents an NIFC coin. + } + } + ]) + + __ifcode([nl], [ + section .blurb { + p {- + Besides just the standard €2 commemorative releases, the Koninklijke + Nederlandse Munt (Royal Dutch Mint) also sells NIFC €5 + commemorative coins; these coins are suffixed with ‘€5’. + } + } + ]) + + section .cl-section .slant-down { + div { + table .coin-table cellspacing="0" { + thead { + tr { + th colspan="8" {-Standard Issues} + } + tr .mobile { + th {-1c} + th {-2c} + th {-5c} + th {-10c} + th {-20c} + th {-50c} + th {-€1} + th {-€2} + } + tr .not-mobile { + th {-1 Cent} + th {-2 Cent} + th {-5 Cent} + th {-10 Cent} + th {-20 Cent} + th {-50 Cent} + th {-1 Euro} + th {-2 Euro} + } + } + + tbody { __esyscmd(gen-scoin __code) } + } + } + } + + section .cl-section .slant-down { + div { + table .coin-table .commemorative-table cellspacing="0" { + thead { + tr { + th colspan="7" {-Commemorative Issues} + } + tr { + th {-Year} + th colspan="6" {-Commemorated Topics} + } + } + + tbody { __esyscmd(gen-ccoin __code) } + } + } + } + + __ifcode([fi], [ + section .cl-section .slant-down { + div { + table + .coin-table + .commemorative-table + .error-table + cellspacing="0" + { + thead { + tr { + th colspan="7" {-Error Coins} + } + tr { + th {-Year} + th {-Denomination} + th colspan="5" {-Description} + } + } + + tbody { __esyscmd(gen-ecoin __code) } + } + } + } + ]) + + section { __include(foot.gsp) } + } + } +} diff --git a/src/euro/index.dcoins.gsp b/src/euro/index.dcoins.gsp new file mode 100644 index 0000000..ab6844f --- /dev/null +++ b/src/euro/index.dcoins.gsp @@ -0,0 +1,34 @@ +__hijack(euro/__denom) +__dcoins_denom + +html lang="en" { + head { + __include(head.gsp) + title {-€__denom Coins} + } + + body { + nav { + __include(nav.gsp) + __include(euro/nav.dcoins.gsp) + } + + main { + section { + header { + h1 {-€__denom Coins} + } + } + + br{}br{} + + section { __include(table-key.gsp) } + + br{}br{} + + __esyscmd(gen-dcoins __denom) + + section { __include(foot.gsp) } + } + } +} diff --git a/src/euro/index.dnotes.gsp b/src/euro/index.dnotes.gsp new file mode 100644 index 0000000..792f9a8 --- /dev/null +++ b/src/euro/index.dnotes.gsp @@ -0,0 +1,82 @@ +__hijack(euro/__denom) +m4_define([__denom], m4_patsubst(__denom, [e$], [])) + +html lang="en" { + head { + __include(head.gsp) + title {-€__denom Banknotes} + } + + body { + nav { + __include(nav.gsp) + __include(euro/nav.dnotes.gsp) + } + + main { + section { + header { + h1 {-€__denom Banknotes} + } + } + + br{}br{} + + section { __include(table-key.gsp) } + + br{}br{} + + section .blurb { + p {- + In the serial numbers of the banknotes found in the 2002 series, the + first letter represents the country that the banknote was issued by. + In the second series (the ‘Europa’ series) the first letter no longer + represents the issuing country but instead the location at which the + banknote was printed. + } + m4_ifelse(__denom, 5, [ + p {- + No €5 banknotes were printed for the 2002 series which bear the + signature of Mario Draghi. + } + ]) + m4_ifelse(__denom, 500, [ + p {- + The €500 banknote was discontinued and withdrawn from circulation + with the release of the Europa series. + } + ]) + } + + br{} + + section .cl-section .slant-down { + div { + table .coin-table .bnote-table cellspacing="0" { + thead { + tr {th colspan="12" {-2002 Series}} + } + + tbody { __esyscmd(gen-2002 __denom) } + } + } + } + + m4_ifelse(__denom, 500, [], [ + section .cl-section .slant-down { + div { + table .coin-table .bnote-table cellspacing="0" { + thead { + tr {th colspan="12" {-Europa Series}} + } + + tbody { __esyscmd(gen-europa __denom) } + } + } + } + ]) + + section { __include(foot.gsp) } + } + } +} diff --git a/src/euro/index.gsp b/src/euro/index.gsp new file mode 100644 index 0000000..c970e51 --- /dev/null +++ b/src/euro/index.gsp @@ -0,0 +1,119 @@ +html lang="en" { + head { + __include(head.gsp) + title {-Euro Coins & -Banknotes} + } + + body { + nav { __include(nav.gsp) } + + main { + section { + header { + h1 {-Euro Coins and -Banknotes} + h6 {-My primary collection} + } + } + + section { + p {- + There are various examples of euro coins that have slight varieties + between their standard circulation releases and their coincard/set + releases, such as different mintmarks. In these cases, the NIFC + variety will @strong{-not} be listed on this site @em{-unless} I + happen to get one for my collection (see @a href="mt" {-Malta} for an + example). The same applies to error coins. + } + } + + section .cl-section .slant-up { + div { + h2 {-Euro Coins} + + table .country-table { + tbody { + tr { + td {a href="ad" {-Andorra}} + td {a href="at" {-Austria}} + td {a href="be" {-Belgium}} + td {a href="hr" {-Croatia}} + } + tr { + td {a href="cy" {-Cyprus}} + td {a href="ee" {-Estonia}} + td {a href="fi" {-Finland}} + td {a href="fr" {-France}} + } + tr { + td {a href="de" {-Germany}} + td {a href="gr" {-Greece}} + td {a href="ie" {-Ireland}} + td {a href="it" {-Italy}} + } + tr { + td {a href="lv" {-Latvia}} + td {a href="lt" {-Lithuania}} + td {a href="lu" {-Luxembourg}} + td {a href="mt" {-Malta}} + } + tr { + td {a href="mc" {-Monaco}} + td {a href="nl" {-Netherlands}} + td {a href="pt" {-Portugal}} + td {a href="sm" {-San Marino}} + } + tr { + td {a href="sk" {-Slovakia}} + td {a href="si" {-Slovenia}} + td {a href="es" {-Spain}} + td {a href="va" {-Vatican City}} + } + } + } + + table .country-table { + tbody { + tr { + td {a href="1c" {-€0.01}} + td {a href="2c" {-€0.02}} + td {a href="5c" {-€0.05}} + td {a href="10c" {-€0.10}} + } + tr { + td {a href="20c" {-€0.20}} + td {a href="50c" {-€0.50}} + td {a href="1e" {-€1.00}} + td {a href="2e" {-€2.00}} + } + } + } + } + } + + section .cl-section .slant-up { + div { + h2 {-Euro Banknotes} + + table .country-table { + tbody { + tr { + td {a href="5e" {-€5}} + td {a href="10e" {-€10}} + td {a href="20e" {-€20}} + td {a href="50e" {-€50}} + } + tr { + td {a href="100e" {-€100}} + td {a href="200e" {-€200}} + td {a href="500e" {-€500}} + td {a href="tn" {-Test Notes}} + } + } + } + } + } + + section { __include(foot.gsp) } + } + } +} diff --git a/src/euro/index.tnotes.gsp b/src/euro/index.tnotes.gsp new file mode 100644 index 0000000..22aaae3 --- /dev/null +++ b/src/euro/index.tnotes.gsp @@ -0,0 +1,59 @@ +__hijack(euro/tn) + +html lang="en" { + head { + __include(head.gsp) + title {-Euro Test Banknotes} + } + + body { + nav { + __include(nav.gsp) + __include(euro/nav.dnotes.gsp) + } + + main { + section { + header { + h1 {-Euro Test Banknotes} + } + } + + br{}br{} + + section { __include(table-key.gsp) } + + br{}br{} + + section .blurb { + p {- + The following ‘test banknotes’ were banknotes from the Europa series + printed to test their usage in ATMs and such. The ‘*’ character in + the below serial numbers represents an arbitrary number/letter. + } + } + + br{} + + section .cl-section .slant-down { + div { + table #test-banknote-table .coin-table cellspacing="0" { + thead { + tr { + th colspan="7" {-Test Banknotes} + } + tr { + th colspan="1" {-Denomination} + th colspan="6" {-Serial Number / Printer Code / Signature} + } + } + + tbody { __esyscmd(gen-tnotes) } + } + } + } + + section { __include(foot.gsp) } + } + } +} diff --git a/src/euro/nav.ccoins.gsp b/src/euro/nav.ccoins.gsp new file mode 100644 index 0000000..376f9e2 --- /dev/null +++ b/src/euro/nav.ccoins.gsp @@ -0,0 +1,26 @@ +ul { + li {__link([/euro/ad], [AD])} + li {__link([/euro/at], [AT])} + li {__link([/euro/be], [BE])} + li {__link([/euro/cy], [CY])} + li {__link([/euro/de], [DE])} + li {__link([/euro/ee], [EE])} + li {__link([/euro/es], [ES])} + li {__link([/euro/fi], [FI])} + li {__link([/euro/fr], [FR])} + li {__link([/euro/gr], [GR])} + li {__link([/euro/hr], [HR])} + li {__link([/euro/ie], [IE])} + li {__link([/euro/it], [IT])} + li {__link([/euro/lt], [LT])} + li {__link([/euro/lu], [LU])} + li {__link([/euro/lv], [LV])} + li {__link([/euro/mc], [MC])} + li {__link([/euro/mt], [MT])} + li {__link([/euro/nl], [NL])} + li {__link([/euro/pt], [PT])} + li {__link([/euro/si], [SI])} + li {__link([/euro/sk], [SK])} + li {__link([/euro/sm], [SM])} + li {__link([/euro/va], [VA])} +} diff --git a/src/euro/nav.dcoins.gsp b/src/euro/nav.dcoins.gsp new file mode 100644 index 0000000..05cf036 --- /dev/null +++ b/src/euro/nav.dcoins.gsp @@ -0,0 +1,10 @@ +ul { + li {__link([/euro/1c], [€0.01])} + li {__link([/euro/2c], [€0.02])} + li {__link([/euro/5c], [€0.05])} + li {__link([/euro/10c], [€0.10])} + li {__link([/euro/20c], [€0.20])} + li {__link([/euro/50c], [€0.50])} + li {__link([/euro/1e], [€1.00])} + li {__link([/euro/2e], [€2.00])} +} diff --git a/src/euro/nav.dnotes.gsp b/src/euro/nav.dnotes.gsp new file mode 100644 index 0000000..6782f3c --- /dev/null +++ b/src/euro/nav.dnotes.gsp @@ -0,0 +1,10 @@ +ul { + li {__link([/euro/5e], [€5])} + li {__link([/euro/10e], [€10])} + li {__link([/euro/20e], [€20])} + li {__link([/euro/50e], [€50])} + li {__link([/euro/100e], [€100])} + li {__link([/euro/200e], [€200])} + li {__link([/euro/500e], [€500])} + li {__link([/euro/tn], [Test Notes])} +} -- cgit v1.2.3