plugins

creole

Un intento de unificar las sintaxis de los wikis, de manera consensuada y lógica. Wiki Creole

Diferencias con la sintaxis dokuwiki

addnewpage

URL:https://www.dokuwiki.org/plugin:addnewpage

permite crear «plantillas» de páginas (para tener un esqueleto y un mini-formulario para la creación de nuevas páginas con esa plantilla. Permite más personalización (sustitución en la propia página al vuelo al ser creada desde la plantilla)

depende o está vinculado con otro plugin, newpagetemplate

pagelist

Syntax Plugin

Simplemente para obtener una lista de páginas usando el plugin <pagelist>:

<pagelist&[flags]>
  * [[eurocity2008:start|Blog Plugin]]
  * [[..:discussion:|Discussion Plugin]]
  * [[..:editor:|Editor Plugin]]
  * [[..:tag:|Tag Plugin]]
</pagelist>
[flags] los flags se usan para «alterar» como se visualiza la lista, see flags optional

Flags

Setting Default Alternative
style default table with horizontal lines table or list standard DokuWiki table or list style
showheader noheader hide the heading row of the pagelist table header show the header
showdate date show the creation or last modification date nodate hide the date
showuser user show creator or contributors nouser hide the user
showdesc nodesc hide the description desc show the description (from metadata)
showcomments nocomments hide the number of comments comments show the number of comments (if Discussion Plugin is installed)
showtags notags hide the tags tags show the tags (if Tag Plugin is installed)

Ejemplo

<pagelist&header&comments>
...
</pagelist>

cloud

palabras

tags

tag

Hidden

<box 80% round red>Este plugin provoca interferencias con la barra de herramientas del editor - la barra desaparece</box> The simplest way is:

<hidden>Hidden text</hidden>

This will display the default text «Click to display ⇲» when the text is hidden, and «Click to hide ⇱» when it's visible.

Some options may be added inside the opening <hidden> tag:

Option Effect Example
any textuse this text instead of the defaults «Click to display» and «Click to hide» <hidden click me!>hidden text</hidden>
onHidden=«any text»Display this text when the section is hiddensee below
onVisible=«any text»Display this text when the section is unfolded<hidden onHidden=«Click to read more» onVisible=«Click to see less»>Hidden text</hidden>
initialState=«visible»The block will initially be expanded. Readers may still click to hide it
-noprintthe text «click to display» won't appear on the printed copy
-edit=«any text»Add an «edit» button below the hidden section.The text will appear when one let his mouse on the button
-editSame as above, but a default text is used

Please note that Dokuwiki formatting syntax may be used with options like «onHidden».

HiddenSwitch

(para facilitar el uso del plugin hidden antes comentado) To create such a switch, you may use :

<hiddenSwitch>

or

<hiddenSwitch Here comes my custom text>

Therefore, to see it in action, you could create such a page:

<hidden>My first hidden block</hidden>
<hidden>My second hidden block</hidden>

<hiddenSwitch>

Please make sure you have a recent (2011-12-03 or higher) version of the hidden plugin!

Hidden & HiddenSwitch Example

Click to display ⇲

Click to hide ⇱

My first hidden block

Click to display ⇲

Click to hide ⇱

My second hidden block

BOX

A simple box:

<box> the box contents </box>

Some more complex boxes

<box 80% round orange|a title> the box contents</box>
<box 50% left blue>the box contents</box|a caption>
<box 60% round #f99 #fc9 #fcc #f60|title>the box contents</box|caption>

The full syntax:

<box width classes colours | title text> contents text </box>

if no classes are specified the default styles will be used, that is square corners in a colour scheme based on the default DokuWiki colour scheme.

if less than four colours are specified, the first colour is used for the missing colours.

The opening <box … > including the title must all appear on one line. The box contents can appear over as many lines as are needed.

See the plugin in action here. The sample page shows all the styles available with the plugin.

ejemplos

<box 80% round orange|a title> the box contents</box> <box 50% left blue>the box contents</box|a caption> <box 60% round #f99 #fc9 #fcc #f60|title>the box contents</box|caption>

Orphanmedia

Basic usage is to place the following five syntax lines into the page markup of a page with Admin/Superuser ACL:

=== Orphan Media detection 
~~NOCACHE~~
~~ORPHANMEDIA:all~~
~~ORPHANMEDIA:summary~~
~~ORPHANMEDIA:missing~~
~~ORPHANMEDIA:orphan~~

Each syntax can be used together with optional filter for file extensions, which shlould be considered only.
Example: The following will reduce the function to consider only pdf and jpg files.

  ~~ORPHANMEDIA:summary:pdf:jpg~~
  ~~ORPHANMEDIA:missing:pdf:jpg~~
  ~~ORPHANMEDIA:orphan:pdf:jpg~~

ejemplos

~~ORPHANMEDIA:summary:pdf:jpg~~ ~~ORPHANMEDIA:missing:pdf:jpg~~ ~~ORPHANMEDIA:orphan:pdf:jpg~~

ACE Editor