ControlBooth

Go Back   ControlBooth > CB Wiki > Forum Headers

Notices

 
 
LinkBack Article Tools Display Modes
  #1  

Default How To Use

NuWiki uses vBulletin's BBCode and WYSIWYG editor for creating and editing wiki content.
 
NuWiki extends vBulletin BBCode as follows:
 

Contents

Creating links to NuWiki Articles


You can create links to NuWiki Articles through the use of the WIKI bbcode. The following example will create a link to a NuWiki Article named 'NuWiki FAQ'.
PHP Code:
[wiki]NuWiki FAQ[/wiki
If the article to which the link points does not exist, the link is shown in red color.
In addition there is a 'short-hand' notation that can be used to create wiki links:

Adding Headlines


You can add headlines (headers) to a wiki article by using the following NuWiki BBCodes:
Code:
[h1]headline text[/h1]
[h2]headline text[/h2]
[h3]headline text[/h3]
[h4]headline text[/h4]
[h5]headline text[/h5]
[h6]headline text[/h6]
[h7]headline text[/h7]
Alternatively, you can enclose headline text with "=" sign for headlines; incrementing amount of the sings will give you sub-headline:
Code:
==headline==
===sub-headline===

Table of Content


If an article has 4 or more headlines, a table of content with links to the different sections is added at the top of the article.

Controlling the Table of Content location and visibility


NuWiki will add a Table of Content to an article whenever there are at least 4 headlines present. However, there are a couple of 'magic words' that can alter this default behavior:
The following magic word will hide the Table of Content regardless of the number of headlines present in the article.

The following magic word will instruct NuWiki to show the Table of Content if at least there is one headline in the article.

If you want to change the default location of the Table of Content, use the following magic word to indicate its new location.

SHOWTHREADS


Using the SHOWTHREADS BBCode will add a list of the latest thread from a forum into a NuWiki Article.
The syntax for SHOWTHREADS is as follows:
Code:
[showthreads=count]forumid[/showthreads]
Where:
  • count is the number of threads to list, if not specified, 10 threads are shown.
  • forumid is the forum id from where to list threads, if not specified, the latest thread in the forum are shown.
Here is an example:
Code:
[showthreads=5]236[/showthreads]
Will produce:
 

TEMPLATE BBCode


NuWiki Templates use the following syntax:
Code:
[template]Template Name[/template]
More information can be found in the NuWiki Templates Article.

DIV BBCode


The DIV BBCode allows greater flexibility in editing NuWiki Articles.
The syntax is as follows:
Code:
[div=css styles]content[/div]
Where css styles is a semi-color ( separated list of CSS Styles.
For instance:
Code:
[div=color: red; font-weight: bold; border: 2px dashed blue; background: #FFFFC0; width:50%; text-align:center]This is some text[/div]
Will produce: 
This is some text

Redirect


NuWiki supports the concept of Article Redirects. Having an article which contains a #REDIRECT followed with a wiki link, will instruct NuWiki to redirect to the viewer to the new article.
The syntax is as follows:
Code:
#REDIRECT [wiki]article title[/wiki]


Contributors:
Created by dvsDave, June 17th, 2007 at 09:37 PM
Last edited by dvsDave, June 22nd, 2007 at 12:36 AM
0 Comments , 1371 Views
(Article Protected)
 

Bookmarks

Article Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are UTC -4. The time now is 04:18 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by NuWiki v1.3 RC1 Copyright ©2006-2007, NuHit, LLC
Advertisement System V2.2 By   Branden

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34