Basic editing - Text formatting rules - Documentation index
|
Tables: simple - advanced
|
Paragraphs: for a new paragraph, use a blank line;
|
Line break:
\\,
[[<<]], or
(:nl:)
|
-> to indent text,
-< hanging text
|
Join line: \
|
Lists:
* for bulleted,
# for numbered,
:term:definition for definition lists
|
Emphasis:
''italics''
'''bold'''
'''''bold italics'''''
@@monospaced @@
|
References:
[[another page]],
[[http://example.com/]],
[[another page | link text]],
[[#anchor]],
[[#anchor | link text]]
|
Groups:
[[Group/Page]] displays Page,
[[Group.Page]] displays Group.Page,
[[Group(.Page)]] displays Group,
[[Group/]] links Group homepage
|
Separators:
!!,
!!! for headings,
---- for horizontal line
|
Prevent formatting:
[=...=]
|
Other:
[+big+]
[++bigger++]
[-small-]
[--smaller--]
'^superscript^'
'_subscript_'
{+inserted+}
{-deleted-}
|
Preformatted:
[@...@] or
>>pre<<...>><<
|
Multiline spaceless block preformat ( for C soucecode ): _[= ... =] (but with a space on the line before the opening bracket.)
|
|
Preformatted paragraph: >>pre<< multiline text here >><<
|
Multiline comment: {# ... #}
|
Indenting blocks of text with line breaks: (:linebreaks:) multiline text with indentination (:nolinebreaks:) see online help
|
Multiline comment: >>comment<< ... >><<
|
Block of preformatted text: >>white-space=pre<< ... >><< online
|
Multiline comment: (:if false:) ... (:ifend:)
|
Block indent: >>indent lframe<< text >><< text [[<<]]
|
Conditional display: (:if auth edit :)..(:else:)..(:ifend:)
|
Edit this reference
(:MACRO_DEFINE: macro value :)
Macro usage : {$:MACRO_DEFINE}
(:highslide:)
(:title Title on the top of the page instead autogenerated :)
(:Summary: Page description text in search results :)
... to include in other pages : {SourcePageName$:Summary}
(:description ... :) .. Generates a <meta name='description' content='...' /> element.
(:keywords word1, word2, ... :) ... Generates a <meta name='keywords' content='...' /> element.
(:redirect PageName status=301 :)
(:thumblist Group.Page px=100 rel=highslide name="paris_*.jpg|france*.jpg" skip="*.gif|*.png" bgcolor=#123456 supercache=1001 :)
(:thumb px=150 rel=highslide Group.Page/My_picture.jpg align=right
titlefmt="?f: ?kk (?t) - line 1<br/>line 2"
captionfmt="?f: ?kk (?t) - caption with [[link]]" :)
- "titlefmt" .. factory default is "?f: ?wx?h, ?kk (?t)" , default in config.php "?f: ?kk (?t)" is forced by Slavo
- "captionfmt" for a single thumbnail, when you set the parameter it is transformed in a one-cell table containing the thumbnail and the caption.
(:thumbgallery Group.Page height=128 rel=highslide cols=4:)
grp-001.jpg | Comment...[[<<]](Author)
(:thumbgalleryend:)
[[(Attach:)Main.Main/video.avi | Video]]
[[#blank | Attach:image space.jpeg]]
(:attachlist NAME:) shows a list of attachments of the group or page NAME.
(:attachlist ext=xxx:) specifies an extension for filtering by type of file.
(:attachlist *:) shows the uploads directory and permits browsing of all uploaded files by directory
(:youtube videocode:)
(:vimeo videocode:)
(:googlevideo videocode:)
http://www.pmwiki.org/wiki/PmWiki/WikiStyleExamples :
%define=nie bgcolor=#ff0000% ... usage : %nie%podfarbeny text%%
%define=ano bgcolor=#00ff00%
%apply=block color=blue%
%apply=p color=blue%
%bgcolor=green yellow%
%center%
%right%
%rfloat%
%rframe%
%p color=blue%
>>indent<< .... >><<
>>pre<< .... >><<
>>white-space=pre<< ... >><<
>>teal background-color:silver border:'medium dotted green'<< ... >><<
>>bgcolor=#bcb color=#000 border='1px solid #999' padding=5px<<
... BLOCK OF TEXT ...
[[<<]]
>><<
(:div style='text-align:justify; background:#eee8f5; border:1px solid #6300a9; float:left; width:220px; padding:5px;':)
... BLOCK OF TEXT ...
(:divend:)
(:neo_mp3-player Attach:foo.mp3 :)
(:neo_flv-player Attach:foo.flv width=640 height=512 :)
http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup
(:if ! cond param:) body (:ifend:)
(:if name PAGENAME:) ... (:else:) ... (:ifend:)
(:if group GROUPNAME:) ... (:elseif cond param:) ... (:ifend:)
(:if authid:) = current viewer is authenticated
(:if auth LEVEL PAGENAME:) = viewer is authorized - meaning "what they are allowed to do" - matches a "LEVEL" where LEVEL can be: read, edit, upload, attr or admin; PAGENAME is optional.
(:if attachments:) = current page has one or more attachments
(:if name Profiles.*,-Profiles.Profiles :) = current page is in group Profiles but not Profiles.Profiles
%block bgcolor=#f0f9ff color=#888 border='1px solid gray' padding=5px% [@
COLORED BOX (BLOCK) OF TEXT s potlacenim '''formatovania''' a zachovanim whitespaces ...
@]
|
COLORED BOX (BLOCK) OF TEXT s potlacenim '''formatovania''' a zachovanim whitespaces ...
|
[@
PARAGRAF OF TEXT s potlacenim '''formatovania''' a zachovanim whitespaces ...
Pozor na zaciatku pred znakom [@ je medzera !!!
@]
|
PARAGRAF OF TEXT s potlacenim '''formatovania''' a zachovanim whitespaces ...
Pozor na zaciatku pred znakom [@ je medzera !!!
|
__ _
_____/ /___ __ ______ ____ ___ (_)____ _________ ____ ___
/ ___/ / __ `/ | / / __ \/ __ `__ \/ / ___/ / ___/ __ \/ __ `__ \
(__ ) / /_/ /| |/ / /_/ / / / / / / / / _ / /__/ /_/ / / / / / /
/____/_/\__,_/ |___/\____/_/ /_/ /_/_/_/ (_) \___/\____/_/ /_/ /_/