]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/commitdiff
Omit forum_id if it is not given.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Sat, 11 Jun 2022 12:03:27 +0000 (14:03 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Sat, 11 Jun 2022 12:03:27 +0000 (14:03 +0200)
wrpylib/templates/sledrun_wikitext.txt

index 98f10253e9ad82fbf0615cb41f511638e3293026..e1533444f4743de6ae03d1ccc259cd26b872acfd 100644 (file)
 ** {{ distance_info.route }}: {{ distance_info.km }} km
 {% endfor %}
 
-{% raw %}{{Rodelbahnzustand|Forumlink={% endraw %}{{ sledrun_json.forum_id }}}}
+{{ h.key_value_template('Rodelbahnzustand', {'Forumlink': sledrun_json.forum_id}) }}
 
 [[Kategorie:Rodelbahn]]
 {% if sledrun_json.entry_under_construction %}[[Kategorie:In Arbeit]]{% endif -%}