<file>code</file>
: https://www.dokuwiki.org/plugin:codebuttonopenas
plugin: https://www.dokuwiki.org/plugin:newpagetemplateUn intento de unificar las sintaxis de los wikis, de manera consensuada y lógica. Wiki Creole
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
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 |
---|
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) |
~~CLOUD:number~~
~~CLOUD[showCount]~~
~~TAGCLOUD:number~~
inc/lang/[lang-code]/stopwords.txt
conf/stopwords.txt
{{tag>tag tag2}}
{{topic>tag}}
{{topic>tag -tag2}}
<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 text | use 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 hidden | see 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 | |
-noprint | the 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 | |
-edit | Same as above, but a default text is used |
Please note that Dokuwiki formatting syntax may be used with options like «onHidden».
(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!
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.
#F00 #fcab94 rgb(255,255,0)
. The colours are applied in order to: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.
<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>
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~~
~~ORPHANMEDIA:summary:pdf:jpg~~ ~~ORPHANMEDIA:missing:pdf:jpg~~ ~~ORPHANMEDIA:orphan:pdf:jpg~~