User Tools

Site Tools


playground:playground

This is an old revision of the document!


PlayGround

books

https://stacksocial.com

https://learnable.com

https://locatepress.com

http://safaribooksonline.com

box still works?
how about note

“big” content

This is some text, text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text , text

simple centered box

Bob File 2017/03/02 21:47

https://console.aws.amazon.com/iam/#home

Gmaps

open layers map

:wiki:favicon.ico :favicon.ico

bootstrap plugin

muted primary success info warning danger

Look, I'm in a well!

Title of Panel

Subtitle

Panel content

Collapsed item

some text in a green box

accordion stuff

this is accordion

favicon lives with template:

just replace the favicon.ico in <dokuwiki>/lib/tpl/<your-template>/images/ with your desired icon.

FIXME

TODO

Text to Image Conversions

DokuWiki converts commonly used emoticons to their graphical equivalents. Those Smileys and other images can be configured and extended. Here is an overview of Smileys included in DokuWiki:

  • 8-) 8-)
  • 8-O 8-O
  • :-( :-(
  • :-) :-)
  • =) =)
  • :-/ :-/
  • :-\ :-\
  • :-? :-?
  • :-D :-D
  • :-P :-P
  • :-O :-O
  • :-X :-X
  • :-| :-|
  • ;-) ;-)
  • ^_^ ^_^
  • :?: :?:
  • :!: :!:
  • LOL LOL
  • FIXME FIXME
  • DELETEME DELETEME

Text to HTML Conversions

Typography: DokuWiki can convert simple text characters to their typographically correct entities. Here is an example of recognized characters.

→ ← ↔ ⇒ ⇐ ⇔ » « – — 640×480 © ™ ® “He thought 'It's a man's world'…”

-> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r)
"He thought 'It's a man's world'..."

The same can be done to produce any kind of HTML, it just needs to be added to the pattern file.

There are three exceptions which do not come from that pattern file: multiplication entity (640×480), 'single' and “double quotes”. They can be turned off through a config option.

Quoting

Some times you want to mark some text to show it's a reply or comment. You can use the following syntax:

I think we should do it

> No we shouldn't

>> Well, I say we should

> Really?

>> Yes!

>>> Then lets do it!

Info plugins

Action plugins

Admin

syntax plugins

Helper plugins

Helper methods

geoPHP plugin for DokuWiki

Provides access to the geoPHP library available at https://github.com/funiq/geoPHP.

$geophp = plugin_load('helper', 'geophp');

OpenLayers map plugin for DokuWiki

Provides a syntax for rendering an OpenLayers based map in a wiki page.. Uses OpenLayers: branch master SHA1 e85a087c8fb857648aa7c5e4f771d1d2a13fc48b

$openlayersmap_staticmap = plugin_load('helper', 'openlayersmap_staticmap');

$openlayersmap_staticmap->getMap()

Descriptionreturns url to the image
Parameterslatfloat
lonfloat
zoominteger
sizestring
maptypestring
markersstring
gpxstring
kmlstring
geojsonstring
apikeystring
Return valueimagestring

Pagelist Plugin

Lists pages in a nice formatted way

$pagelist = plugin_load('helper', 'pagelist');

$pagelist->addColumn()

Descriptionadds an extra column for plugin data
Parametersplugin namestring
column keystring

$pagelist->setFlags()

Descriptionoverrides standard values for showfooter and firstseconly settings
Parametersflagsarray
Return valuesuccessboolean

$pagelist->startList()

Descriptionprepares the table header for the page list

$pagelist->addPage()

Descriptionadds a page to the list
Parameterspage attributes, 'id' required, others optionalarray

$pagelist->finishList()

Descriptionreturns the XHTML output
Return valuexhtmlstring
playground/playground.1517973996.txt.gz · Last modified: 2018/02/06 21:26 by rfile