TWPCode - a BBCode alike use of Tiki's WikiPlugins
WikiPlugins in Tiki are extentions of the WikiSytax of the software Tiki - Wiki CMS Groupware, which can be used on every wikipage, article, blogpost, forum post, internal message ... literally throughout the whole system.
Whilst many bulletin boards and forums use the BulletinBoardCode to let provide their users with basic formatting tags similar to HTML tags, Tiki does use it's WikiSyntax for that and extends it with the socalled WikiPlugins.
WikiPlugins have an amazing vast amount of power, still being very easy to use for non-techie users of a website.
They are only lacking one point:
There are no basic formatting plugins respecting equivalents to the basic BBCode tags, whilst they would've been coded quite easily.
Creating only a few more tags for bold, underlined, italic text etc. we would combine the much more powerful WikiPlugins with the idea of the userfriendly BBCode and get a tagging system, which could be understood by everybody who knows BBCode and similar in only a few minutes:
The TWPCode.
Some example(s):
At first mind, that where BBCode is [X]text[/X] WikiPlugin aka TWPCode would be {X()}text{X}, respectively [X=option]text[/X] would be {X(option)}text{X} (option=parameter=value)
basic tags:
bold:
HTML: <b>bolded text</b>
BBCode: [b]bolded tex[/b]
TWPCode: {b()}bolded text{b} WikiSyntax: __bolded text__
underlined: <u>underlined</u> / [u]underlined[/u] / {u()}underlined{u} / ===underlined===
italic: <i>italic</i> / [i]italic[/i] / {i()}italic{i} / ''italic''
strikethrough: <s>strikethrough</s> / [s] strikethrough[/s] /{s()}strikethrough{s} / --strikethrough--
more sophisticated tags:
mailto-link:
HTML: <a href="mailto:j.doe@example.com">text</a>
BBCode: [email=j.doe@example.com]text[/email]
TWPCode: {email(j.doe@example.com)}text{email} WikiSyntax: [mailto:j.doe@example.com|text]
insert an image:
HTML: <img src="http://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/Go-home.svg/100px-Go-home.svg.png" alt="" />
BBCode: [img]http://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/Go-home.svg/100px-Go-home.svg.png[/img]
TWPCode=WikiSyntax: {IMG(src="http://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/Go-home.svg/100px-Go-home.svg.png")}{IMG} WikiSyntax only: {img fileId="20"} or {img src="display1"} or {img(src="http://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/Go-home.svg/100px-Go-home.svg.png")}
quotes:
HTML: <blockquote><p>quoted text</p></blockquote>
BBCode: [quote]quoted text[/quote]
TWPCode: {QUOTE( )}text to be quoted{QUOTE} (Which literally again is an existing Wikiplugin and thus = WikiSyntax)
video:
BBCode: [video=youtube;eOUq4Z6R7xI]http://www.youtube.com/watch?veOUq4Z6R7xI[/video]
TWPCode: {YOUTUBE(movie=G1TuB5P4Ypw, width=>425,height=>350,quality=>high, allowFullScreen=y)}{YOUTUBE} other video formats: {WMV(movie=>URL to Movie, width=>xx,height=>xx,controller=>true|false,autoplay=>1|0)}{WMV} {MEDIAPLAYER(flv="http://flv-player.net/medias/KyodaiNoGilga.flv")/}
code / monospace:
HTML: <pre>monospaced text</pre>
BBCode: [code]monospaced text[/code]
TWPCode: { CODE() }code text{ CODE } or {MONO()}text{MONO} (And again just existing Wikiplugin = WikiSyntax)
php highlighted text:
BBCode: [php]php highlighted text[/php]
TWPCode / WikiSyntax: { CODE (color=php) }php highlighted text{ CODE }
And so on