Differences

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

Link to this comparison view

Next revision
Previous revision
wiki:syntax [2025/05/26 13:34] – created - external edit 127.0.0.1wiki:syntax [2025/08/12 00:28] (current) – [Folded Text] Valentine
Line 471: Line 471:
 ===== Syntax Plugins ===== ===== Syntax Plugins =====
  
-DokuWiki's syntax can be extended by [[doku>plugins|Plugins]]. How the installed plugins are used is described on their appropriate description pages. The following syntax plugins are available in this particular DokuWiki installation:+DokuWiki's syntax can be extended by [[doku>plugins|Plugins]]. The following syntax plugins are available in this particular DokuWiki installation:
  
 ~~INFO:syntaxplugins~~ ~~INFO:syntaxplugins~~
  
 +
 +==== Info Box ====
 +
 +{{infobox>
 +name = Info Box
 +image = :placeholder.jpg
 +wow = wow
 +}}
 +Info boxes are exactly what they sound like - little informational boxes on your wiki page for your character/story/whatever's basic information to go in. They should be placed **above** whatever text is supposed to go next to it, so you'd normally want to put it at the very top of the page.
 +A template below has been provided. It should be enclosed in double brackets ''%%{{ }}%%'' and the top line should be ''%%infobox>%%''. The top two lines should be the name and the image, followed by whatever fields you'd like to put below it. Note that the first letter of each field will always be capitalized in the first half, but not the second half.
 +<code>{{infobox>
 +name = Name
 +image = :placeholder.jpg
 +Text = Text
 +text = text
 +}}</code>
 +
 +==== Folded Text ====
 +
 +There are two ways to do folded text:
 +
 +Inline folded text looks like this: ++click here | your mom++. It flows with the rest of the text normally.
 +I am too lazy to describe it so here is a copy-paste template instead:
 +<code>
 +++preview text | collapsed text++</code>
 +
 +Block folded text looks like this:
 +++++ Click here |
 +wow you can even put pictures in here
 +
 +{{:placeholder.jpg?200|}}
 +++++
 +
 +<code>++++ preview text |
 +collapsed text
 +++++</code>