Advanced search
Log In | Get Help   
Home My Page Projects Code Snippets Project Openings OPTIMIZA
Summary Activity Forums Tracker Lists Docs SCM Files Wiki


Wiki Menu
 

PageDump: Help/OldTextFormattingRules


View a wiki page in MIME format or download it as backup of a single page. A complete dump of all pages can be produced in PhpWikiAdministration.

Preview: Page dump of Help/OldTextFormattingRules

(normal formatting: latest revision only)
Date: Wed, 24 Mar 2010 18:47:18 +0100
Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20090116)
Message-Id:
<1314-20090116-1269452838+0200-optimiza%3AHelp%2FOldTextFormattingRules@forge.cesga.es>
Content-Type: application/x-phpwiki;
  pagename=Help%2FOldTextFormattingRules;
  flags=PAGE_LOCKED;
  author=The%20PhpWiki%20programming%20team;
  owner=Project%20Administrators;
  version=1;
  lastmodified=1269452838;
  created=1269452838;
  author_id=The%20PhpWiki%20programming%20team;
  markup=2;
  hits=512;
  charset=UTF-8
Content-Transfer-Encoding: binary

! Synopsis
[OldTextFormattingRules] <br>
<strong>Emphasis:</strong> '<strong></strong>' for <em>italics</em>,
_<em></em>~_ for <strong>bold</strong>,
'<strong></strong>'_<em></em>~_ for
<em><strong>both</strong></em>.%%%
<strong>Lists:</strong> * for bullet lists, # for numbered lists,
<em><strong>;</strong> term <strong>~:</strong> definition</em> for
definition lists.%%%
<strong>References:</strong> ~JoinCapitalizedWords or use square
brackets for a ~[page link] or URL ~[~http~://cool.wiki.int/~].%%%
<strong>Footnotes:</strong> Use ~[1],~[2],~[3],...%%%
<strong>Preventing linking:</strong> Prefix with "~!":
~!~DoNotHyperlink, name links like ~[~[text | URL] (double up on the
"[").%%%
<strong>Misc:</strong> "~!", "~!~!", "~!~!~!" make headings,
"%%<em></em>%" makes a linebreak, "-<em></em>-<em></em>-<em></em>-"
makes a horizontal rule.%%%
<strong>Tables:</strong> »|« as first char, »|« for more columns,
»|>« align right, »|<« align left, »|^« centered (default),
»||« span columns, »|v« span rows

----
! 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
* %%<em></em>% makes a linebreak (in headings and lists too)


! Lists

* asterisk for first level
     * asterisk-asterisk for second level, etc.
* Use * for bullet lists, # for numbered lists (mix at will)
* semicolon-term-colon-definition for definition lists:
;term here:definition here, as in the <DL><DT><DD> list
* One line for each item
* Other leading whitespace signals preformatted text, changes font.

! Headings

* '~!' at the start of a line makes a small heading
* '~!~!' at the start of a line makes a medium heading
* '~!~!~!' at the start of a line makes a large heading

! Fonts

* Indent with one or more spaces to use a monospace font:

<pre>
 This is in monospace
</pre>
This is not

!Indented Paragraphs

* semicolon-colon -- works like <BLOCKQUOTE>

;:this is an indented block of text

! Emphasis

* Use doubled single-quotes ('<strong></strong>') for emphasis
(usually <em>italics</em>)
* Use doubled underscores (_<em></em>_) for strong emphasis (usually
<strong>bold</strong>)
* Mix them at will: <strong><em>bold italics</em></strong>
* <em>Emphasis</em> can be used <em>multiple</em> times within a
line, but <em>cannot</em> cross line boundaries:

''this
will not work''

! References
* 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)
* Hyperlinks to external pages are done like this:
[http://www.wcsb.org/]
* 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]
* You can suppress linking to old-style references and URIs by
preceding the word with a '~!', e.g. ~NotLinkedAsWikiName,
~http://not.linked.to/
* You can create footnotes by using ~[1], ~[2], ~[3], ... like this
here #[|ftnt_ref_1]<sup>~[[1|#ftnt_1]~]</sup>. See footnote for
counterpart.  (If the ~[ is in the first column, it is a footnote
<em>definition</em> rather than a footnote <em>reference</em>
#[|ftnt_ref_1]<sup>~[[1|#ftnt_1]~]</sup>.)
* 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:
[http://phpwiki.sourceforge.net/demo/themes/default/images/png.png]
* Semantic links are named links like: is_a::WikiPage and attributes
like size:-4000.
* A pagelink within square brackets starting with ":" is not
backlinked.

! Tables

* Simple tables are available.  A table row is introduced by a
<strong>|</strong> in the first column.  It is best described by
example:
<pre>
      ||  _<em></em>_Name_<em></em>~_               |v
_<em></em>_Cost_<em></em>~_   |v _<em></em>_Notes_<em></em>~_
      | _<em></em>_First_<em></em>~_   | _<em></em>_Last_<em></em>~_
      |> Jeff       |< Dairiki   |^  Cheap     |< Not worth it
      |> Marco      |< Polo      | Cheaper     |< Not available
</pre>
;:will generate
<?plugin OldStyleTable
||  <strong>Name</strong>               |v <strong>Cost</strong>   |v
<strong>Notes</strong>
| <strong>First</strong>   | <strong>Last</strong>
|> Jeff       |< Dairiki   |^  Cheap     |< Not worth it
|> Marco      |< Polo      | Cheaper     |< Not available
?>

;:Note that multiple <strong>|</strong>'s lead to spanned columns,
and <strong>v</strong>'s can be used to span rows.  A
<strong>></strong> generates a right justified column,
<strong><</strong> a left justified column and <strong>^</strong> a
centered column (which is the default.)
;:With the new [Help:TextFormatingsRules] tables are only supported
with the [Help:OldStyleTablePlugin].


! HTML Mark-Up Language

* Don't bother
* < and > are themselves
* The & characters will not work
* 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.


-----

! Footnotes:

#[|ftnt_1]~[[1|#ftnt_ref_1]~]  By using ~[1] a second time (in the
first column) the footnote itself is <em>defined</em>.  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 <em>after</em> the footnote
<em>definition</em> will not be linked to.)
Preview as developer format | Preview as backup format
Warning: Please use one of the downloadable versions rather than copying and pasting from the above preview. The wordwrap of the preview doesn't take nested markup or list indentation into consideration! PhpWiki developers should manually inspect the downloaded file for nested markup before rewrapping with emacs and checking into CVS.
Download for backup | Download all revisions for backup | Download for CVS

Enter exact page name to dump:

TitleSearch:


See also: ViewSource, PluginManager.


CategoryActionPage


Powered By FusionForge