DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:instructions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:instructions [2022-04-20 17:19] – [Development] juergen-aus-zuendorfplugin:instructions [2022-04-20 17:29] (current) – [Wiki-Syntax] juergen-aus-zuendorf
Line 85: Line 85:
   * Two spaces are interpreted as indentation or gap.    * Two spaces are interpreted as indentation or gap. 
   * Wiki-Links are understood with this syntax: ''%%[[namespace:page#section|description]]%%'' (description is necessary).   * Wiki-Links are understood with this syntax: ''%%[[namespace:page#section|description]]%%'' (description is necessary).
-  * If you want to have a line break within one parameter you can achieve this by inserting a new line prefixed by ''|+''. +  * If you want to have a line break within one parameteryou can achieve this by inserting a new line prefixed by ''|+''.
  
 +If the template (see below) supports more parameter as from the requesting page shall be passed, the supernumerary parameters will remain empty in the output.
 ==== Template ==== ==== Template ====
  
Line 100: Line 100:
 The template has to be placed in a subfolder to ".../lib/plugins/instructions/tpl". The subfolder name will be the name of the template. The HTML file name in that folder is "html.txt". Besides this you can provide images in this folder which can be addressed by your HTML code with "lib/plugins/instructions/tpl/your_template/image_file" The template has to be placed in a subfolder to ".../lib/plugins/instructions/tpl". The subfolder name will be the name of the template. The HTML file name in that folder is "html.txt". Besides this you can provide images in this folder which can be addressed by your HTML code with "lib/plugins/instructions/tpl/your_template/image_file"
  
 +//Note://\\ 
 +If a parameter is passed empty, a subsequent line feed defined in the template (marked with "<br>") will be suppressed.
 ==== Placeholders ==== ==== Placeholders ====
  
plugin/instructions.1650467953.txt.gz · Last modified: 2022-04-20 17:19 by juergen-aus-zuendorf

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki