[Home]TextFormattingRules

HomePage | RecentChanges | Preferences

Showing revision 25

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.
--- Testing, testing:

http://forums.merkey.net?

The ultimate [[Nigritude Ultramarine]] shall beat the other [| Nigritude Ultramarine] that was made by <a href="http://forums.merkey.net">Nigritude Ultramarine</a> Phillip. Taste your own medicine, Phil. It works! w00t!
Testing, testing:

http://forums.merkey.net?

The ultimate [[Nigritude Ultramarine]] shall beat the other [| Nigritude Ultramarine] that was made by <a href="http://forums.merkey.net">Nigritude Ultramarine</a> Phillip. Taste your own medicine, Phil. It works! w00t!
Testing, testing:

http://forums.merkey.net?

The ultimate [[Nigritude Ultramarine]] shall beat the other [| Nigritude Ultramarine] that was made by <a href="http://forums.merkey.net">Nigritude Ultramarine</a> Phillip. Taste your own medicine, Phil. It works! w00t!
Testing, testing:

http://forums.merkey.net?

The ultimate [[Nigritude Ultramarine]] shall beat the other [| Nigritude Ultramarine] [英国留学]that was made by <a href="http://forums.merkey.net">Nigritude Ultramarine</a> Phillip. Taste your own medicine, Phil. It works! w00t!
Testing, testing:

http://forums.merkey.net?

The ultimate [[Nigritude Ultramarine]] shall beat the other [| Nigritude Ultramarine] that was made by <a href="http://forums.merkey.net">Nigritude Ultramarine</a> Phillip. Taste your own medicine, Phil. It works! w00t!
Testing, testing:

http://forums.merkey.net?

The ultimate [[Nigritude Ultramarine]] shall beat the other [| Nigritude Ultramarine] that was made by <a href="http://forums.merkey.net">Nigritude Ultramarine</a> Phillip. Taste your own medicine, Phil. It works! w00t! --- ...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


[sony投影机] [室内空气质量检测仪] [新风量二氧化碳检测仪] [温湿度风速大气压力计] [智能数字粉尘仪] [甲醛检测仪] [连续测氡仪] [法国MX2100智能毒气检测仪] [传感器] [传感器] [压力传感器] [扭矩传感器] [socks] [socks] [socks] [无线点菜] [风机] [无线模块] [庆典] [礼仪] [接口转换器] [继电器] [婚庆] [真空炉] [热处理] [烧结炉] [钎焊炉] [商务签证|加拿大商务签证] [点焊机] [缝焊机] [凸焊机] [螺柱焊机] [固态继电器] [视频会议] [门禁] [对讲机] [vpn] [继电器] [无线点菜] [风机] [考勤机] [人力资源管理] [避雷器] [防雷器] [汽车隔音] [人力资源管理软件] [脱发] [电话QQ] [生发] [无线模块] [庆典] [礼仪] [打印机维修] [复印机维修] [制氧机] [托盘] [露点仪] [变压器] [栈板]] [真空泵] [周易] [脱发] [生发] [光端机] [干洗|干洗机] [起名] [ccc certification] [传感器] [gis] [电气软件] [cad] [检漏仪] [低温泵] [起名|取名] [音乐喷泉] [电气软件] [cad] [接口转换器] [水泵] [阀门] [速记] [门禁] [移民] [医药电子商务] [小型机] [磁带机] [电视卡] [手机信号屏蔽器] [婚庆] [音响] [制氮机] [保温材料] [GIS] [电子政务] [视频会议] [视频会议] [婚庆] [婚庆] [网络推广] [网站推广] [视频监控] [sdh] [郑和] [企业管理软件] [移民] [人力资源管理] [人力资源管理软件] [电话QQ] [周易] [传感器] [ccc certification] [google排名]

[加拿大旅行社] [加拿大旅游] [加拿大签证] [加拿大旅游] [加拿大签证] [机柜] [网络分析仪] [频谱分析仪] [光网卡|光纤网卡] [数字光端机] [视频光端机] [监控光端机] [光端机] [光纤收发器] [光纤收发器] [光电转换器] [接口转换器] [协议转换器] [月饼]


HomePage | RecentChanges | Preferences
This page is read-only | View other revisions | View current revision
Edited August 31, 2004 8:17 pm by 210.82.76.xxx (diff)
Search: