[Home]TextFormattingRules

HomePage | RecentChanges | Preferences

Showing revision 35
Difference (from revision 35 to revision 35) (minor diff, author diff)
(The revisions are identical or unavailable.)

Wiki Text Formatting Rules

Borrowed from the Usemodwiki [site]

Simple editing is one of the major benefits of using a wiki. Users can edit pages without knowing HTML, and still use many formatting features of HTML. Most wikis define a set of formatting rules to convert plain text into HTML. Some wikis (like this one) also allow some HTML "tags", like <b>, <i>, and <pre> within a page. (Some wikis use raw HTML instead of special formatting rules.)

| Tips | Hints The following text is an overview of the UseModWiki? [Aria Giovanni] text formatting rules. For examples without all the explanatory text, see the TextFormattingExamples?. To try these rules for yourself, please feel free to edit the SandBox page. To see how any page is formatted, just follow the link "Edit text of this page" at the bottom of the page.

Basic Text Formatting:

Entering text on a wiki can be done simply. Follow these guidelines:
Repetition of the first character on the line generally increases the indentation or emphasis

Additional Text Formatting Rules:

/WikiTextFormatting?
/WikiLists?
/WikiHeadings?
/WikiImages?
/WikiLines?

Page, URL, and InterWiki? Links:

You can link to a page by removing the spaces between two or more words, and starting each word with a capital letter. For instance, WikiName? and TextFormattingExamples? are samples of page links.

Nonexistent pages, like SampleUndefinedPage?, will be displayed with a question mark link. The question mark link indicates the page doesn't exist yet--follow the link to create and edit the page. [The sample page used here is a special example page--you can't define it.]

Inline link: http://www.usemod.com/cgi-bin/mb.pl?SandBox -- http://www.usemod.com/cgi-bin/mb.pl?SandBox

Inline link: [with anchor] -- [http://www.usemod.com/cgi-bin/mb.pl?SandBox with anchor]

InterWiki? link: UseMod?:InterWiki? -- UseMod:InterWiki

You can separate links from adjacent text with spaces or the special "" (two double-quotes) delimiter. The "" delimiter is not displayed--it is useful for cases like plural forms of page links (such as UseModWiki?s). In nearly all cases trailing punctuation is ignored, so you can safely make links like http://www.usemod.com/, without the trailing comma being part of the link. You can also use FreeLinks.

Lists:

Simple lists:
* Text for a bulleted list item.
** Text for second-level list.
*** Text for third level, etc.
---

...which looks like:

Numbered lists:

# Text for a numbered list item.
## Text for second-level list.
### Text for third level, etc.
## Another Text for the second level.

...which looks like:

  1. Text for a numbered list item.
    1. Text for second-level list.
      1. Text for third level, etc.
    2. Another Text for the second level.

Definition Text:

Term with indented definition: [without a blank line between term and definition]
;Term:Definition (indented)
;;Term (indented):Definition (indented two levels)
;;;Term (indented twice):Definition (indented to third level)

...which looks like:

Term
Definition (indented)
Term (indented)
Definition (indented two levels)
Term (indented twice)
Definition (indented to third level)

Images

Just provide the URL, and the image will be inserted inline.

These extensions are recognized: gif, jpg, png, bmp, jpeg

If you have a choice, results are usually best with png for computer generated images, and JPEG for photographic images.

Preformatted Text

Individual lines can be displayed as preformatted (fixed-width or "typewriter"-font) text by placing one or more spaces at the start of the line. Other wiki formatting (like links) will be applied to this kind of preformatted text.

Additionally, multi-line sections can be marked as pre-formatted text using lines starting with <pre> (to start pre-formatted text), and </pre> (to end preformatted text). The <pre> and </pre> tags are not displayed. Wiki links and other formatting is not done within a preformatted section. (If you want wiki formatting, use spaces at the start of the line instead of the <pre> and </pre> tags.)

For instance:

[http://www.51asa.com/index2.htm pw]
Pre-formatted section here.  No other link
  or format processing
is done on pre-formatted sections.
For instance, UseModWiki is not a link here.
and:

   This is the starting-spaces version of
   preformatted text.  Note that links like
   UseModWiki? still work.

Miscellaneous rules:

HTML


[xanthan gum] [coal] [teflon tape] [ptfe thread seal tape] [ptfe tape] [遥控车库门,遥控庭院门] [遥控车库门] [遥控庭院门] [平移门开门机] [平开门开门机] [电影] [电影下载] [免费电影下载] [门禁] [考勤] [GMAT] [婚庆,庆典] [读卡器] [UI设计] [工业设计] [Extruder] [门禁] [考勤] [读卡器] [门禁] [系统性红斑狼疮] [加湿器] [触摸屏] [婚庆,庆典] [学车,上海驾校] [净化] [过滤] [装修污染] [门禁] [考勤] [读卡器] [涂料] [车载免提] [蓝牙耳机] [回音消除] [蓝鸟蓝牙耳机] [健身器材] [跑步机] [按摩椅] [健身器材] [跑步机] [按摩椅] [oa] [激光雕刻] [清洗机,超声波清洗设备] [门禁,停车场,一卡通] [UI设计] [工业设计] [安防] [月饼] [触摸查询一体机] [空气净化] [臭氧] [netscreen] [netscreen] [China flower] [China flowers] [xanthan gum] [网站建设] [网站推广] [润滑脂,高温脂,防锈油] [合成油,齿轮脂,合成齿轮油] [塑胶脂,高温链条油,密封脂,阻尼脂] [北京公寓|酒店式公寓] [商标] [专利] [Azamethiphos] [smt] [实验室设备] [性用品,口服避孕药] [性用品,口服避孕药] [数据恢复,硬盘数据恢复] [水处理] [粉碎机] [碎石机] [木粉机] [制砂机] [振动筛] [颚式破碎机] [破碎机] [狼疮] [红斑狼疮] [洗地机,扫地机,超声波清洗机,清洗机,抛丸机,清洗设备,高压清洗] [门禁] [门禁,一卡通,停车场] [coal] [单片机] [安防] [英语培训] [英语口语] [进口轴承] [减速机] [步进电机] [运动控制卡] [数控系统] [伺服电机] [嵌入式系统] [婚庆] [商标] [专利] [北京公寓|酒店式公寓] [netscreen] [门禁] [考勤] [读卡器] [涂料] [oa] [办公自动化] [二手笔记本,笔记本电脑] [润滑脂,高温脂,防锈油] [合成油,齿轮脂,合成齿轮油] [塑胶脂,高温链条油,密封脂,阻尼脂]


HomePage | RecentChanges | Preferences
This page is read-only | View other revisions | View current revision
Edited September 14, 2004 11:40 pm by 218.57.143.xxx (diff)
Search: