diff options
Diffstat (limited to 'src/templates/banknotes-codes.html.tmpl')
| -rw-r--r-- | src/templates/banknotes-codes.html.tmpl | 650 |
1 files changed, 409 insertions, 241 deletions
diff --git a/src/templates/banknotes-codes.html.tmpl b/src/templates/banknotes-codes.html.tmpl index f7aea7f..6586a14 100644 --- a/src/templates/banknotes-codes.html.tmpl +++ b/src/templates/banknotes-codes.html.tmpl @@ -1,352 +1,520 @@ +{{ define "header" }} +{{ template "header-navbar" . }} + +<style> + .design-container { + --euro-cash-design-width: 90%; + } + + table { + white-space: nowrap; + + tr :is(th, td):first-child { + text-align: center; + } + } + + #seperated-tables { + display: none; + } + + @media (min-width: 576px) { + #seperated-tables { + display: flex; + justify-content: space-between; + gap: var(--pico-grid-column-gap); + } + + #joint-table { + display: none; + } + } +</style> +{{ end }} + {{ define "content" }} -<header> +<header class="container"> {{ template "navbar" . }} - <h1>{{ .T "Location Codes" }}</h1> + <h1>{{ .Get "Location Codes" }}</h1> </header> -<main> +<main class="container"> <p> - {{ .T ` - Euro banknotes have two codes on them: a printer code and a serial - number. The printer code tells you where a given note was printed, - while the serial number tells you which country issues the banknote - (for the 2002 series) or where the banknote was printed (for the - Europa series). - ` }} + {{ .Get "Euro banknotes have two codes on them: a printer code and a serial number. The printer code tells you where a given note was printed, while the serial number tells you which country issued the banknote (for the 2002 series) or where the banknote was printed (for the Europa series)." }} </p> - <h2>{{ .T "Printer Code" }}</h2> + <h2>{{ .Get "Printer Codes" }}</h2> <p> - {{ .T ` - 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 take the form of ‘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." }} </p> <p> - {{ .T ` - The printer code can be a bit tricky to find. The following - dropdowns will show you where to find the printer code on each - note. - ` }} + {{ .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." }} </p> - <details> - <summary>{{ .T "2002 Series Printer Codes" }}</summary> - <p> - {{ .T ` - All these images are taken from %seurobilltracker.com%s.` - `<a href="https://eurobilltracker.com" target="_blank">` - `</a>` | safe - }} - </p> - {{ template "banknotes/codes/code-pos" (tuple .Printer 5 "2002") }} - {{ template "banknotes/codes/code-pos" (tuple .Printer 10 "2002") }} - {{ template "banknotes/codes/code-pos" (tuple .Printer 20 "2002") }} - {{ template "banknotes/codes/code-pos" (tuple .Printer 50 "2002") }} - {{ template "banknotes/codes/code-pos" (tuple .Printer 100 "2002") }} - {{ template "banknotes/codes/code-pos" (tuple .Printer 200 "2002") }} - {{ template "banknotes/codes/code-pos" (tuple .Printer 500 "2002") }} - </details> - <details> - <summary>{{ .T "Europa Series Printer Codes" }}</summary> - {{ template "banknotes/codes/code-pos" (tuple .Printer 5 "europa") }} - {{ template "banknotes/codes/code-pos" (tuple .Printer 10 "europa") }} - {{ template "banknotes/codes/code-pos" (tuple .Printer 20 "europa") }} - {{ template "banknotes/codes/code-pos" (tuple .Printer 50 "europa") }} - {{ template "banknotes/codes/code-pos" (tuple .Printer 100 "europa") }} - {{ template "banknotes/codes/code-pos" (tuple .Printer 200 "europa") }} - </details> + + <article> + <details name="printer-codes"> + <summary>{{ .Get "2002 Series Printer Codes" }}</summary><hr> + <p> + {{ .Get "All these images are taken from {Link:L}eurobilltracker.com{-:E}." + (map "Link" "https://eurobilltracker.com") }} + </p> + <article> + {{ template "banknotes/codes/code-pos" (tuple .Printer 5 "2002") }}<hr> + {{ template "banknotes/codes/code-pos" (tuple .Printer 10 "2002") }}<hr> + {{ template "banknotes/codes/code-pos" (tuple .Printer 20 "2002") }}<hr> + {{ template "banknotes/codes/code-pos" (tuple .Printer 50 "2002") }}<hr> + {{ template "banknotes/codes/code-pos" (tuple .Printer 100 "2002") }}<hr> + {{ template "banknotes/codes/code-pos" (tuple .Printer 200 "2002") }}<hr> + {{ template "banknotes/codes/code-pos" (tuple .Printer 500 "2002") }} + </article> + </details> + <hr> + <details name="printer-codes"> + <summary>{{ .Get "Europa Series Printer Codes" }}</summary><hr> + <article> + {{ template "banknotes/codes/code-pos" (tuple .Printer 5 "europa") }}<hr> + {{ template "banknotes/codes/code-pos" (tuple .Printer 10 "europa") }}<hr> + {{ template "banknotes/codes/code-pos" (tuple .Printer 20 "europa") }}<hr> + {{ template "banknotes/codes/code-pos" (tuple .Printer 50 "europa") }}<hr> + {{ template "banknotes/codes/code-pos" (tuple .Printer 100 "europa") }}<hr> + {{ template "banknotes/codes/code-pos" (tuple .Printer 200 "europa") }} + </article> + </details> + </article> <p> - {{ .T ` - 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 will be - printed multiple times on a large sheet of paper which is later cut - into smaller individual banknotes. A note with the pair ‘A1’ will - have been at the upper-left corner of the printing sheet, with ‘A2’ - to it’s 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." }} </p> - <h2>{{ .T "2002 Series" }}</h2> + <h2>{{ .Get "2002 Series" }}</h2> <p> - {{ .T ` - In the 2002 series, the first letter of the serial number can be - used to identify the country that issued the banknote. The - following table shows which countries map to which codes. - ` }} + {{ .Get "In the 2002 series, the first letter of the serial number can be used to identify the country that issued the banknote. The following table shows which countries map to which codes." }} </p> - <table role="grid"> + <div id="seperated-tables"> + <table class="striped"> + <thead> + <tr> + <th>{{ .GetC "Code" "Header/Label" }}</th> + <th>{{ .GetC "Country" "Header/Label" }}</th> + </tr> + </thead> + <tbody> + <tr> + <td>D</td> + <td>{{ .GetC "Estonia" "Place Name" }}</td> + </tr> + <tr> + <td>E</td> + <td>{{ .GetC "Slovakia" "Place Name" }}</td> + </tr> + <tr> + <td>F</td> + <td>{{ .GetC "Malta" "Place Name" }}</td> + </tr> + <tr> + <td>G</td> + <td>{{ .GetC "Cyprus" "Place Name" }}</td> + </tr> + <tr> + <td>H</td> + <td>{{ .GetC "Slovenia" "Place Name" }}</td> + </tr> + <tr> + <td>L</td> + <td>{{ .GetC "Finland" "Place Name" }}</td> + </tr> + <tr> + <td>M</td> + <td>{{ .GetC "Portugal" "Place Name" }}</td> + </tr> + <tr> + <td>N</td> + <td>{{ .GetC "Austria" "Place Name" }}</td> + </tr> + </tbody> + </table> + + <table class="striped"> + <thead> + <tr> + <th>{{ .GetC "Code" "Header/Label" }}</th> + <th>{{ .GetC "Country" "Header/Label" }}</th> + </tr> + </thead> + <tbody> + <tr> + <td>P</td> + <td>{{ .GetC "Netherlands" "Place Name" }}</td> + </tr> + <tr> + <td>S</td> + <td>{{ .GetC "Italy" "Place Name" }}</td> + </tr> + <tr> + <td>T</td> + <td>{{ .GetC "Ireland" "Place Name" }}</td> + </tr> + <tr> + <td>U</td> + <td>{{ .GetC "France" "Place Name" }}</td> + </tr> + <tr> + <td>V</td> + <td>{{ .GetC "Spain" "Place Name" }}</td> + </tr> + <tr> + <td>X</td> + <td>{{ .GetC "Germany" "Place Name" }}</td> + </tr> + <tr> + <td>Y</td> + <td>{{ .GetC "Greece" "Place Name" }}</td> + </tr> + <tr> + <td>Z</td> + <td>{{ .GetC "Belgium" "Place Name" }}</td> + </tr> + </tbody> + </table> + </div> + + <table id="joint-table" class="striped"> <thead> <tr> - <th>{{ .T "Code" }}</th> - <th>{{ .T "Country" }}</th> + <th>{{ .GetC "Code" "Header/Label" }}</th> + <th>{{ .GetC "Country" "Header/Label" }}</th> </tr> </thead> <tbody> <tr> <td>D</td> - <td>{{ .T "Estonia" }}</td> + <td>{{ .GetC "Estonia" "Place Name" }}</td> </tr> <tr> <td>E</td> - <td>{{ .T "Slovakia" }}</td> + <td>{{ .GetC "Slovakia" "Place Name" }}</td> </tr> <tr> <td>F</td> - <td>{{ .T "Malta" }}</td> + <td>{{ .GetC "Malta" "Place Name" }}</td> </tr> <tr> <td>G</td> - <td>{{ .T "Cyprus" }}</td> + <td>{{ .GetC "Cyprus" "Place Name" }}</td> </tr> <tr> <td>H</td> - <td>{{ .T "Slovenia" }}</td> + <td>{{ .GetC "Slovenia" "Place Name" }}</td> </tr> <tr> <td>L</td> - <td>{{ .T "Finland" }}</td> + <td>{{ .GetC "Finland" "Place Name" }}</td> </tr> <tr> <td>M</td> - <td>{{ .T "Portugal" }}</td> + <td>{{ .GetC "Portugal" "Place Name" }}</td> </tr> <tr> <td>N</td> - <td>{{ .T "Austria" }}</td> + <td>{{ .GetC "Austria" "Place Name" }}</td> </tr> <tr> <td>P</td> - <td>{{ .T "Netherlands" }}</td> + <td>{{ .GetC "Netherlands" "Place Name" }}</td> </tr> <tr> <td>S</td> - <td>{{ .T "Italy" }}</td> + <td>{{ .GetC "Italy" "Place Name" }}</td> </tr> <tr> <td>T</td> - <td>{{ .T "Ireland" }}</td> + <td>{{ .GetC "Ireland" "Place Name" }}</td> </tr> <tr> <td>U</td> - <td>{{ .T "France" }}</td> + <td>{{ .GetC "France" "Place Name" }}</td> </tr> <tr> <td>V</td> - <td>{{ .T "Spain" }}</td> + <td>{{ .GetC "Spain" "Place Name" }}</td> </tr> <tr> <td>X</td> - <td>{{ .T "Germany" }}</td> + <td>{{ .GetC "Germany" "Place Name" }}</td> </tr> <tr> <td>Y</td> - <td>{{ .T "Greece" }}</td> + <td>{{ .GetC "Greece" "Place Name" }}</td> </tr> <tr> <td>Z</td> - <td>{{ .T "Belgium" }}</td> + <td>{{ .GetC "Belgium" "Place Name" }}</td> </tr> </tbody> </table> <p> - {{ .T ` - The first letter of the printer code can also be used to identify - the specific printer at which the banknote was printed. The - printer- and country codes do not need to line up; a banknote - issued by a country will often be printed in another. - ` }} + {{ .Get "The first letter of the printer code can be used to identify the specific printer at which the banknote was printed. The printer and country codes do not need to line up; a banknote issued by a country will often be printed in another." }} </p> - <table role="grid"> - <thead> - <tr> - <th>{{ .T "Code" }}</th> - <th>{{ .T "Country" }}</th> - <th>{{ .T "Printer" }}</th> - </tr> - </thead> - <tbody> - <tr> - <td>D</td> - <td>{{ .T "Finland" }}</td> - <td>SETEC</td> - </tr> + <div class="overflow-auto"> + <table class="striped"> + <thead> + <tr> + <th>{{ .GetC "Code" "Header/Label" }}</th> + <th>{{ .GetC "Country" "Header/Label" }}</th> + <th> + {{ .GetC "Printer" "Header/Label" }}<br> + <span class="translation"> + {{ .GetC "Local Names" "Header/Label" }} + </span> + </th> + </tr> + </thead> + <tbody> + <tr> + <td>D</td> + <td>{{ .GetC "Finland" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "SETEC" "Company Name" | toString) + (tuple "" "SETEC") }} + </tr> + <tr> + <td>E</td> + <td>{{ .GetC "France" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Oberthur" "Company Name" | toString) + (tuple "" "Oberthur") }} + </tr> + <tr> + <td>F</td> + <td>{{ .GetC "Austria" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Austrian Banknote and Security Printing" "Company Name" | toString) + (tuple "de" "Oesterreichische Banknoten- und Sicherheitsdruck") }} + </tr> + <tr> + <td>G</td> + <td>{{ .GetC "Netherlands" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Royal Joh. Enschedé" "Company Name" | toString) + (tuple "nl" "Koninklijke Joh. Enschedé") }} + </tr> + <tr> + <td>H</td> + <td>{{ .GetC "United Kingdom" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "De La Rue" "Company Name" | toString) + (tuple "" "De La Rue") }} + </tr> + <tr> + <td>J</td> + <td>{{ .GetC "Italy" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Bank of Italy" "Company Name" | toString) + (tuple "it" "Banca d’Italia") }} + </tr> + <tr> + <td>K</td> + <td>{{ .GetC "Ireland" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Central Bank of Ireland" "Company Name" | toString) + (tuple "ga" "Banc Ceannais na hÉireann") + (tuple "en" "Central Bank of Ireland") }} + </tr> + <tr> + <td>L</td> + <td>{{ .GetC "France" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Bank of France" "Company Name" | toString) + (tuple "fr" "Banque du France") }} + </tr> + <tr> + <td>M</td> + <td>{{ .GetC "Spain" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Royal Mint of Spain" "Company Name" | toString) + (tuple "es" "Fábrica Nacional de Moneda y Timbre") }} + </tr> + <tr> + <td>N</td> + <td>{{ .GetC "Greece" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Bank of Greece" "Company Name" | toString) + (tuple "gr" "Τράπεζα της Ελλάδος") }} + </tr> + <tr> + <td>P</td> + <td>{{ .GetC "Germany" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Giesecke+Devrient" "Company Name" | toString) + (tuple "de" "Giesecke+Devrient") }} + </tr> + <tr> + <td>R</td> + <td>{{ .GetC "Germany" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Federal Printing Office" "Company Name" | toString) + (tuple "de" "Bundesdruckerei") }} + </tr> + <tr> + <td>T</td> + <td>{{ .GetC "Belgium" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "National Bank of Belgium" "Company Name" | toString) + (tuple "nl" "Nationale Bank van België") + (tuple "fr" "Banque nationale de Belgique") + (tuple "de" "Belgische Nationalbank") }} + </tr> + <tr> + <td>U</td> + <td>{{ .GetC "Portugal" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Valora S.A." "Company Name" | toString) + (tuple "" "Valora S.A.") }} + </tr> + </tbody> + </table> + </div> + + + <h2>{{ .Get "Europa Series" }}</h2> + <p> + {{ .Get "In the Europa series the first letter of the serial number can be used to identify the printer that printed the banknote, just like the printer code. The following table shows which countries map to which codes." }} + </p> + + <div class="overflow-auto"> + <table class="striped"> + <thead> + <tr> + <th>{{ .GetC "Code" "Header/Label" }}</th> + <th>{{ .GetC "Country" "Header/Label" }}</th> + <th> + {{ .GetC "Printer" "Header/Label" }}<br> + <span class="translation"> + {{ .GetC "Local Names" "Header/Label" }} + </span> + </th> + </tr> + </thead> <tr> <td>E</td> - <td>{{ .T "France" }}</td> - <td>Oberthur</td> + <td>{{ .GetC "France" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Oberthur" "Company Name" | toString) + (tuple "" "Oberthur") }} </tr> <tr> <td>F</td> - <td>{{ .T "Austria" }}</td> - <td>Österreichische Banknoten‐ und Sicherheitsdruck GmbH</td> + <td>{{ .GetC "Bulgaria" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Oberthur Fiduciaire AD" "Company Name" | toString) + (tuple "" "Oberthur Fiduciaire AD") }} </tr> <tr> - <td>G</td> - <td>{{ .T "Netherlands" }}</td> - <td>Koninklijke Joh. Enschede</td> + <td>M</td> + <td>{{ .GetC "Portugal" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Valora S.A." "Company Name" | toString) + (tuple "" "Valora S.A.") }} </tr> <tr> - <td>H</td> - <td>{{ .T "United Kingdom" }}</td> - <td>Thomas de la Rue</td> + <td>N</td> + <td>{{ .GetC "Austria" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Austrian Banknote and Security Printing" "Company Name" | toString) + (tuple "de" "Oesterreichische Banknoten- und Sicherheitsdruck") }} </tr> <tr> - <td>J</td> - <td>{{ .T "Italy" }}</td> - <td>Banca d’ Italia</td> + <td>P</td> + <td>{{ .GetC "Netherlands" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Royal Joh. Enschedé" "Company Name" | toString) + (tuple "nl" "Koninklijke Joh. Enschedé") }} </tr> <tr> - <td>K</td> - <td>{{ .T "Ireland" }}</td> - <td>{{ .T "Central Bank of Ireland" }}</td> + <td>R</td> + <td>{{ .GetC "Germany" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Federal Printing Office" "Company Name" | toString) + (tuple "de" "Bundesdruckerei") }} </tr> <tr> - <td>L</td> - <td>{{ .T "France" }}</td> - <td>Banque de France</td> + <td>S</td> + <td>{{ .GetC "Italy" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Bank of Italy" "Company Name" | toString) + (tuple "it" "Banca d’Italia") }} </tr> <tr> - <td>M</td> - <td>{{ .T "Spain" }}</td> - <td>Fábrica Nacional de Moneda y Timbre</td> + <td>T</td> + <td>{{ .GetC "Ireland" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Central Bank of Ireland" "Company Name" | toString) + (tuple "ga" "Banc Ceannais na hÉireann") + (tuple "en" "Central Bank of Ireland") }} </tr> <tr> - <td>N</td> - <td>{{ .T "Greece" }}</td> - <td>{{ .T "Bank of Greece" }}</td> + <td>U</td> + <td>{{ .GetC "France" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Bank of France" "Company Name" | toString) + (tuple "fr" "Banque du France") }} </tr> <tr> - <td>P</td> - <td>{{ .T "Germany" }}</td> - <td>Giesecke & Devrient</td> + <td>V</td> + <td>{{ .GetC "Spain" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Royal Mint of Spain" "Company Name" | toString) + (tuple "es" "Fábrica Nacional de Moneda y Timbre") }} </tr> <tr> - <td>R</td> - <td>{{ .T "Germany" }}</td> - <td>Bundesdruckerei Berlin</td> + <td>W</td> + <td>{{ .GetC "Germany" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Giesecke+Devrient Leipzig" "Company Name" | toString) + (tuple "de" "Giesecke+Devrient Leipzig") }} </tr> <tr> - <td>T</td> - <td>{{ .T "Belgium" }}</td> - <td>{{ .T "National Bank of Belgium" }}</td> + <td>X</td> + <td>{{ .GetC "Germany" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Giesecke+Devrient Munich" "Company Name" | toString) + (tuple "de" "Giesecke+Devrient München") }} </tr> <tr> - <td>U</td> - <td>{{ .T "Portugal" }}</td> - <td>Valora S.A.</td> + <td>Y</td> + <td>{{ .GetC "Greece" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "Bank of Greece" "Company Name" | toString) + (tuple "gr" "Τράπεζα της Ελλάδος") }} </tr> - </tbody> - </table> - - <h2>{{ .T "Europa Series" }}</h2> - <p> - {{ .T ` - In the Europa series the first letter of the serial number can be - used to identify the printer that printed the banknote, just like - the printer code. The following table shows which countries map to - which codes. - ` }} - </p> - <table role="grid"> - <thead> <tr> - <th>{{ .T "Code" }}</th> - <th>{{ .T "Country" }}</th> - <th>{{ .T "Printer" }}</th> - </tr> - </thead> - <tr> - <td>E</td> - <td>{{ .T "France" }}</td> - <td>Oberthur</td> - </tr> - <tr> - <td>F</td> - <td>{{ .T "Bulgaria" }}</td> - <td>Oberthur Fiduciaire AD</td> - </tr> - <tr> - <td>M</td> - <td>{{ .T "Portugal" }}</td> - <td>Valora S.A.</td> - </tr> - <tr> - <td>N</td> - <td>{{ .T "Austria" }}</td> - <td>Österreichische Banknoten‐ und Sicherheitsdruck GmbH</td> - </tr> - <tr> - <td>P</td> - <td>{{ .T "Netherlands" }}</td> - <td>Koninklijke Joh. Enschedé</td> - </tr> - <tr> - <td>R</td> - <td>{{ .T "Germany" }}</td> - <td>Bundesdruckerei Berlin</td> - </tr> - <tr> - <td>S</td> - <td>{{ .T "Italy" }}</td> - <td>Banca d’Italia</td> - </tr> - <tr> - <td>T</td> - <td>{{ .T "Ireland" }}</td> - <td>{{ .T "Central Bank of Ireland" }}</td> - </tr> - <tr> - <td>U</td> - <td>{{ .T "France" }}</td> - <td>Banque de France</td> - </tr> - <tr> - <td>V</td> - <td>{{ .T "Spain" }}</td> - <td>Fábrica Nacional de Moneda y Timbre</td> - </tr> - <tr> - <td>W</td> - <td>{{ .T "Germany" }}</td> - <td>Giesecke & Devrient Leipzig</td> - </tr> - <tr> - <td>X</td> - <td>{{ .T "Germany" }}</td> - <td>Giesecke & Devrient Munich</td> - </tr> - <tr> - <td>Y</td> - <td>{{ .T "Greece" }}</td> - <td>{{ .T "Bank of Greece" }}</td> - </tr> - <tr> - <td>Z</td> - <td>{{ .T "Belgium" }}</td> - <td>{{ .T "National Bank of Belgium" }}</td> - </tr> - </table> + <td>Z</td> + <td>{{ .GetC "Belgium" "Place Name" }}</td> + {{ withTranslations "td" + (.GetC "National Bank of Belgium" "Company Name" | toString) + (tuple "nl" "Nationale Bank van België") + (tuple "fr" "Banque nationale de Belgique") + (tuple "de" "Belgische Nationalbank") }} + </tr> + </table> + </div> </main> {{ end }} {{ define "banknotes/codes/code-pos" }} {{ $p := (index . 0) }} -<details> - <summary>{{ $p.T "%d Euro" (index . 1) }}</summary> - <img - class="big" - src={{ sprintf "/codes/%s-%03d.jpg" (index . 2) (index . 1) }} - alt={{ $p.T "Printer code on a %d euro bill" (index . 1) }} - > +{{ $d := (index . 1) }} +{{ $args := (map "N" $d) }} +<details name="printer-codes-1"> + {{/* TRANSLATORS: As in ‘5 Euro Banknote’ */}} + <summary>{{ $p.GetN "{N} Euro" "{N} Euro" $d $args }}</summary> + <div class="design-container"> + <img + src={{ printf "/codes/%s-%03d.jpg" (index . 2) $d }} + alt={{ $p.GetN "Printer code on a {N} euro bill" "Printer code on a {N} euro bill" $d $args }} + > + </div> </details> -{{ end }}
\ No newline at end of file +{{ end }} |