From 3582288fa50d843d1b5556b53388d0aeb49824a0 Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Sat, 11 Jun 2022 16:11:48 +0200 Subject: [PATCH] Add comment for walkup time to template. --- wrpylib/templates/sledrun_wikitext.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wrpylib/templates/sledrun_wikitext.txt b/wrpylib/templates/sledrun_wikitext.txt index 33bb9d2..b458eba 100644 --- a/wrpylib/templates/sledrun_wikitext.txt +++ b/wrpylib/templates/sledrun_wikitext.txt @@ -27,8 +27,11 @@ * {{Position unten}} * {{Höhenunterschied}} * {{Bahnlänge}} -* {{Gehzeit}} -{% endraw -%} +* {{Gehzeit}}{% endraw %} + {%- if walkup_time_note %} ({{ walkup_time_note }}) + {%- else %} + {%- if walkup_possible is false %} (ein Aufstieg zu Fuß ist nicht möglich){% endif %} + {%- endif %} * '''Beleuchtung''': {{ nightlight_description | default( nightlight_possible | default("''Unbekannt''") ) | trim }} * '''Rodelverleih''': {% if sled_rental_description -%} {{ sled_rental_description | trim }} -- 2.39.5