`

TeamForge Wiki Syntax & CollabNet User Information Center

阅读更多

the 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
Effect Details
----
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

 

Syntax
Effect Details
[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

Syntax Effect Details
[{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

Syntax Effect Details
[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

分享到:
评论

相关推荐

    vim的wiki插件 vimwiki

    vimwiki 在 vim官网所有插件中 好评排第三。 此包中含有五个文件: vimwiki1.2 包 vimwiki2.0 最新包,刚刚发布的 介绍及文档 Vimwiki1.1.1QR.pdf Vimwiki syntax markup.html vimwiki_Description.txt 感谢vim...

    The Python Quick Syntax Reference

    This Python syntax reference is packed with useful information and is a must-have for any Python developer. What you’ll learn Variables, strings, lists, dictionaries and conditional statements are ...

    语法高亮插件vue-syntax-highlight

    Vue Syntax Highlight 插件正是为了解决这个问题而诞生的,它专为Vue.js开发环境提供代码高亮功能。在Sublime Text这样的文本编辑器中,这个插件能显著提升开发者的编码体验。 Vue Syntax Highlight 插件为Vue模板...

    CSS Quick Syntax Reference

    The CSS Quick Syntax Reference is a 150-page syntax reference to the Cascading Style Sheet specification and style sheet language. It presents the essentials of CSS in a well-organized format that can...

    syntax

    在编程和计算机科学中,"syntax" 是一个至关重要的概念,它涉及到任何编程语言或标记语言的结构和规则。语法是编程语言的骨架,定义了如何正确地编写代码,使得计算机能够理解和执行这些指令。在这里,我们将深入...

    解决 pip 安装过程中出现的SyntaxError invalid syntax错误技巧

    内容概要:当遇到‘pip install xxx’命令时出现 SyntaxError: invalid syntax 错误时,文中总结了多个可能的原因以及解决方案,包括确认命令执行环境、Python 与 pip 版本一致性检查、正确安装 pip、确保命令格式...

    jedit-syntax-2.2.2.zip_jedit-syntax-2.2.2_语法高亮

    本文将详细解析"jedit-syntax-2.2.2.zip"压缩包中的语法高亮组件,帮助用户更好地理解和利用这一强大的工具。 首先,"jedit-syntax-2.2.2"是jEdit的一个特定版本,该版本包含了对多种编程语言的语法高亮支持。语法...

    Markdown.sublime-syntax

    解决Sublime TEXT 3 安装 Markdown Editing 插件 出现错误 "Error loading syntax file "Packages/Markdown/Markdown.sublime-syntax":Unable to read Packages/Markdown/Markdown.sublime-syntax

    php-geshi-syntaxerror: invalid syntax

    Generic syntax highlighter syntaxerror: invalid syntax syntaxerror: invalid syntax syntaxerror: invalid syntax syntaxerror: invalid syntax syntaxerror: invalid syntax

    Idea插件:全局自动设置代码高亮级别为 Syntax

    Idea和Android Studio【插件】全局自动设置代码高亮级别为 Syntax 设置全局 highlighting level 为 Syntax 提升性能,更好地编辑代码! https://blog.csdn.net/sinat_27171121/article/details/129973447

    JSON Quick Syntax Reference [2016]

    JSON Quick Syntax Reference Apress | Software Engineering | 2016 A unique compact reference on JSON JSON is important for today's enterprise and big data web developers Uses popular open source IDEs...

    lidar_undistortion_2d-syntaxerror: invalid syntax

    syntaxerror: invalid syntax syntaxerror: invalid syntax syntaxerror: invalid syntax syntaxerror: invalid syntax syntaxerror: invalid syntax

    vimwiki.txt

    - `let g:vimwiki_ext2syntax = {'.wiki': 'markdown'}` #### 十二、帮助文档 Vimwiki 提供了详细的帮助文档,用户可以通过 `:help vimwiki` 命令来获取更多信息。 #### 十三、开发者指南 对于希望为 Vimwiki ...

    invalid syntax是语法错误.docx

    "Invalid Syntax"错误是编程语言中常见的一个错误类型,它表示你的代码中存在不符合该语言语法规则的部分。在Python这种解释型语言中,当解释器遇到无法理解的代码结构时,就会抛出"Invalid Syntax"错误。这个错误...

    vue-syntax-highlight-master

    1. **确认插件安装正确**:首先,确保你已经成功地将 "vue-syntax-highlight" 安装到了 Sublime Text 的 Package Control 中。可以通过 `Cmd+Shift+P` (Mac) 或 `Ctrl+Shift+P` (Windows/Linux) 打开命令面板,然后...

    invalid syntax是什么错误

    "Invalid syntax"错误是编程语言中非常基础但关键的一个错误类型,主要出现在Python等解释型语言中。这个错误表示你的代码中存在不符合语法规则的部分,导致编译器或解释器无法理解你的意图。在Python中,语法是极其...

    Wiki:个人Wiki

    let g: vimwiki_list = [{ ' path ' : ' ~/src/github.com/user340/wiki/ ' , ' syntax ' : ' markdown ' , ' ext ' : ' md ' }] git pull进入$HOME/src/github.com/user340目录。 用法 语言 日本人

    PKCS #12 v1.0---Personal Information Exchange Syntax.

    PKCS #12 v1.0个人信息交换语法分析 PKCS #12 v1.0是个人信息交换语法的标准,描述了私钥、证书、各种形式的秘密值及其扩展的传递语法。该标准的出现旨在解决个人身份标识信息的传递问题,使得用户能够方便地导入、...

    ClickHouse数据分析引擎入门到精通

    01_ClickHouse总体_课程...27_ClickHouse高级_执行计划_syntax&pipeline.mp4 29_ClickHouse高级_建表优化_注意数据类型.mp4 31_ClickHouse高级_表参数&写入和删除优化.mp4 32_ClickHouse高级_CPU参数设置.mp4 33_Cli

Global site tag (gtag.js) - Google Analytics