It appears you have not yet registered with our community. To register please click here...

 
 
         
 
     
QuickLinks
  
Home of the Converged PDA - Phone    
 
Go Back  PDAPhoneHome.com > PDAPhoneHome Content > PDAPhone Wiki > PDAPhone Wiki Editing Guide

 
 
PDAPhoneHome  
 
  #1  

PDAPhone Wiki Editing Guide

The PDAPhoneHome Wiki uses vBulletin's BBCode and WYSIWYG editor for creating and editing wiki content.
 </P>The Wiki extends vBulletin BBCode as follows:</P> 

Contents

Creating links to Wiki Articles




You can create links to Wiki Articles through the use of the WIKI bbcode. The following example will create a link to a Wiki Article named 'Wiki FAQ'.

PHP Code:
[wiki]Wiki 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 Wiki BBCodes:

PHP 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



The Wiki 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 Wiki 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.



AUTOLINK


Similarly to the WIKI BBCode, the AUTOLINK BBCode can be used to create links to existing or yet to be created Wiki Articles. The difference is that the AUTOLINK BBCode produces a Wiki Auto-Link with all the corresponding functionality (e.g. Wiki Auto-Link Previews, with "read more" links, etc).

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:
PHP 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:
PHP Code:
[showthreads=5]236[/showthreads
Will produce:
 
  Thread / Thread Starter Last Post Replies Views
 
carsonstone
12-30-2008 12:18 PM
by carsonstone Go to last post
0 2,386
 
Brian O'Neill
12-15-2008 03:00 AM
by Brian O'Neill Go to last post
0 1,309
 
skypros
12-04-2008 10:50 AM
by ddwire Go to last post
2 1,153
 
sharklvr8
11-03-2008 10:40 AM
by spidremann Go to last post
1 1,147
 
jemccarty
10-27-2008 11:43 AM
by sharklvr8 Go to last post
2 1,436

TEMPLATE BBCode



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

TABLE


The TABLE BBCode enables the creation of style rich tables in your Wiki Articles.

The syntax is as follows:

[table]
[tr]
[td]first cell[/td]
[td]second cell[/td]
[/tr]
[/table]


Each of the opening elements can have a combination of standard Wiki CSS Styles.

For instance

[table=class:tborder]
[tr]
[td=class:alt2]first cell[/td]
[td=class:alt1]second cell[/td]
[/tr]
[/table]


Will produce:

first cellsecond cell

DIV BBCode



The DIV BBCode allows greater flexibility in editing Wiki Articles.

The syntax is as follows:
PHP Code:
[div=css styles]content[/div
Where css styles is a semi-color ( separated list of CSS Styles.

For instance:

[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

SPAN


The SPAN BBCode complements the DIV BBcode for inline elements.

The syntax is as follows:
PHP Code:
[span=css styles]content[/div]
[/
span

[span=color: red; font-weight: bold; border: 2px dashed blue; background: #FFFFC0; text-align:center]This is some text[span=css styles]Where [b][i]css styles[/i][/b] is a semi-colon (;) separated list of CSS Styles. Refer to the Wiki CSS Styles for more information.

For instance:
[/span]


Will produce: This is some text

FOOTNOTE


The FOOTNOTE BBCode is used to add footnotes to a Wiki Article. Whenever a FOOTNOTE BBCode is found, it is replaced by a footnote index enclosed in square brackets (e.g. [3]), which links to the corresponding footnote that is listed at the end of the article.

The Syntax for the FOOTNOTE BBCode is:


[footnote]footnote text[/footnote]


KEYWORDS


The KEYWORDS BBCode can be used to specify extra keywords related to a Wiki Article. These keywords are displayed in a smaller font, and somewhat grayed out. You can customize the look of keywords by changing the CSS styles for the class .nuwiki_keywords


[keywords]keyword list[/keywords]


Redirect



NuWiki supports the concept of Article Redirects. Having an article which contains a #REDIRECT followed with a wiki link, will instruct Wiki to redirect to the viewer to the new article.

The syntax is as follows:

PHP Code:
#REDIRECT [wiki]article title[/wiki] 


Contributors:
Created by Convergent, 06-01-2007 at 02:19 PM
Last edited by Convergent, 07-06-2007 at 04:20 PM
0 Comments , 3771 Views
(Article Protected)

 


Article Tools
Rate This Thread
Rate This Thread:

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

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


Login Panel
Enter your username and password to login:


Advertisements



PDA and Smartphone Repair & Parts

Cellular Phone Parts and Accessories



PDAPhone Chargers and Screen Protectors

Where Photographers Meet

Please Help By Taking Our Survey!





Our Friends





All times are GMT -5. The time now is 06:11 PM.

               
 
Design by VBSz   |  Hosting by PWH   |  
Copyright © 2002-2007, Convergent Minds, LLC - All Rights Reserved.