]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - locale/zh/pgsrc/OldTextFormattingRules
Remove pgsrc_version
[SourceForge/phpwiki.git] / locale / zh / pgsrc / OldTextFormattingRules
1 Date: Sat,  4 Jul 2009 17:26:40 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks)
3 X-Rcs-Id: $Id$
4 Content-Type: application/x-phpwiki;
5   pagename=OldTextFormattingRules;
6   flags=PAGE_LOCKED;
7   charset=UTF-8
8 Content-Transfer-Encoding: binary
9
10 ! Synopsis
11 OldTextFormattingRules%%%
12 __Emphasis:__ '____' for ''italics'', _''''_ for __bold__, '____'_''''_ for ''__both__''.%%%
13 __Lists:__ * for bullet lists, # for numbered lists, ''__;__ term __:__ definition'' for definition lists.%%%
14 __References:__ !JoinCapitalizedWords or use square brackets for a [[page link] or URL [[!http://cool.wiki.int/].%%%
15 __Footnotes:__ Use [[1],[[2],[[3],...%%%
16 __Preventing linking:__ Prefix with "!": !!DoNotHyperlink, name links like [[[[text | URL] (double up on the "[").%%%
17 __Misc:__ "!", "!!", "!!!" make headings, "%%''''%" makes a linebreak, "-''''-''''-''''-" makes a horizontal rule.
18
19 ----
20 ! Paragraphs
21
22 * Don't indent paragraphs
23 * Words wrap and fill as needed
24 * Use blank lines as separators
25 * Four or more minus signs make a horizontal rule
26 * %%''''% makes a linebreak (in headings and lists too)
27
28
29 ! Lists
30
31 * asterisk for first level
32 ** asterisk-asterisk for second level, etc.
33 * Use * for bullet lists, # for numbered lists (mix at will)
34 * semicolon-term-colon-definition for definition lists:
35 ;term here:definition here, as in the <DL><DT><DD> list
36 * One line for each item
37 * Other leading whitespace signals preformatted text, changes font.
38
39 ! Headings
40
41 * '!' at the start of a line makes a small heading
42 * '!!' at the start of a line makes a medium heading
43 * '!!!' at the start of a line makes a large heading
44
45 ! Fonts
46
47 * Indent with one or more spaces to use a monospace font:
48
49  This is in monospace
50 This is not
51
52 !Indented Paragraphs
53
54 * semicolon-colon -- works like <BLOCKQUOTE>
55
56 ;: this is an indented block of text
57
58 ! Emphasis
59
60 * Use doubled single-quotes ('____') for emphasis (usually ''italics'')
61 * Use doubled underscores (_''''_) for strong emphasis (usually __bold__)
62 * Mix them at will: __''bold italics''__
63 * ''Emphasis'' can be used ''multiple'' times within a line, but ''cannot'' cross line boundaries:
64
65 ''this
66 will not work''
67
68 ! References
69 * Hyperlinks to other pages within the Wiki are made by placing the page name in square brackets: [this is a page link] or UsingWikiWords (preferred)
70 * Hyperlinks to external pages are done like this: [http://www.wcsb.org/]
71 * You can name the links by providing a name, a bar (|) and then the hyperlink or pagename: [PhpWiki home page | http://phpwiki.sourceforge.net/]  - [the front page | HomePage]
72 * You can suppress linking to old-style references and URIs by preceding the word with a '!', e.g. !NotLinkedAsWikiName, !http://not.linked.to/
73 * You can create footnotes by using [[1], [[2], [[3], ... like this here [1]. See footnote for counterpart.  (If the [[ is in the first column, it is a footnote ''definition'' rather than a footnote ''reference'' [1].)
74 * Also, the old way of linking URL's is still supported: precede URLs with "http:", "ftp:" or "mailto:" to create links automatically as in: http://c2.com/
75 * URLs ending with .png, .gif, or .jpg are inlined if in square brackets, by themselves: [http://phpwiki.sourceforge.net/demo/themes/default/images/png.png]
76
77 ! Tables
78
79 * Simple tables are available.  A table row is introduced by a __|__ in the first column.  It is best described by example:
80       ||  _''''_Name_''''_               |v _''''_Cost_''''_   |v _''''_Notes_''''_
81       | _''''_First_''''_   | _''''_Last_''''_
82       |> Jeff       |< Dairiki   |^  Cheap     |< Not worth it
83       |> Marco      |< Polo      | Cheaper     |< Not available
84 ;: will generate
85 ||  __Name__               |v __Cost__   |v __Notes__
86 | __First__   | __Last__
87 |> Jeff       |< Dairiki   |^  Cheap     |< Not worth it
88 |> Marco      |< Polo      | Cheaper     |< Not available
89
90 ;: Note that multiple __|__'s lead to spanned columns, and __v__'s can be used to span rows.  A __>__ generates a right justified column, __<__ a left justified column and __^__ a centered column (which is the default.)
91
92
93 ! HTML Mark-Up Language
94
95 * Don't bother
96 * < and > are themselves
97 * The & characters will not work
98 * If you really must use HTML, your system administrator can enable this feature. Start each line with a bar (|). Note that this feature is disabled by default.
99
100 ! More detail than you want to know
101
102 See [MagicPhpWikiURLs] for gory details on how to write
103 various kind of wiki maintainance links.
104
105 -----
106
107 Footnotes:
108
109 [1] By using [[1] a second time (in the first column) the footnote itself is ''defined''.  You may refer to a footnote as many times as you want, but you may only define it once on the page.  Note the the [[1] in the footnote links back to the first reference, if there are multiple references there will be +'s after the [[1] which will link to the other references.  (References which come ''after'' the footnote ''definition'' will not be linked to.)
110 ----
111 PhpWikiDocumentation