[Home]TextFormattingRules

HomePage | RecentChanges | Preferences

Showing revision 27

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


[二氧化氯] [温湿度] [管道] [催化剂] [电子秤] [电加热器] [开关柜] [建材机械] [保险柜] [电路板] [乳胶漆] [工程塑料] [特许经营] [楼宇自控] [喷码机] [液位计] [聚丙烯酰胺] [电磁铁] [超市设备] [薄膜开关] [指纹考勤] [渔具] [跑步机] [防腐设备] [锁具] [弹簧] [纸箱] [煤炭] [保龄球] [木地板] [家用电器] [植绒] [钻头] [冲压件] [建筑机械] [实木地板] [捏合机] [整流器] [酒店用品] [升降台] [转换器] [软件下载] [喷砂机] [制罐] [工业炉] [生产线] [瓷器] [搅拌机] [印刷机械] [综合布线] [避雷器] [减震器] [色织] [燃烧器] [机电设备] [防雷器] [地坪] [纸品] [冷弯型钢] [木工机械] [物流设备] [铁塔] [非开挖] [热电偶] [保险箱] [吸塑机] [喷漆] [过滤材料] [电刷] [1] [采暖] [机械加工] [照相器材] [电镀原料] [毛毡] [交通设施] [消毒机] [压滤机] [刻字机] [接口转换器] [电视电话会议] [贴纸相机] [橡胶机械] [喷泉设备] [丝印] [精细化工] [塑胶玩具] [五金模具] [电子设备] [企业形象设计] [指纹识别] [搬运车] [牛仔布] [电动车配件] [会议系统] [终端服务器] [录音笔] [球磨机] [园林设计] [路由器] [手套箱] [实验室设备] [童装] [手机美容] [户外用品] [证卡] [机床附件] [彩电] [酒店管理] [电话录音] [油墨] [布线] [蜡烛] [印刷包装] [表面活性剂] [节能灯] [调味品] [齿轮] [高压泵] [红外热像仪] [塑料托盘] [吊带] [工业锅炉] [休闲服] [反光材料] [印刷设备] [足球推介] [热处理] [压铸] [商标注册] [喷灌] [逆变器] [输送带] [锻造] [车库门] [体育器材] [太阳能热水器] [绝缘材料] [焊管] [鼓风机] [试验] [插座] [艺术品] [矿山机械] [图像监控] [无缝钢管] [激光切割] [标签打印机] [燃气表] [手机配件] [卫星定位] [印染] [玻璃机械] [铝型材] [注塑] [液压升降机] [打标机] [工具柜] [焚烧炉] [电力设备] [干燥剂] [计量泵] [程控交换机] [空压机] [压缩机] [装修] [团购] [门禁] [虚拟主机] [fireworks] [gemstone globe] [监控] [网址大全] [虚拟主机] [fireworks]


HomePage | RecentChanges | Preferences
This page is read-only | View other revisions | View current revision
Edited September 7, 2004 10:47 pm by 60.25.122.xxx (diff)
Search: