The Last Homely House

General => Wiki Project => Topic started by: Kralik on April 30, 2012, 06:45:36 AM

Title: Advanced Functionality and Plugins
Post by: Kralik on April 30, 2012, 06:45:36 AM
DokuWiki is fairly simple by default, but it can be greatly expanded by plugins. In this thread, I'll be keeping a list of plugins that I've installed and links to documentation (if available).

* XBR Plugin -- allow linebreaks (http://lotrtcgwiki.com/forums/index.php/topic,7948.0.html).
* WRAP Plugin -- LOTS of features. Includes a toolbar addition as well as a large portion of the syntax page (http://lotrtcgwiki.com/wiki/wiki:syntax#examples_for_the_wrap_plugin).
* Block Plugin -- adds a square-shaped button to the toolbar to allow you to make custom blocks of text. You can change colors and borders, but I'd recommend not changing the font face to help keep things uniform.
* Page Redirector -- automatically redirect a page to another page. Syntax is: ~~REDIRECT>NewPage~~ or see Culture (http://lotrtcgwiki.com/wiki/:culture?redirect=no) for an example.
Title: Re: Advanced Functionality and Plugins
Post by: Kralik on April 30, 2012, 06:48:16 AM
I added the WRAP plugin today. It gives quite a few advanced options, as well as the ability to invoke custom CSS styles (request that I add it first). There are a few things that I think we are still missing (changing table colors, for instance) that I should be able to address soon.
Title: Re: Advanced Functionality and Plugins
Post by: Kralik on April 30, 2012, 06:55:06 AM
Added the block plugin: It adds a square-shaped button to the toolbar to allow you to make custom blocks of text. You can change colors and borders, but I'd recommend not changing the font face to help keep things uniform.
Title: Re: Advanced Functionality and Plugins
Post by: Kralik on April 30, 2012, 07:04:34 AM
Added page redirect: automatically redirect a page to another page. Syntax is: ~~REDIRECT>NewPage~~ or see Culture (http://lotrtcgwiki.com/wiki/:culture?redirect=no) for an example.
Title: Re: Advanced Functionality and Plugins
Post by: Kralik on April 30, 2012, 03:24:42 PM
The wrap plugin now supports some font foreground/background color selections:

Foreground: fgred, fggreen, fgblue, fgcyan, fgviolet, fgyellow, fggrey, fgwhite, fgblack

Background: bgred, bggreen, bgblue, bgcyan, bgviolet, bgyellow, bggrey, bgwhite, bgblack
Title: Re: Advanced Functionality and Plugins
Post by: Kralik on May 01, 2012, 07:28:22 PM
I'm using the include plugin to facilitate Phase Two of moving the card pages to wiki. I messed with the code to make it do some particular things, so unless we really need to use it for something else... let's not use it. ;)
Title: Re: Advanced Functionality and Plugins
Post by: Kralik on May 06, 2012, 08:34:33 PM
Include plugin will now work again with normal pages. If you have a reason to use it, the syntax is:

{{page>Put_Included_Page_Here}}

(Note the first "page" is part of the syntax)