From 15f841ab43fd9b431e93d2e870c23ae7695929cc Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 3 Nov 2025 13:52:36 +0100 Subject: Fix a lot of UI issues --- src/templates/about.html.tmpl | 6 +- src/templates/banknotes-codes.html.tmpl | 6 +- src/templates/coins-designs-ad.html.tmpl | 6 +- src/templates/coins-designs-at.html.tmpl | 6 +- src/templates/coins-designs-be.html.tmpl | 6 +- src/templates/coins-designs-de.html.tmpl | 12 +-- src/templates/coins-designs-ee.html.tmpl | 126 +++++++++++----------- src/templates/coins-designs-hr.html.tmpl | 10 +- src/templates/coins-designs-nl.html.tmpl | 6 +- src/templates/coins-mintages.html.tmpl | 8 +- src/templates/collecting-crh.html.tmpl | 6 +- src/templates/collecting-storage.html.tmpl | 166 +++++++++-------------------- src/templates/collecting-vending.html.tmpl | 152 ++++++-------------------- 13 files changed, 184 insertions(+), 332 deletions(-) (limited to 'src') diff --git a/src/templates/about.html.tmpl b/src/templates/about.html.tmpl index 1ef6339..0eea730 100644 --- a/src/templates/about.html.tmpl +++ b/src/templates/about.html.tmpl @@ -3,11 +3,11 @@ {{ end }} {{ define "content" }} -
+
{{ template "navbar" . }}

{{ .Get "About Us" }}

-
+

{{ .Get "Open Source" }}

{{ .Get "This website is an open project, and a collaboration between developers, translators, and researchers. All source code, data, images, and more for the website are open source and can be found {LinkGit:L}here{-:E}. This site is licensed under the {LinkBSD:L}BSD Zero Clause License{-:E} giving you the full freedom to do whatever you would like with any of the content on this site." @@ -20,4 +20,4 @@ (map "Email" "mail@euro-cash.eu") }}

-{{ end }} \ No newline at end of file +{{ end }} diff --git a/src/templates/banknotes-codes.html.tmpl b/src/templates/banknotes-codes.html.tmpl index 8c2adcf..6586a14 100644 --- a/src/templates/banknotes-codes.html.tmpl +++ b/src/templates/banknotes-codes.html.tmpl @@ -44,7 +44,7 @@

{{ .Get "Printer Codes" }}

- {{ .Get "The printer code (not to be confused with the serial number) is a small code printed on banknotes with information about where the banknote was printed. All printer codes have the form ‘X000X0’ — or in other words — a letter followed by 3 numbers, a letter and a final number." }} + {{ .Get "The printer code (not to be confused with the serial number) is a small code printed on banknotes with information about where the banknote was printed. All printer codes have the form ‘X000X0’ – or in other words – a letter followed by 3 numbers, a letter and a final number." }}

{{ .Get "The printer code can be a bit tricky to find. The following dropdown menus will show you where to find the printer code on each note." }} @@ -82,7 +82,7 @@

- {{ .Get "The first letter in the printer code identifies the specific printer at which the banknote was printed. The tables below will tell you which letters correspond to which printers. The final letter and number form a pair (such as ‘A2’ or ‘D6’) — this pair acts as a set of coordinates telling you where on the sheet of paper the banknote was located. During printing, banknotes are printed in a grid on a large sheet of paper which is then cut into individual banknotes. A note with the pair ‘A1’ will have been at the upper-left corner of the printing sheet, with ‘A2’ to its right and ‘B1’ below it." }} + {{ .Get "The first letter in the printer code identifies the specific printer at which the banknote was printed. The tables below will tell you which letters correspond to which printers. The final letter and number form a pair (such as ‘A2’ or ‘D6’) – this pair acts as a set of coordinates telling you where on the sheet of paper the banknote was located. During printing, banknotes are printed in a grid on a large sheet of paper which is then cut into individual banknotes. A note with the pair ‘A1’ will have been at the upper-left corner of the printing sheet, with ‘A2’ to its right and ‘B1’ below it." }}

{{ .Get "2002 Series" }}

@@ -517,4 +517,4 @@ > -{{ end }} \ No newline at end of file +{{ end }} diff --git a/src/templates/coins-designs-ad.html.tmpl b/src/templates/coins-designs-ad.html.tmpl index cc68a91..a38ebbf 100644 --- a/src/templates/coins-designs-ad.html.tmpl +++ b/src/templates/coins-designs-ad.html.tmpl @@ -3,11 +3,11 @@ {{ end }} {{ define "content" }} -
+
{{ template "navbar" . }}

{{ .Get "Andorran Euro Coin Designs" }}

-
+
{{ .Get `Andorran €0.01 coin` }} {{ .Get `Andorran €0.50 coin` }} @@ -57,4 +57,4 @@ (map "Link" (.Printer.Wikipedia "Coat of arms of Andorra")) }}

-{{ end }} \ No newline at end of file +{{ end }} diff --git a/src/templates/coins-designs-at.html.tmpl b/src/templates/coins-designs-at.html.tmpl index da9cd67..07c199a 100644 --- a/src/templates/coins-designs-at.html.tmpl +++ b/src/templates/coins-designs-at.html.tmpl @@ -3,11 +3,11 @@ {{ end }} {{ define "content" }} -
+
{{ template "navbar" . }}

{{ .Get "Austrian Euro Coin Designs" }}

-
+

{{ .Get "The Austrian euro coins can be grouped into three different themes. The bronze coins feature Austrian flowers, the gold coins feature Austrian architecture and the bimetalic coins feature famous Austrian people. All coins also feature an Austrian flag as well as the coins denomination. These coins together with the {Link:l}Greek euro coins{-:E} are the only coins that feature the denomination on both the common and national sides of the coin." (map "Link" "gr") }} @@ -37,4 +37,4 @@ {{ .Get "The two bimetallic coins feature the busts of the musical composer Wolfgang Amadeus Mozart on the €1 coin, and the Austrian pacifist and Nobel Peace Prize winner Bertha von Suttner on the €2 coin." }}

-{{ end }} \ No newline at end of file +{{ end }} diff --git a/src/templates/coins-designs-be.html.tmpl b/src/templates/coins-designs-be.html.tmpl index 85746e6..babb76b 100644 --- a/src/templates/coins-designs-be.html.tmpl +++ b/src/templates/coins-designs-be.html.tmpl @@ -16,11 +16,11 @@ {{ end }} {{ define "content" }} -
+
{{ template "navbar" . }}

{{ .Get "Belgian Euro Coin Designs" }}

-
+
{{ .Get `Belgian €1 coin (King Albert; Series 1)` }}
-{{ end }} \ No newline at end of file +{{ end }} diff --git a/src/templates/coins-designs-de.html.tmpl b/src/templates/coins-designs-de.html.tmpl index 702b5fc..b2f8132 100644 --- a/src/templates/coins-designs-de.html.tmpl +++ b/src/templates/coins-designs-de.html.tmpl @@ -3,11 +3,11 @@ {{ end }} {{ define "content" }} -
+
{{ template "navbar" . }}

{{ .Get "German Euro Coin Designs" }}

-
+
{{ $deargs := (map "GermanStart" `` "GermanEnd" "em,span") }}
@@ -22,8 +22,8 @@ - - + + @@ -57,7 +57,7 @@ {{ .Get "The 10c, 20c and 50c coins feature the Brandenburg Gate, a symbol of Berlin and of Germany as a whole, but also a symbol of German division and unity. The mint mark is located below the year." }}

- {{ .Get "The €1 and €2 coins feature an interpretation of the German Federal Eagle (German: ‘{GermanStart:r}Bundesadler{GermanEnd:E}’). The eagle is a common motif in German heraldry — including in the {Link:L}German coat of arms{-:E} — and represents strength and freedom. The mint mark is located to the right of the year." + {{ .Get "The €1 and €2 coins feature an interpretation of the German Federal Eagle (German: ‘{GermanStart:r}Bundesadler{GermanEnd:E}’). The eagle is a common motif in German heraldry – including in the {Link:L}German coat of arms{-:E} – and represents strength and freedom. The mint mark is located to the right of the year." (map "Link" (.Printer.Wikipedia "Coat of arms of Germany")) $deargs }}

@@ -65,4 +65,4 @@ {{ .Get "The €2 coin also features an edge-inscription of Germany’s national motto and incipit of Germany’s national anthem. It reads ‘{GermanStart:r}EINIGKEIT UND RECHT UND FREIHEIT{GermanEnd:E}’ (English: ‘UNITY AND JUSTICE AND FREEDOM’)." $deargs }}

-{{ end }} \ No newline at end of file +{{ end }} diff --git a/src/templates/coins-designs-ee.html.tmpl b/src/templates/coins-designs-ee.html.tmpl index ee648db..9f0e822 100644 --- a/src/templates/coins-designs-ee.html.tmpl +++ b/src/templates/coins-designs-ee.html.tmpl @@ -50,11 +50,11 @@ {{ end }} {{ define "content" }} -
+
{{ template "navbar" . }}

{{ .Get "Estonian Euro Coin Designs" }}

-
+
{{ .Get `Estonian €1 coin` }}
- + - - - + + + {{ $args := map "Break" "
" }} - {{ $tag := printf `td data-label="%s"` (.Get "Name") }} - {{ $attr := printf `data-label="%s"` (.Get "Translation") }} + {{ $tag := printf `td data-label="%s"` (.GetC "Name" "Header/Label") }} + {{ $attr := printf `data-label="%s"` (.GetC "Translation" "Header/Label") }} - + {{/* TRANSLATORS: Name of a coin design. Don’t translate unless you use a non-latin script */}} - {{ withTranslation $tag "et" "Hara 2" - (.Get "Hara 2") $attr }} - - - + {{ withTranslation $tag "et" "Hara 2" + (.GetC "Hara 2" "Coin Design") $attr }} + + + - + {{ withTranslation $tag "et" "Järjepidevus" - (.Get "Consistency") $attr }} - - - + (.GetC "Consistency" "Coin Design") $attr }} + + + - + {{ withTranslation $tag "la" "In corpore" - (.Get "In the Body") $attr }} - - - + (.GetC "In the Body" "Coin Design") $attr }} + + + - + {{/* TRANSLATORS: Name of a coin design. Don’t translate unless you use a non-latin script */}} {{ withTranslation $tag "et" "Tomson 5791" - (.Get "Tomson 5791") $attr }} - - - + (.GetC "Tomson 5791" "Coin Design") $attr }} + + + - - {{/* TRANSLATORS: Estonian Translators: ‘Estonian’ as in the language, not the nationality */}} + + {{/* TRANSLATORS: ‘Estonian’ as in the language, not the nationality */}} {{ withTranslation $tag "et" "Eesti keel" (.GetC "Estonian" "Coin Design") $attr }} - - - + + + - - - - - + + + + + - + {{ withTranslation $tag "et" "Linnutee" - (.Get "Bird Road") $attr }} - - - + (.GetC "Bird Road" "Coin Design") $attr }} + + + - + {{ withTranslation $tag "et" "Leopardid-2" - (.Get "Leopards-2") $attr }} - - - + (.GetC "Leopards-2" "Coin Design") $attr }} + + + - + {{/* TRANSLATORS: Name of a coin design. Don’t translate unless you use a non-latin script */}} {{ withTranslation $tag "et" "Nova" - (.Get "Nova") $attr }} - - - + (.GetC "Nova" "Coin Design") $attr }} + + + - + {{ withTranslation $tag "et" "Lill rukkis" - (.Get "A Flower in the Rye") $attr }} - - - + (.GetC "A Flower in the Rye" "Coin Design") $attr }} + + + - +
{{ .Get "City" }}{{ .Get "Mintmark" }}{{ .GetC "City" "Header/Label" }}{{ .GetC "Mintmark" "Header/Label" }}
{{ .Get "Position" }}{{ .GetC "Position" "Header/Label" }} - {{ .Get "Name" }}
- {{ .Get "Translation" }} + {{ .GetC "Name" "Header/Label" }}
+ {{ .GetC "Translation" "Header/Label" }}
{{ .Get "Author(s)" }}{{ .Get "Votes" }}{{ .Get "Votes (%)" }}{{ .GetC "Author(s)" "Header/Label" }}{{ .GetC "Votes" "Header/Label" }}{{ .GetC "Votes (%)" "Header/Label" }}
11{{ .Get "Lembit Lõhmus" }}{{ .Printer.Itoa 12482 }}{{ .Printer.Ftop 27.46 }}{{ .Get "Lembit Lõhmus" }}{{ .Printer.Itoa 12482 }}{{ .Printer.Ftop 27.46 }}
22{{ .Get "Tiit Jürna" }}{{ .Printer.Itoa 7477 }}{{ .Printer.Ftop 16.45 }}{{ .Get "Tiit Jürna" }}{{ .Printer.Itoa 7477 }}{{ .Printer.Ftop 16.45 }}
33{{ .Get "Jaan Meristo" }}{{ .Printer.Itoa 7284 }}{{ .Printer.Ftop 16.03 }}{{ .Get "Jaan Meristo" }}{{ .Printer.Itoa 7284 }}{{ .Printer.Ftop 16.03 }}
44{{ .Get "Taavi Torim" }}{{ .Printer.Itoa 6219 }}{{ .Printer.Ftop 13.68 }}{{ .Get "Taavi Torim" }}{{ .Printer.Itoa 6219 }}{{ .Printer.Ftop 13.68 }}
55{{ .Get "Jaak Peep, Villem Valme" }}{{ .Printer.Itoa 5997 }}{{ .Printer.Ftop 13.19 }}{{ .Get "Jaak Peep, Villem Valme" }}{{ .Printer.Itoa 5997 }}{{ .Printer.Ftop 13.19 }}
6261948{{ .Get "Mai Järmut, Villu Järmut" }}{{ .Printer.Itoa 3036 }}{{ .Printer.Ftop 6.68 }}6261948{{ .Get "Mai Järmut, Villu Järmut" }}{{ .Printer.Itoa 3036 }}{{ .Printer.Ftop 6.68 }}
77{{ .Get "Tiit Jürna" }}{{ .Printer.Itoa 1323 }}{{ .Printer.Ftop 2.91 }}{{ .Get "Tiit Jürna" }}{{ .Printer.Itoa 1323 }}{{ .Printer.Ftop 2.91 }}
88{{ .Get "Jaarno Ester" }}{{ .Printer.Itoa 759 }}{{ .Printer.Ftop 1.67 }}{{ .Get "Jaarno Ester" }}{{ .Printer.Itoa 759 }}{{ .Printer.Ftop 1.67 }}
99{{ .Get "Rene Haljasmäe" }}{{ .Printer.Itoa 498 }}{{ .Printer.Ftop 1.1 }}{{ .Get "Rene Haljasmäe" }}{{ .Printer.Itoa 498 }}{{ .Printer.Ftop 1.1 }}
1010{{ .Get "Margus Kadarik" }}{{ .Printer.Itoa 378 }}{{ .Printer.Ftop 0.83 }}{{ .Get "Margus Kadarik" }}{{ .Printer.Itoa 378 }}{{ .Printer.Ftop 0.83 }}
{{ .Get "Total" }}{{ .GetC "Total" "Header/Label" }} {{ .Printer.Itoa 45453 }} {{ .Printer.Ftop 100.0 }}
-{{ end }} \ No newline at end of file +{{ end }} diff --git a/src/templates/coins-designs-hr.html.tmpl b/src/templates/coins-designs-hr.html.tmpl index 4175198..f6b0e6a 100644 --- a/src/templates/coins-designs-hr.html.tmpl +++ b/src/templates/coins-designs-hr.html.tmpl @@ -3,11 +3,11 @@ {{ end }} {{ define "content" }} -
+
{{ template "navbar" . }}

{{ .Get "Croatian Euro Coin Designs" }}

-
+
{{ $hrargs := (map "CroatianStart" `` "CroatianEnd" "em,span") }}
{{ .Get `Croatian €0.01 coin` }} @@ -22,7 +22,7 @@ $hrargs }}

- {{ .Get "The 1c, 2c and 5c coins were designed by Maja Škripelj and feature a motif of the letters ‘ⰘⰓ’ from the {Link:L}Glagolitic script{-:E} — an old Slavic script that saw use in Croatia up until the 19th century — representing Croatia’s country code (‘HR’ in the Latin alphabet)." + {{ .Get "The 1c, 2c and 5c coins were designed by Maja Škripelj and feature a motif of the letters ‘ⰘⰓ’ from the {Link:L}Glagolitic script{-:E} – an old Slavic script that saw use in Croatia up until the 19th century – representing Croatia’s country code (‘HR’ in the Latin alphabet)." (map "Link" (.Printer.Wikipedia "Glagolitic script")) }}

@@ -30,7 +30,7 @@ (map "Link" (.Printer.Wikipedia "Nikola Tesla")) }}

- {{ .Get "The €1 coin was designed by Jagor Šunde, David Čemeljić and Fran Zekan and features a marten. The marten is the semi-official national animal of Croatia and the Kuna — their pre-Euro currency — was named after the marten (‘{CroatianStart:r}kuna zlatica{CroatianEnd:E}’ in Croatian)." + {{ .Get "The €1 coin was designed by Jagor Šunde, David Čemeljić and Fran Zekan and features a marten. The marten is the semi-official national animal of Croatia and the Kuna – their pre-Euro currency – was named after the marten (‘{CroatianStart:r}kuna zlatica{CroatianEnd:E}’ in Croatian)." $hrargs }}

@@ -39,4 +39,4 @@ $hrargs (map "Link" (.Printer.Wikipedia "Dubravka (drama)")) }}

-{{ end }} \ No newline at end of file +{{ end }} diff --git a/src/templates/coins-designs-nl.html.tmpl b/src/templates/coins-designs-nl.html.tmpl index 18f9efe..0f50b00 100644 --- a/src/templates/coins-designs-nl.html.tmpl +++ b/src/templates/coins-designs-nl.html.tmpl @@ -3,11 +3,11 @@ {{ end }} {{ define "content" }} -
+
{{ template "navbar" . }}

{{ .Get "Dutch Euro Coin Designs" }}

-
+
{{ $nlargs := (map "DutchStart" `` "DutchEnd" "em,span") }}
-{{ end }} \ No newline at end of file +{{ end }} diff --git a/src/templates/coins-mintages.html.tmpl b/src/templates/coins-mintages.html.tmpl index e5fa5f1..5b0a7fd 100644 --- a/src/templates/coins-mintages.html.tmpl +++ b/src/templates/coins-mintages.html.tmpl @@ -94,11 +94,11 @@
{{ template "mintages/coin-type-radio" - (tuple .Type "circ" (.Get "Circulation Coins")) }} + (tuple .Type "circ" (.GetC "Circulation Coins" "Header/Label")) }} {{ template "mintages/coin-type-radio" - (tuple .Type "nifc" (.Get "NIFC / BU Sets")) }} + (tuple .Type "nifc" (.GetC "NIFC and BU Coins" "Header/Label")) }} {{ template "mintages/coin-type-radio" - (tuple .Type "proof" (.Get "Proof Coins")) }} + (tuple .Type "proof" (.GetC "Proof Coins" "Header/Label")) }}
@@ -297,4 +297,4 @@ {{ else }} {{ $p.Itoa $v.V }} {{ end }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/src/templates/collecting-crh.html.tmpl b/src/templates/collecting-crh.html.tmpl index 0fe19a4..b047a49 100644 --- a/src/templates/collecting-crh.html.tmpl +++ b/src/templates/collecting-crh.html.tmpl @@ -27,7 +27,7 @@

- {{ .Get "It is also important to find details regarding the deposit of coins. Depositing coins often also requires the payment of a fee — one which is typically more expensive than the withdrawal fees. If depositing your coins is too expensive you can always exchange your left over coins at shops for banknotes. It is often cheaper (or even free) to deposit banknotes." }} + {{ .Get "It is also important to find details regarding the deposit of coins. Depositing coins often also requires the payment of a fee – one which is typically more expensive than the withdrawal fees. If depositing your coins is too expensive you can always exchange your left over coins at shops for banknotes. It is often cheaper (or even free) to deposit banknotes." }}

@@ -181,7 +181,7 @@ ($p.GetC "Bank of Estonia Museum" "Company Name") (tuple "et" "Eesti Panga muuseum") }}

- {{ $p.Get "You can purchase commemorative coins — including those released years ago — for face value." }} + {{ $p.Get "You can purchase commemorative coins – including those released years ago – for face value." }}

{{ else if eq $c.Code "es" }} @@ -539,4 +539,4 @@ {{ end }}
-{{ end }} \ No newline at end of file +{{ end }} diff --git a/src/templates/collecting-storage.html.tmpl b/src/templates/collecting-storage.html.tmpl index 25150d4..64c29db 100644 --- a/src/templates/collecting-storage.html.tmpl +++ b/src/templates/collecting-storage.html.tmpl @@ -3,158 +3,96 @@ {{ end }} {{ define "content" }} -
+
{{ template "navbar" . }} -

{{ .T "Coin Storage" }}

+

{{ .Get "Coin Storage" }}

-
+

- {{ .T ` - There are many different methods of storing your collecting, - each with their own benefits and drawbacks. This page will - describe the most common methods collectors use to store - their coins, as well as the pros and cons of each method. - ` }} + {{ .Get "There are many different methods of storing your collecting, each with their own benefits and drawbacks. This page will describe the most common methods collectors use to store their coins, as well as the pros and cons of each method." }}

-

{{ .T "Coin Albums" }}

+

{{ .Get "Coin Albums" }}

- {{ .T ` - Coin albums are one of the most popular ways of storing - coins. In a coin album you will have multiple coin sheets. - These sheets are plastic pages with slots that you can put - your coin in to keep them protected. When searching for - sheets for your album it is very important to ensure that - they do not contain any PVC, which will damage your coins. - Some albums will come with sheets already included. - ` }} + {{ .Get "Coin albums are one of the most popular ways of storing coins. In a coin album you have multiple coin sheets. These sheets are plastic pages with slots that you can put your coins in to keep them protected. When searching for sheets for your album it is very important to ensure that they do not contain any PVC which will damage your coins. Some albums will come with sheets already included." }}

- {{ .T ` - Albums can be an affordable way to store your coins, but - higher-end albums can be a bit expensive. Also remember - to always ensure that your albums do not contain any PVC! - ` }} + {{ .Get "Albums can be an affordable way to store your coins, but higher-end albums can be a bit expensive. Also remember to always ensure that your albums do not contain any PVC." }}

-

{{ .T "Coin Boxes" }}

+

{{ .Get "Coin Boxes" }}

- {{ .T ` - Coin boxes are to many people the most aesthetic way to store - your coins. A coin box is comprised of various layers which - can be stacked ontop of each other. Each layer has various - holes where you can insert your coins. Typically you are - meant to store your coins in a layer encased in a coin - capsule. - ` }} + {{ .Get "Coin boxes are to many people the most aesthetic way to store your coins. A coin box is comprised of various layers which can be stacked on top of each other. Each layer has a grid of slots where you can insert your coins. Typically you are meant to store your coins in a layer encased in a coin capsule." }}

- {{ .T ` - Boxes are quite space-inefficient and are one of the most - expensive ways to store your coins, but at the same time they - offer a great visual appeal. - ` }} + {{ .Get "Boxes are quite space-inefficient and are one of the most expensive ways to store your coins, but at the same time they offer a great visual appeal." }}

-

{{ .T "Coin Capsules" }}

+

{{ .Get "Coin Capsules" }}

- {{ .T ` - Coin capsules are plastic capsules you can put your coin in. - They offer good protection to your coins, while still - allowing you to view all parts of your coin easily, including - the edge engravings and inscriptions. Capsules are also far - more durable than flips, and can be opened and closed - repeatedly allowing for them to be reused. This isn’t really - possible with flips. - ` }} + {{ .Get "Coin capsules are plastic capsules you can put your coin in. They offer good protection to your coins, while still allowing you to view all parts of your coin easily, including the edge engravings and inscriptions. Capsules are also far more durable than flips, and can be opened and closed repeatedly allowing for reuse, something not typically possible with coin flips." }}

- {{ .T ` - Capsules can be a bit pricey, but are reusable and are very - durable. They also come in different sizes, so make sure you - get the right size for your coins. - ` }} + {{ .Get "Capsules can be a bit pricey, but are reusable and are very durable. They also come in different sizes, so make sure you get the right size for your coins." }}

-

{{ .T "Coin Flips" }}

+

{{ .Get "Coin Flips" }}

- {{ .T ` - Coin flips, also known as ‘2x2’ flips by some Americans are - small cardboard flips with a plastic covered hole in the - middle for viewing. Most coin flips are stapled, meaning you - put your coin in the flip and staple it shut. These kinds of - flips are very cheap, and you can buy stacks of a few hundred - for only a few euros. If you don’t like the staples though, - you can also buy adhesive-flips that glue themselves shut. - These flips are more expensive, but also look better than - their stapled equivalents. - ` }} + {{ .Get "Coin flips, also known as ‘2×2’ flips by some Americans are small cardboard flips with a plastic covered hole in the middle for viewing. Most coin flips are stapled, meaning you put your coin in the flip and staple it shut. These kinds of flips are very cheap, and you can buy stacks of a few hundred for only a few euros. If you don’t like the staples though, you can also buy adhesive-flips that glue themselves shut. These flips are more expensive, but also look better than their stapled equivalents." }}

- {{ .T ` - Coin slips are also pretty space efficient, and can be easily - stacked in boxes for compact storage. Many collectors also - like to write notes about their coins on the flips. There - also exist special sheets for coin albums that allow you to - put in flipped coins, but this is more expensive and less - space-efficient than simply using flips or an album without - flips. - ` }} + {{ .Get "Coin slips are also pretty space efficient, and can be easily stacked in boxes for compact storage. Many collectors also like to write notes about their coins on the flips. There also exist special sheets for coin albums that allow you to put in flipped coins, but this is more expensive and less space-efficient than simply using flips or an album without flips." }}

-

{{ .T "Coin Rolls" }}

+

{{ .Get "Coin Rolls" }}

- {{ .T ` - This is probably the most inexpensive way to store your - coins. If you take good care of the paper when opening your - coin rolls, you can simply reuse them for storage. Just roll - your coins back up and put some rubber bands on the ends. - You can also get reusable plastic rolls that can be opened - and closed. You will need different rolls based on the - denomination you want to store, but they are very - space-efficient. - ` }} + {{ .Get "This is probably the most inexpensive way to store your coins. If you take good care of the paper when opening coin rolls, you can simply reuse them for storage. Just roll your coins back up and put some rubber bands on the ends. You can also get reusable plastic rolls that can be opened and closed. You will need different rolls based on the denomination you want to store, but they are very space-efficient." }}

-

{{ .T "Examples" }}

+

{{ .Get "Examples" }}

- {{ .T ` - In case you’re looking for some inspiration on how to store - your collections, here are some examples. - ` }} + {{ .Get "In case you’re looking for some inspiration on how to store your collections, here are some examples:" }}

- - {{ template "example-image" - (tuple (.T "Flips in a case") - "/storage/flips-in-case.jpg") }} - {{ template "example-image" - (tuple (.T "Capsules in a case") - "/storage/random-in-box.avif") }} - - {{ template "example-image" - (tuple (.T "Coins in an album") - "/storage/coins-in-album-labeled.avif") }} - {{ template "example-image" - (tuple (.T "Coins in an album with labels") - "/storage/coins-in-album-labeled.avif") }} - {{ template "example-image" - (tuple (.T "Coins in a reusable roll") - "/storage/coins-in-roll.avif") }} - {{ template "example-image" - (tuple (.T "Flips in an album") - "/storage/flips-in-album.avif" )}} +
+ + {{ template "example-image" + (tuple (.Get "Flips in a case") + "/storage/flips-in-case.jpg") }} +
+ {{ template "example-image" + (tuple (.Get "Capsules in a case") + "/storage/random-in-box.avif") }} +
+ + {{ template "example-image" + (tuple (.Get "Coins in an album") + "/storage/coins-in-album-labeled.avif") }} +
+ {{ template "example-image" + (tuple (.Get "Coins in an album with labels") + "/storage/coins-in-album-labeled.avif") }} +
+ {{ template "example-image" + (tuple (.Get "Coins in a reusable roll") + "/storage/coins-in-roll.avif") }} +
+ {{ template "example-image" + (tuple (.Get "Flips in an album") + "/storage/flips-in-album.avif" )}} +
{{ end }} {{ define "example-image" }} -
+
{{ index . 0 }}
-{{ end }} \ No newline at end of file +{{ end }} diff --git a/src/templates/collecting-vending.html.tmpl b/src/templates/collecting-vending.html.tmpl index fa5a72c..6490d8f 100644 --- a/src/templates/collecting-vending.html.tmpl +++ b/src/templates/collecting-vending.html.tmpl @@ -3,165 +3,79 @@ {{ end }} {{ define "content" }} -
+
{{ template "navbar" . }} -

{{ .T "Euro Coin Collecting" }}

+

{{ .Get "Euro Coin Collecting" }}

-
-

{{ .T "What is Vending Machine Hunting?" }}

+
+

{{ .Get "What is Vending Machine Hunting?" }}

- {{ .T ` - ‘Vending machine hunting’ is a strategy of collecting coins - whereby you continuously insert coins into a vending machine - and cancel the transaction by pressing the return button. - When the vending machine returns your coins to you, you will - often get different coins from the ones you put in, and you - can repeat this process until you’ve searched through every - coin in the machine. - ` }} + {{ .Get "‘Vending machine hunting’ is a strategy of collecting coins whereby you continuously insert coins into a vending machine and cancel the transaction by pressing the return button. When the vending machine returns your coins to you, you will often get different coins from the ones you put in, and you can repeat this process until you’ve searched through every coin in the machine." }}

-

{{ .T "The Test Coins" }}

+

{{ .Get "The Test Coins" }}

- {{ .T ` - First, you want to make sure the vending machine you come - across actually gives back change — sometimes they don’t! - Throw in a 10 cent coin and press the return button. If it - doesn’t give the coin back, you can move on to the next - machine; there’s a high chance it won’t return higher - denominations either. Next throw in a random 2 euro coin and - press the return button. You should do this because vending - machines may not return 2 euro coins, but rather 1 euro- or - 50 cent coins instead. It’s better to find out immediately - as opposed to later once you’ve already put in all of your 2 - euro coins. - ` }} + {{ .Get "First, you want to make sure the vending machine you come across actually gives back change – sometimes they don’t! Throw in a 10c coin and press the return button. If it doesn’t give the coin back, you can move on to the next machine; there’s a high chance it won’t return higher denominations either. Next throw in a random €2 coin and press the return button. You should do this because vending machines may not return €2 coins, but rather €1 or 50c coins instead. It’s better to find out immediately as opposed to later once you’ve already put in all of your €2 coins." }}

-

{{ .T "The Stopper" }}

+

{{ .Get "The Stopper" }}

- {{ .T ` - We want to be able to know when we’ve gone through all the - coins in the vending machine. To do this, take out a coin - and mark it with something (drawing on it with a Sharpie - works well), then put it into the machine. Next time you get - the same coin back, you know you’ve gone through everything. - ` }} + {{ .Get "We want to be able to know when we’ve gone through all the coins in the vending machine. To do this, take out a coin and mark it with something (drawing on it with a Sharpie works well), then put it into the machine. Next time you get the same coin back, you know you’ve gone through everything." }}

-

{{ .T "Rejected Stoppers and Coins" }}

+

{{ .Get "Rejected Stoppers and Coins" }}

- {{ .T ` - Sometimes you may throw a stopper in, but you hear a ‘clunk’ - sound, as if the coin was dropped into a box (normally adding - a coin should be silent after you throw it in). This means - the coin was not added to the stack properly, and so it will - not be returned. Pay attention to this noise, because you - won’t be getting the stopper back! Throw in another marked - coin instead until the machine accepts the coin. - ` }} + {{ .Get "Sometimes you may throw a stopper in, but you hear a ‘clunk’ sound, as if the coin was dropped into a box (normally adding a coin should be silent after you throw it in). This means the coin was not added to the stack properly, and so it will not be returned. Pay attention to this noise, because you won’t be getting the stopper back. Throw in another marked coin instead until the machine accepts the coin." }}

-

{{ .T "(Non-)Merging Machines" }}

+

{{ .Get "(Non-)Merging Machines" }}

- {{ .T ` - We generally identify between two main types of vending - machines. - ` }} + {{ .Get "We generally identify between two main types of vending machines." }}

-
{{ .T "Merging" }}
+
{{ .Get "Merging" }}
- {{ .T ` - The vending machine merges change together. For example - if you throw in five 50 cent coins, the machine returns - either two 1 euro coins and one 50 cent coin or one 2 - euro and one 50 cent coin. This usually means you can - hunt 2 euro coins very quickly but other denominations - only once at a time. A good tip is to throw in an odd - number of euros and 80 cents if you want to search - through all denominations. - ` }} + {{ .Get "The vending machine merges change together. For example if you throw in five 50c coins, the machine returns either two €1 coins and one 50c coin or one €2 and one 50c coin. This usually means you can hunt €2 coins very quickly but other denominations only once at a time. A good tip is to throw in an odd number of euros and €0.80 if you want to search through all denominations." }}
-
{{ .T "Non-Merging" }}
+
{{ .Get "Non-Merging" }}
- {{ .T ` - The vending machine does not merge change together. This - means if you throw in five 50 cent coins it will return - five 50 cent coins. This makes it very easy to hunt a - large amount of a specific denomination. - ` }} + {{ .Get "The vending machine does not merge change together. This means if you throw in five 50c coins it will return five 50c coins. This makes it very easy to hunt a large amount of a specific denomination." }}
-

{{ .T "Limits" }}

+

{{ .Get "Limits" }}

- {{ .T ` - There are some limits to vending machine hunts which you need - to be aware of. - ` }} + {{ .Get "There are some limits to vending machine hunts which you need to be aware of." }}

-
{{ .T "Maximum Input Limit" }}
+
{{ .Get "Maximum Input Limit" }}
- {{ .T ` - Some machines have a maximum amount you can throw in, and - will reject anything higher. For example machines with a - max limit of five euros will reject any additional coins - if you throw in five euros. You can try to go above the - limit if you throw in, say, %s and then another one- or - two euro coin; the machine will probably accept it. - ` (.Printer.M 4.80) }} + {{ .Get "Some machines have a maximum amount you can throw in, and will reject anything higher. For example machines with a maximum limit of €5 will reject any additional coins if you throw in €5. You can try to go above the limit if you throw in €4.80 and then another €1 or €2 coin; the machine might accept it." }}
-
{{ .T "Maximum Change Limit" }}
+
{{ .Get "Maximum Change Limit" }}

- {{ .T ` - Some machines will either give back large amounts of - change in bills or will not give back large amounts - of change at all (usually cigarette machines). Read - the labels on all machines carefully since these - limits are usually written there. - ` }} + {{ .Get "Some machines will either give back large amounts of change in bills or will not give back large amounts of change at all (usually cigarette machines). Read the labels on all machines carefully since these limits are usually written there." }}

- {{ .T ` - Even if no limits are listed, it’s still advised that - you exercise caution: it is not uncommon for a - vending machine to steal your money. In the case - that a vending machine does steal your money, look - for a label on the machine that contains a support - number. - ` }} + {{ .Get "Even if no limits are listed, it’s still advised that you exercise caution: it is not uncommon for a vending machine to steal your money. In the case that a vending machine does steal your money, look for a label on the machine that contains a support number." }}

- {{ .T ` - For information on Austrian cigarette machines, see - the ‘%sCigarette Machines%s’ section. - ` `` `` | safe }} + {{ .Get "For information on Austrian cigarette machines, see the ‘{LinkStart:r}Cigarette Machines{LinkEnd:E}’ section." + (map "LinkStart" `` + "LinkEnd" "a") }}

-

{{ .T "Cigarette Machines" }}

+

{{ .Get "Cigarette Machines" }}

- {{ .T ` - In some countries where cigarette machines are legal, you can - hunt through them as well. Unless you’re in Malta, you must - verify your age on them by either sliding an ID card through - a sensor or holding a debit card on an RFID scanner; you must - do this for every cycle. Sometimes you must also select - something to purchase, throw in less money than the cost, and - then cancel the purchase. Note that most cigarette machines - in Austria have a %s max change limit. - ` (.Printer.M 4.90) }} + {{ .Get "In some countries where cigarette machines are legal, you can hunt through them as well. Unless you’re in Malta, you must verify your age on them by either sliding an ID card through a sensor or holding a debit card on an RFID scanner; you must do this for every cycle. Sometimes you must also select something to purchase, throw in less money than the cost, and then cancel the purchase. Note that most cigarette machines in Austria have a €4.90 max change limit." }}

+ +

- {{ .T ` - For RFID scanner machines it helps to wear a glove and slide - a debit card into the back of it so you can easily use both - hands and don’t have to fumble with a card and coins. - ` }} + {{ .Get "For RFID scanner machines it helps to wear a glove and slide a debit card into the back of it so you can easily use both hands and don’t have to fumble with a card and coins." }}

-{{ end }} \ No newline at end of file +{{ end }} -- cgit v1.2.3