Help/TextFormattingRules

Synopsis

Emphasis: // for italics, ** for bold, **//...//** for both, ## for fixed width.
Lists: * for bullet lists, # for numbered lists; use multiple * or # for nested lists.
Headings: "==", "===", "====", etc. make headings.
Preformatted text: Enclose text in {{{...}}} or <pre></pre>.
Indented text: Indent the paragraph with whitespaces.
References: use double square brackets for a [[page link]] or URL [[http://cool.wiki.int/]].
References: use pipe | to name the links: [[page link|some text]] or [[http://cool.wiki.int/|some text]].
Preventing linking: Prefix with "~": ~DoNotHyperlink.
Misc: "\\" makes a linebreak, "----" makes a horizontal rule.
Allowed HTML tags: b big i small tt em strong s strike abbr acronym cite code dfn kbd samp var sup sub
More: tables, images, table of contents, plugins

More explanations: Help:TextFormattingRules

Character Formatting

Emphasis

  • Use a double slash (//) for emphasis (usually italics)
  • Use a double asterisk (**) for strong emphasis (usually bold)
  • Mix them at will: bold italics
  • Emphasis can be used multiple times within a paragraph, but cannot cross paragraph boundaries:

// this

will not work//

Monospace

Monospace text is made using two hashes:

This sentence contains ##monospace text##.

This sentence contains monospace text.

Superscript

Superscript text is made using two carets:

The XX^^th^^ century.

The XXth century.

Subscript

Subscript text is made using two commas:

Water is H,,2,,O.

Water is H2O.

Fonts

There's no syntax for font tags.

Color Text

It is possible to write text in color.

%color=green% green text %% and back to normal

will give:
green text and back to normal

The easiest way to do it is to use the COLOR button in the Edit Toolbar. The text will be in green by default. You can then change the color.

Allowed colors are:

  • an HTML color number (# followed by 3 or 6 digits),
  • the following predefined color names:

aqua

beige

black

blue

brown

chocolate

cyan

fuchsia

gold

gray

green

ivory

indigo

lime

magenta

maroon

navy

olive

orange

pink

purple

red

salmon

silver

snow

teal

turquoise

violet

white

yellow

Note: you can put the headers in color, but only if you do not have a table of content. For now, the table of content is incompatible with color headers.

Escape Character

The tilde '~' is the Escape Character:

  • A single tilde '~' followed by nothing gets rendered as a single tilde. => ~
  • Two tilde '~~' get rendered as a single tilde. => ~
  • A single tilde before a link ('~http://foo.bar') prevents linking. => http://foo.bar
  • Two tildes before a link ('~~http://foo.bar') produce a tilde followed by the hyperlinked URL. => ~http://foo.bar
  • A tilde inside an URL gets removed, unless it's formatted inside square brackets.
  • Two tildes inside an URL (without brackets) become a single tilde. => http://foo.bar/~user or http://foo.bar/~user

Special Characters

All special non-whitespace HTML characters are displayed as-is. Exceptions below.

Paragraphs

  • Don't indent paragraphs
  • Words wrap and fill as needed
  • Use blank lines as separators
  • Four or more minus signs make a horizontal rule
  • "\\", "%%%" or "<br>" makes a linebreak (in headings and lists too)

Lists

Unordered lists

Recommended syntax (Wikicreole):

  • asterisk for first level
  • double asterisk for second level, etc.

Be sure to put a space after the asterisk.

You can also use indented asterisk for second level (indent at least two spaces).

Ordered lists

Recommended syntax (Wikicreole):

  • # for first level
  • double # for second level, etc.

Be sure to put a space after the hash sign.

You can also use indented # for second level (indent at least two spaces).

Definition lists

Term:
  definition

gives

Term
definition

Remark

Items may contain multiple paragraphs and other multi-lined content, just indent the items

Headings

Wikicreole syntax (recommended)

  • '==' at the start of a line makes a large heading (h2)
  • '===' at the start of a line makes a medium heading (h3)
  • '====' at the start of a line makes a small heading (h4)
  • '=====' at the start of a line makes a smaller heading (h5)
  • '======' at the start of a line makes a tiny heading (h6)

Classic Phpwiki syntax

  • '!!!' at the start of a line makes a large heading (h2)
  • '!!' at the start of a line makes a medium heading (h3)
  • '!' at the start of a line makes a small heading (h4)

Preformatted text

Place the preformatted text between three opening curly brackets and three closing curly brackets:

{{{
Preformatted text. ~WikiLinks do not work.
}}}

gives

Preformatted text. WikiLinks do not work.

If you want Wiki interaction, place preformatted lines inside <pre>:

<pre>
Preformatted text. WikiLinks still work.
</pre>

gives

Preformatted text. WikiLinks still work.

Indented Paragraphs

Two or more whitespaces signal indented text. Indents may be nested.

This is an indented block of text.

This block is even more indented.

E-mail style block-quoting is supported as well:

> This is block-quoted text.

renders as

This is block-quoted text.

References

  • Hyperlinks to other pages within the Wiki are made by placing the page name in double square brackets: this is a page link. Single brackets or WikiWords will also work.
  • Hyperlinks to external pages are done like this: http://www.wcsb.org/
  • You can name the links by providing the hyperlink or pagename, a pipe (|) and then the name: PhpWiki home page, the front page
  • You can suppress linking to URIs by preceding the word with a '~', e.g. NotLinkedAsWikiName, http://not.linked.to/
  • 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/
  • URLs ending with .png, .gif, or .jpg are inlined if in square brackets, by themselves:
  • You can create footnotes by using [1], [2], [3], ... like this here #[|ftnt

_ref_1][1]. See footnote for counterpart. (If the [ is in the first column, it is a footnote definition rather than a footnote

reference [1].)

  • In-page hyperlinks are made by placing a named anchor and referring to the anchor in a hyperlink:

    • Named anchors:

      • #[[foo]]: An anchor around the text "foo" with id "foo".
      • #[[|foo]]: An empty anchor with id "foo".
      • #[[howdy|foo]]: An anchor around the text "howdy" with id "foo".
    • References to name anchors are made thusly:
      [[#hyperlinks]], [[OtherPage#foo]], [[OtherPage#foo|named]].
  • Semantic links are named links like: is_a::WikiPage and attributes like size:-4000.
  • A pagelink within square brackets starting with ":" is not backlinked.

Images

An inline image is created with curly brackets. An alternate text can be put after a pipe. If there is none, an empty alternate text will be created.

{{myimage.png}}
{{myimage.png|this is the alt text for my image}}
[[some link|{{myimage.png}}]] - if you click on the image, will goto "some link"
[[some link|{{myimage.png|alt text}}]] - same with alternative
[[http://example.com/|{{myimage.png}}]] - same as above: picture links to url
[[http://example.com/|{{myimage.png|alt text}}]] - same with alternative

Tables

Wikicreole tables

All cells are separated by single pipes. Leading spaces are permitted before the first cell of a row and trailing spaces are permitted at the end of a line. The ending pipe is optional.

You can embed links, bold, italics, line breaks, and nowiki in table cells.

Equal sign directly following pipe defines a header. Headers can be arranged horizontally or vertically.

|=Heading Col 1 |=Heading Col 2         |
|Cell 1.1       |Two lines\\in Cell 1.2 |
|Cell 2.1       |Cell 2.2               |

will give:

Heading Col 1 Heading Col 2
Cell 1.1 Two lines
in Cell 1.2
Cell 2.1 Cell 2.2

Mediawiki tables

See Help:MediawikiTablePlugin.

Definition list style tables

Definition list style tables are written just like definition lists, except that you replace the trailing colon on the term with a "pipe" (|).

Term 1 |
   Definition 1 begins here.
   Term 1.1 |
      Definition 1.1
   Term 1.2 |
      Definition 1.2
   This is part of definition 1.
Term 2 |
   Here's definition 2.

will give:

Term 1

Definition 1 begins here.

Term 1.1 Definition 1.1
Term 1.2 Definition 1.2

This is part of definition 1.

Term 2 Here's definition 2.

Old-style tables

See: Help:OldStyleTablePlugin

HTML Mark-Up Language

  • Some in-line markup is allowed through the use of HTML tags: b, big, i, small, tt, em, strong, abbr, acronym, cite, code, dfn, kbd, samp, var, sup and sub
  • < and > are themselves
  • The & characters will not work

Creating various kinds of special links

See Help:MagicPhpWikiURLs for gory details on how to write various kind of wiki maintenance and other special links.

Inserting plugins

Several plugins permit embedding additional functionality to Wiki pages. For example,

<<BackLinks page=HomePage info=hits>>

gives

247 pages link to HomePage:
|<<   << - 1 / 5 - Next >>   >>|
|<<   << - 1 / 5 - Next >>   >>|
Page Name. Hits.
Help/TextFormattingRules 13981
PhpWikiAdministration 1072
Help/EditMetaDataPlugin 906
Help/RedirectToPlugin 938
TextFormattingRules 5543
OldTextFormattingRules 419
RedirectToPlugin 402
NewMarkupTestPage 429
OldMarkupTestPage 387
IncludePagePlugin 647
AmperexElectronicCorporation 1142
DeltaElectronics 2112
EimacDivisionOfVarian 941
GatesRadioCompany 829
GatesRadioCatalog99 475
GeneralElectric 2555
GeneralRadio 1295
HallikainenAndFriends 766
MoseleyAssociatesInc 356
Motorola 917
National 864
NemsClarke 820
RCA 921
WesternElectric 1715
Technics 1067
Westinghouse 893
MilitaryRadio 388
Historic Papers 380
Station Histories 263
Ratheon 370
Raytheon 1368
EfJohnson 890
American Electronic Laboratories 1449
Victoreen Instrument Company 971
Anton Electronic Laboratories 1094
Collins Radio 886
HoweTech 888
Belar Electronics Laboratory 2515
Ampex 567
Harris Corporation - Broadcast Division 392
Dorrough Electronics 586
Radio Engineering Laboratories 855
Standard Electronics 800
Amalgamated Wireless (Australiasia) Ltd. 1626
Byer Industries 833
Circuit Research Laboratories 116
Bauer Electronics Corporation 971
Trimax 809
United Transformer Corporation 809
template 394
Philips 989
McMartin 161
ITA 957
Continental Electronics 3562
Magnecord 795
TFT, Inc. 343
Schafer Automation 1346
Gentner 357
Texar 1092
Langevin 1148
Altec 1878
CBS Labs 2867
Pultec 801
Sony 232
3M 210
UREI 152
Frese and Kaping 1120
Revox 145
Federated Purchaser 719
CCA 164
LPB 3325
Hollyanne 745
Telfax 725
Help/OldTextFormattingRules 406
AmministrazioneDiPhpWiki 425
Help/NewMarkupTestPage 400
Help/NewMarkupTestPage 400
Help/NewMarkupTestPage 400
Help/OldMarkupTestPage 388
Help/OldMarkupTestPage 388
Help/OldMarkupTestPage 388
Larcan 1474
Tepco 912
Standard Telephones & Cables. Australia 770
Presto 846
Straight Wire Audio 770
Arrakis Systems, Inc 1866
Consolidated Electronic Industries 792
Aphex Systems Limited 1155
QEI 3087
Multronics 766
ITC 319
Machlett Laboratories 931
Cutting Edge Technologies 785
Bext 1231
Tektronix 253
Electronics Research, Inc. 718
Advanced Research & Technology 1686
Marantz 918
Microcon 787
Broadcast Television Systems 793
Bosch 921
dbx 144
Otari 1077
Crown 2387
Broadcast Electronics 706
ATI 1299
Scully 919
Marti Electronics, Inc. 130
Harman Kardon 1002
Potomac Instruments 132
Broadcast Audio 1982
Andrew Corporation 115
Audio Arts 1005
Bird Electronic Corporation 2801
Dumont 1335
Autogram 3573
Radio Engineering 403
Heathkit 252
Mullard 792
NBC 935
Amperite 1109
McIntosh 1249
Inovonics 1443
Neotek 1668
Moulic Specialties Co. 756
Engineering Services 828
IRC 1142
ESE 2286
Comtech Antenna Corporation 1004
Panasonic 321
Orban 2306
Studer 803
Coastcom 856
Clear-Com 783
Dolby Laboratories 126
CSI 1876
Bell Telephone Laboratories 1320
Pacific Recorders and Engineers 1222
Hewlett Packard 209
Sparta Electronics 305
Tapecaster 2197
Scala 910
Marconi Wireless Telegraph Company 945
Energy-Onix 1599
Modulation Sciences 1735
Burk Technology 2294
Auditronics 2494
Jampro Antenna 97
Dayton Industrial 306
Thompson-CSF 1297
Rust Industrial Company, Inc. 1423
Accurate Sound Corporation 1809
IGM 1105
SMC 1173
Radix 1372
Fidelipac 247
Hughey & Phillips 1497
Microwave Radio Corporation 1739
Broadcast Tools 274
Symmetrix 1639
GatesAir 939
Hallicrafters 1939
Kenwood 1400
Kyocera 1585
Teac 176
Wheatstone Corporation 114
Gorman-Redlich 1229
Studer International AG 987
Data Systems Design 1081
Dana Electronics 1732
American Data 1565
Teletronix Engineering Company 1304
Tentel 986
Taber Manufacturing and Engineering Company 1123
Standart Tape Laboratory 1035
Extel 1159
Russco 996
Automated Broadcast Controls 1187
Electrovoice 998
Jennings 1009
Wegener Communications 963
Midwest Communications 938
Aston 1281
Farallon 1027
Kenneth A. Bacon Associates 899
J. G. S. Engineering Inc. 1004
Continental Satellite Systems 969
ComStream 1410
Conex Electro Systems 900
Denon 1113
Multi-technical Services 940
Electronic Signal Products 1141
Lorain Products Corporation 1029
C & D Batteries 1731
Nova Systems, Inc. 923
Nortronics 2016
Norcom 1247
Lambda Electronics Corp. 1334
US Audio 980
Jensen Transformers 1032
Garner Industries 915
Sescom 1082
Soltec 1077
Peak Audio 906
MCI 1324
MEI 1943
Minicom Division of 3M 1468
Metrotech 1648
Lang Electronics 950
Kinght-kit 1386
Cetec Broadcast Group 1821
Computer Concepts 1158
Dataworld 1099
National Association of Broadcasters 1423
Link, Fred M 968
Weston 1381
Yokogawa Electric Works 1100
Measurements 1408
Electronics Digest 123
Gregg Laboratories 1043
Leeds & Northrup Company 1047
Video Systems of America 915
Simpson Electric Company 1052
Triplett 850
Boonton Radio Corporation 932
Ohmite Manufacturing Company 1169
Contel ASC 684
Audi-Cord Corporation 773
Johnson Electronics 679
Telefile Computer Products, Inc. 921
Realistic 585
Thordarson 581
Sine Systems 742
Telos 651
Harris Allied 581
Broadcasters General Store 821
QRK 697
BME - Broadcast Management Engineering Magazine 1494
Radio Business Report 552
UMC Beaucart 534
Armstrong Transmitter Corporation 5602
Cablewave Systems 523
Aristocart 637
Elgin Electronics 592
Goldline 470
NAD Electronics 937

For more information on plugins see Help:WikiPlugin, and PluginManager for a list of all plugins.