HSCTechnicalWiki


view edit history print Talk subscribe
SearchWiki
Inspired by: Support Wikipedia

Views: 10

Full site statistics

Authors:

edit SideBar

PmWiki » Markup Master Index

PageList

Papers

Tutorials

#trailstart

This page contains the most frequently used wiki markup, briefly. Follow the links in each section to learn more.

#LinkMarkups Links

See Links

#ExternalLinksExternal links

http://example.com
[[http://example.com]]
[[http://example.com | link text]]
[[link text -> http://example.com]]

#InternalLinks

Page links

[[PageName]]
[[page name]]
[[page (name)]]
[[PageName | link text]]
[[PageName | + ]] (titled link)
[[PageName | # ]] (anonymous numerical reference link)
[[link text -> PageName]]
[[#anchor]] (to create an anchor)
[[#anchor | link text]] (to refer to an anchor)
[[PageName#anchor | link text]] (to refer to an anchor in another page)

#WikiPageLinks

Wiki page links

See Wiki word and Wiki group

WikiWord
`NonWikiWord
Group/PageName
Group.PageName
[[GroupName/]]
[[GroupName.]]

#SpecialGroupLinks

Special group links

See Links and Categories

[[~Author Name]]
[[!Category Name]]

#IntermapLinks

Intermap links

See Inter map

[[Path:/path/local_document.html]]
[[Wikipedia:WikiWikiWeb]]

#UploadLinks

Upload links

See Uploads

[[Attach:file with spaces.pdf]]
[[Attach:Groupname/file with spaces.pdf]]

#EmailLinks

Email links

[[mailto:someone@example.com]]
[[mailto:someone@example.com | display text]]
[[display text -> mailto:someone@example.com]]

#Images Images

See Images and Uploads

#ImagesAsImages Images as Images

http://example.com/image.gif
http://example.com/image.gif"alt text"
Attach:image.gif"My image"
Attach:Groupname/image.gif"image in another group"
Attach:Groupname.Pagename/image.gif"image on another page"
%lfloat% Attach:image.gif
%rfloat% Attach:image.gif
%center% Attach:image.gif
%rframe% Attach:image.gif | Caption
%lframe% Attach:image.gif | Caption
%width=200px% Attach:image.gif
%thumb% Attach:image.gif

#ImagesAsLinks Images as links

[[Attach:image.gif]]
[[(Attach:)image.gif]]
[[PageName | Attach:image.gif"alt text"]]
[[http://example.com/ | Attach:image.gif"alt text"]]
%rframe thumb% [[Attach:image.gif | Attach:image.gif"alt text"]] | Caption

#StartOfLine Start-of-line markup

See Text formatting rules

#Lists Lists

See List Styles, Wiki styles and Cookbook:Outline lists

* unordered list
** deeper list
# ordered list
# %item value=#% arbitrary start number
# %decimal%, %roman%, %ROMAN%, %alpha%, %ALPHA%
:term:definition

Also

Q: start a question paragraph
A: start an answer paragraph

#Headings Headings

!! Heading
!!! Deeper heading

#BlockMarkups Paragraph blocks

-> indented text
-< hanging indent
<space> preformatted text
[@...@] preformatted block
---- (horizontal rule)
blank line is vertical space
\ at end of line joins next line
\\ at end of line produces a line break
\\\ at the end of a line produces a blank line, even within a list item
[[<<]] produces a line break that clears floating content

#DivisionBlocks Division blocks

See Wiki styles and Page directives

>>wikistyle<<
(:div attr:)
(:divend:)
>><<

#Text Text markup

See Text formatting rules

#InlineMarkups Character format

''emphasized''
'''strong'''
'''''strong emphasis'''''
'~italic~' (if enabled in config.php)
'*bold*' (if enabled in config.php)
@@monospaced@@
[-small-], [--smaller--]
[+big+], [++bigger++]
'-small-', '+big+'
'^superscript^', '_subscript_'
{+inserted+} (underscore)
{-deleted-} (strikethrough)
[@escaped code@]
[=escaped text=]

#PostingMarkups Posting markup

~~~ (author's signature)
~~~~ (author's signature and date)
(:encrypt phrase:) -- replaced with encrypted form of phrase

#Tables Tables

#PlainTables Plain rows and columns of text

See Tables

||table attributes
||!table caption!||
||left aligned || centered || right aligned||
||!column heading||
||spanned columns ||||||

#TablesAndDivs Structured tables

See Table directives

(:table attr:)
(:cellnr attr:)
(:cell attr:)
(:tableend:)

#Directives Directives

#PageDirectives Page directives

See Page directives

(:redirect PageName:)
(:(no)spacewikiwords:)
(:(no)linkwikiwords:)
(:(no)linebreaks:)
(:nl:) insert newline in the *markup* only if one isn't present. The purpose of (:nl:) is to be able to write things like:
(:include Page1:)(:nl:)(:include Page2:)
which guarantees that the first line of Page2 is treated as a separate line from the last line of Page1, but without inadvertently generating a blank line between them.

#Display Display

See Page directives Group headers

(:noheader:), (:nofooter:)
(:notitle:)
(:noleft:), (:noright:)
(:nogroupheader:), (:nogroupfooter:)
(:noaction:)

#Metadata Metadata

See Page directives, Comment markup, Page text variables

(:title text:)
(:keywords word, ...:)
(:description text:)
(:comment text:)
{Group/PageName$:Var} includes from (:name:text:)

#IncludeOtherPages Include

See Include other pages, Page text variables

(:include PageName:)
(:include PageName #start#end lines=n paras=n:)
(:include Page1 Page2 Page3:)
{Group/PageName$:Var} includes from (:name:text:)

#ConditionalMarkup Conditional markup

See Conditional markup

(:if (!) cond param:)...(:ifend:)
(:if (!) cond param:)...(:else:)...(:ifend:)
(:if (!) cond param:)...(:elseif (!) cond param:)...(:ifend:)

#PageLists Pagelists

See Page lists

(:searchbox label=label order=-time:)
(:searchresults incl -excl group=abc fmt=def:)
(:pagelist incl -excl group=abc fmt=def:)

#OtherDirectives Other directives

See Page directives

(:PageDirectives#markup:) [=...=]
(:markup:)...(:markupend:)
(:markup class=horiz:)...(:markupend:)
(:markup caption='...':)...(:markupend:)

#Forms Forms

See Forms

(:input form method=get action=url enctype=multipart/form-data:)
(:input end:)
(:input text name=first value="Bob" size=20:)
(:input submit name=post value="Go" accesskey=g:)
(:input reset:)
(:input hidden name=action value=edit:)
(:input radio name=xyz value="abc" checked=1:)
(:input checkbox name=xyz value="abc" checked=1:)
(:input password name=authpw:)
(:input file name=upload:)
(:input image name=xyz src="http:..." alt="Alt Text":)
(:input select name=xyz value="val1" label="Value 1":)
(:input select name=xyz value="val2" label="Value 2":)
(:input default name=xyz value="abc":)

#EditForms Edit forms

See Forms#pageeditcontrols

(:messages:)
(:input e_form:)
(:e_guibuttons:)
(:e_preview:)
(:input e_textarea rows=24 cols=60:)
(:input e_author value={$Author} size=40:)
(:input e_changesummary value="Summary" size=60:)
(:input e_savebutton value=$[Save]:)
(:input e_saveeditbutton value=$[Save and edit]:)
(:input e_previewbutton value=$[Preview]:)
(:input e_resetbutton value=$[Reset]:)

#WikiTrails Wiki trails

See Wiki trails

<<|[[TrailPage]]|>>
<|[[TrailPage]]|>
^|[[TrailPage]]|^

#PageVariables Page variables

See Page variables, Page text variables, Page lists

{$variable}
{pagename$variable}
(:name:description:) sets a page text variable

#Expressions Expressions

See Markup expressions

{(function args)}

#trailstart #trailend

This page may have a more recent version on pmwiki.org PmWiki:MarkupMasterIndex, and a talk page: PmWiki:MarkupMasterIndex-Talk.

Page last modified on May 10, 2009, at 07:19 PM