Bem-vindo(a) ao PORTAL X-TRAD
PORTAL X-TRAD  
Horários baseados na GMT -2. Agora são 04:14 AM.
 »   PORTAL X-TRAD » WX-TRAD » Inicial

Inicial Apresentação & Forma de Trabalho

 
 
LinkBack (1) Article Tools Modos de Exibição
  #1  

Smile Wiki - Manual - Sintaxe

NuWiki uses vBulletin's BBCode and WYSIWYG editor for creating and editing wiki content.

 </P>NuWiki extends vBulletin BBCode as follows:

 

Manual Wiki X-TRAD - Contents

[top]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'.

Código PHP:
[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:



[top]Adding Headlines


You can add headlines (headers) to a wiki article by using the following NuWiki BBCodes:

Código PHP:
[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

[top]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.

[top]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.



[top]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:
Código PHP:
[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:
Código PHP:
[showthreads=5]236[/showthreads
Will produce:
 

[top]TEMPLATE BBCode


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

[top]DIV BBCode


The DIV BBCode allows greater flexibility in editing NuWiki Articles.

The syntax is as follows:
Código PHP:
[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

Manual Wiki X-TRAD
  Next Chapter »

Contributors:
Created by beduino, 24-05-2007 at 03:02 PM
Last edited by beduino, 24-05-2007 at 03:02 PM
2 Comments , 342 Views
 

Favoritos

LinkBacks (?)
LinkBack to this Thread: http://www.x-trad.org/forums/inicial/831-wiki-manual-sintaxe.html
Postado Por For Type Data
Inicial - PORTAL X-TRAD This thread Refback 24-05-2007 03:20 PM


Usuários ativos no Tópico: 1 (0 Membros e 1 Visitantes)
 
Article Tools
Modos de Exibição

Regras para Postagens
Você não pode postar novos tópicos
Você não pode postar respostas
Você não pode postar anexos
Você não pode editar seus posts

Código [IMG] Sim
Código HTML Não
Trackbacks are Sim
Pingbacks are Sim
Refbacks are Sim


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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178