From 0fa9ba53c205cafc9739d14c860bba2011a0cacb Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Sun, 5 Jun 2022 18:35:00 +0200 Subject: [PATCH] =?utf8?q?Render=20"Tiroler=20Rodelbahn=20G=C3=BCtesiegel"?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- wrpylib/templates/sledrun_wikitext.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wrpylib/templates/sledrun_wikitext.txt b/wrpylib/templates/sledrun_wikitext.txt index 583c4e9..d5bc0e4 100644 --- a/wrpylib/templates/sledrun_wikitext.txt +++ b/wrpylib/templates/sledrun_wikitext.txt @@ -11,6 +11,17 @@ == Allgemeines == {{ rodelbahnbox }} {{ description | default("''Hier wird die Rodelbahn allgemein beschrieben.''") | trim }} +{%- if sledrun_json.tiroler_naturrodelbahn_gütesiegel %} +{% set gs = sledrun_json.tiroler_naturrodelbahn_gütesiegel %} +{{ h.key_value_template('Tiroler Naturrodelbahn Gütesiegel', { + 'Erstverleihung': gs.get('first_issued'), + 'Verlängerung': gs.get('valid_from'), + 'Forum': gs.get('forum_id'), + 'Thread': gs.get('thread_id'), + 'Anlagename': gs.get('name'), + 'Organisation': gs.get('organization'), +}) }} +{%- endif %} {% raw %} * {{Position oben}} * {{Position unten}} -- 2.39.5