TeamForge Wiki Syntax & CollabNet User Information Center

CollabNet user information center http://help.collab.net/

How do I create a new Wiki page?

A CollabNet TeamForge project can have any number of Wiki pages. All Wiki pages are linked, and their relationships are traced on the Back Links tab of each Wiki page.

  1. Click Wiki in the project navigation bar.
  2. On the Wiki home page, click Edit.
  3. In the large text field, insert the title of your new page between square brackets, like this:
    • Please post comments about [test results] here.

    Then click Update.

    The text between the square brackets becomes a link on your Wiki page.
    Note: You can also type the new link in CamelCase (each word starts with an upper-case letter, no spaces) and skip the square brackets.
  4. Click the link to the new Wiki page. The new page is created. The title of the new page is the same text as the link, rendered in CamelCase.
  5. On the Create Wiki page, write the content you need, then click Save.
    Tip: You can use a variety of preconfigured queries to generate up-to-date content for your Wiki page. For example, to generate a graph of artifact statistics, add this string to your Wiki page (with the square brackets):
    • [sf:artifactStatistics]

How do I insert an attachement image?

like this:

    [HomePage/roadmap.PNG]

How do I delete an attachement from a wiki page?

  1.     Browse to the wiki page that contains the attachment and click Edit.
  2.     Update the wiki page, even though you've not made any changes to it.
  3.     Click Show Details.
  4.     Click the Attachments tab.
  5.     Select the attachment you want removed and click Remove.
How do I create an anchor?
like this:
* [Dev Environment Setup | QuickStart#DevEnvironmentSetup]
* [Create New Project | QuickStart#CreateNewProject]
* [Deploy Project | QuickStart#DeployProject]

!Dev Environment Setup

....

!Create New Project

...

!Deploy Project

How to highlight source code?
like this:

%%prettify

{{{

...source code...

}}}

%%

 Wiki Syntax

Text effects

Syntax
EffectDetails
----
Creates a horizontal rule. 
\\
Creates a line break. 
!!!text
Creates a level 1 (large) header. 
!!text
Creates a level 2 (medium) header. 
!text
Creates a level 3 (small) header. 
''text'' 
                
Creates italic text. (That's two single quotes on each side.) 
__text__Creates bold text. (That's two underscores on each side.) 
{{text}}
Creates monospaced text. 
*text
Creates a bulleted list item. 
#text
Creates a numbered list item. 
;term:ex
Creates a definition for the word "term'"with the explanation "ex." 
{{{text}}}
Creates pre-formatted text. 
%%( <css-style> )<your text>%%
Defines a CSS style command.
%%( font-size: 150%; 
color: red; )
Hello, world!%%
Blank line
Starts a new paragraph. 

Tools for bringing TeamForge data into wiki pages

<strong>Syntax</strong>
EffectDetails
[sf:artifactStatistics]
Generates a graph of activities related to artifacts in the project. 
[sf:taskStatistics]
Generates a graph of tasks completed in the project. 
[sf:frsStatistics]
Generates a graph of file release activities in the project. 
[sf:documentStatistics]
Generates a graph of the project's document activities. 
[{INSERT ExcelToHTMLPlugin 
src='c:\somesheet.xls'}] 
or 
[{INSERT ExcelToHTMLPlugin 
border='1' 
src='\\the_server\somesheet.xls'}] 
Reads a Microsoft Excel file and displays it as an HTML table.

Parameters:

  • src: URL / Attachment file name
  • srcsheet: Sheet name
  • height: height attribute for the html table
  • width: width attribute for the html table
  • border: border attribute for the html table

More at http://www.ecyrd.com/JSPWiki/wiki/ExcelToHTMLPlugin

 Text navigation tools

SyntaxEffectDetails
[{TableOfContents}]                    
Creates a table of contents consisting of the header text on the page. 
[link]
Creates a link to a new Wiki page called "link."If the link is a complete URL, a link to the URL is created. If the link points to a .gif, .jpg, or .png image, the image is rendered directly in the page.
[title|link] 
Creates a link to a new Wiki page called "link" with the text "title" displayed for the URL.If the link is a complete URL, a link to the URL is created. If the link points to a .gif, .jpg, or .png image, the image is rendered directly on the page with "title" as ALT text.
~TestText
Disables link creation for a CamelCase word.CamelCase words are two or more uppercase words with no spaces. By default, a CamelCase word automatically creates a link to a new Wiki page.
[[link]
Creates the text "[link]." 
[{IFramePlugin 
url='http://open.collab.net/' 
width='100%' height='500' 
border='1' scrolling='yes' 
align='center'}]
            
Embeds an iframe into a wiki page.
  • attachment: Attachment path, e.g. 'IFramePlugin.jar(info)'
  • url: A URL, e.g 'http://www.google.com'
  • align: Align the iFrame to left/center/right
  • border: Whether there is a border or not
  • width: Width of the iFrame
  • height: Height of the iFrame
  • marginwidth: Margin width of the iFrame
  • marginheight: Margin height of the iFrame
  • scrolling: Whether the iFrame can be scrolled or not

See http://www.ecyrd.com/JSPWiki/wiki/iFramePlugin

Tab Completion <Keyword+Tab>
You can type a keyword and hit the Tab key (under the Tab Completion mode). The editor will fill in with a sample template for the specific markup represented by the keyword.
  • link:Inserts a sample link.
  • h1:Inserts level 1 heading sample.
  • h2:Inserts level 2 heading sample.
  • h3:Inserts level 3 heading sample.
  • bold:Inserts a bold text sample.
  • italic:Inserts an italics text sample.
  • mono:Inserts a mono text sample.
  • mono:Inserts a mono text sample.
  • sup:Inserts a superscript sample.
  • sub:Inserts a subscript sample.
  • strike:Inserts a strike through text sample.
  • br:Inserts a line break.
  • hr:Inserts a horizontal line.
  • pre:Inserts a pre-formatted text sample.
  • code:Inserts a code block sample.
  • dl:Inserts a definition list block sample.
  • toc:Inserts the Table of Contents plugin syntax.
  • tab:Inserts a sample tabbed section block syntax.
  • table:Inserts a sample table syntax.
  • img:Inserts a sample image plugin syntax.
  • quote:Inserts a sample quoted text block.
  • sign:Inserts the user's signature.

Attachments for wiki pages

SyntaxEffectDetails
[WikiPageName/attachmentName]
Embeds an attachment in the page.If the attachment is a .gif, .jpg, or .png image file, the attachment will be embedded in the page; otherwise, the name of the attachment will display as a downloadable link. After adding attachments, the exact syntax for including the current page's attachments is shown next to each attachment's name in the Attachments section of the Edit Wiki page. You can use the same syntax to embed attachments from other wiki pages in the same project.
[{InsertAttachment
page='WikiPage/attachment'}]
Inserts the contents of an attachment (text file) into a page.If the attachment is a text file, the content of the text file is inserted into the page. For more information, click here.
Note:
  • This markup is for inserting content of a text file.
  • Files with the following extensions are allowed as attachment: .txt, .html, .xml, .cpp and .java.
  • In addition to image files, inserting files with the following extensions is not supported by this markup: .doc, .xls, .pdf, .zip, .jar.
[{Mediaplayer src='fileName.wmv'}]
Embeds a Windows Media Player or Quicktime Player on a wiki page.
  • src: Media URL / Attachment file name
  • playertype: "mediaplayer" / "quicktime"
  • width, height: Dimension of the embedded media displayed
  • movieheight, moviewidth: Dimension of the display screen
  • caption: Caption to be displayed below the media player
  • control: Displays Control bar. mediaplayer: 1 (Show) / 0 (Hide); quicktime: true (Show) / false (Hide)
  • autostart: Play automatically. mediaplayer: 1 (Auto) / 0 (Manual, Click to play); quicktime: true (Auto) / false (Manual, Click to play)
  • autorewind: Automatically rewinds when play ends. mediaplayer: 1 (Auto Rewind) / 0 (Play once); quicktime: true (Auto Rewind) / false (Play once)
  • playcount: Number of times the movie will play. 0 represents always play.

See http://www.ecyrd.com/JSPWiki/wiki/MediaPlayerPlugin

[{INSERT ExcelToHTMLPlugin 
src='WikiPage\somesheet.xls'}] 
or 
[{INSERT ExcelToHTMLPlugin 
border='1' 
src='\\the_server\somesheet.xls'}] 
Reads a Microsoft Excel file and displays it as an HTML table.

Parameters:

  • src: URL / Attachment file name
  • srcsheet: Sheet name
  • height: height attribute for the html table
  • width: width attribute for the html table

More at http://www.ecyrd.com/JSPWiki/wiki/ExcelToHTMLPlugin

[{arnaud.Flash 
src='yourAttachedFlash.swf'}]
Embeds a Flash Player on your wiki page.
  • width='n'
  • height='n'
  • controls='true|false'
  • play='true|false'
  • loop='true|false'
  • parameters='param1=value1, &param2=value2'

See http://www.ecyrd.com/JSPWiki/wiki/AFlashPlugin

[{IFramePlugin 
url='http://open.collab.net/' 
width='100%' height='500' 
border='1' scrolling='yes' 
align='center'}]
            
Embeds an iframe into a wiki page.
  • attachment: Attachment path, e.g. 'IFramePlugin.jar(info)'
  • url: A URL, e.g 'http://www.google.com'
  • align: Align the iFrame to left/center/right
  • border: Whether there is a border or not
  • width: Width of the iFrame
  • height: Height of the iFrame
  • marginwidth: Margin width of the iFrame
  • marginheight: Margin height of the iFrame
  • scrolling: Whether the iFrame can be scrolled or not

See http://www.ecyrd.com/JSPWiki/wiki/iFramePlugin

 更多语法请查看 TeamForge 8.0 > Work with TeamForge > Reference library > Reference information for project members > Wiki syntax

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值