summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-04-28 20:29:00 +0200
committerThomas Lange <code@nerdmind.de>2017-04-28 20:29:00 +0200
commit6b7dd2408a7984154612c215cd72b2b297f0d2ce (patch)
tree7d2875038e156114f7d78eeceebcf4ae795f2fcb
parent0f851ff74109582a5ba111de3d3ebde78abe83d1 (diff)
downloadwiki-6b7dd2408a7984154612c215cd72b2b297f0d2ce.tar.gz
wiki-6b7dd2408a7984154612c215cd72b2b297f0d2ce.tar.xz
wiki-6b7dd2408a7984154612c215cd72b2b297f0d2ce.zip
Information about key syntax added.
-rw-r--r--Arguments.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/Arguments.md b/Arguments.md
index 7fe781d..6d6d3bd 100644
--- a/Arguments.md
+++ b/Arguments.md
@@ -23,5 +23,8 @@ You even can add an preview image functionality. What if you want to show an pre
<img class="preview-img" href="<?=Application::getFileURL("images/preview/{$POST['ARGV']['PREVIEW_IMG']}")?>" alt="" />
<?php endif; ?>
+## Syntax
+Each argument key (the part before the `=`) must only contain letters from `A-Z`, `a-z`, `0-9` and underscores (`_`)!
+
## Conclusion
The use cases of the arguments are practically unlimited. Please note that the `standard` template does not use any arguments provided in the argument field. It is up to you whether you implement this in your own template to do something special or not! \ No newline at end of file