summaryrefslogtreecommitdiffstats
path: root/_includes/slnum.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/slnum.html')
-rw-r--r--_includes/slnum.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/_includes/slnum.html b/_includes/slnum.html
new file mode 100644
index 0000000..a8c3469
--- /dev/null
+++ b/_includes/slnum.html
@@ -0,0 +1,11 @@
+{% comment %} argv: stevilo,niz0,niz1,niz2,niz34 {% endcomment %}
+{% assign argv[0] = argv[0] | modulo: 100 %}
+{% if argv[0] == "1" %}
+ {% assign return = argv[2] %}
+{% elsif argv[0] == "2" %}
+ {% assign return = argv[3] %}
+{% elsif argv[0] == "4" or argv[0] == "3" %}
+ {% assign return = argv[4] %}
+{% else %}
+ {% assign return = argv[1] %}
+{% endif %}