Organization: Pages and Groups
|
|
Adding new pages to the website can be done by making a link to a page that doesn’t exist, then clicking on it -- or by changing the browser to point to a group &/or page that does not exist. http://yoursite.com/Main/NewPage The browser will ask if you wish to create a new page. |
Delete a page: remove all text, type “delete”, and save/publish. |
Headings
!Page Title
|
Top-level heading (H1) see note. |
!!1st Heading
|
In-page main heading (H2) |
!!!2nd Heading
|
In-page sub-heading (H3) |
!!!!3rd Heading
|
In-page sub-sub-heading (H4) |
:Term:Definition
|
Creates Term->definition list. |
::SubTerm:Definition
|
Indented SubTerm->definition list. |
There should only be 1 top-level header per webpage. Your top-level header (H1) should be hard-coded into your wiki template with the page title. You would change it using the (:title Your Title Here:) markup. See SEO.
There are up to 6 levels of heading as a rule (h6).
Basic Formatting
''2 apostrophes''
|
emphasis or italics |
'''3 apostrophes'''
|
strong or bold |
'''''5 apostrophes'''''
|
bold italic |
@@monospaced@@
|
monospaced
|
'^superscript^'
|
superscript |
'_subscript_'
|
subscripted text |
{-strikethrough-}
|
strikethrough
|
{+underline+}
|
underlined text |
[+big+] [++bigger++]
|
big and bigger text |
[-small-] [--smaller--]
|
small and smaller text |
Use %wikistyles% for colors and %% to turn a wikistyle off. %red% or %green% or %blue% or %color=#FFCC99%
Rules, Numbering & Bullets
*Top Level
|
Bullet list item |
**2nd level
|
Bullet list sub-item |
#Top Level
|
Numbered list item |
##2nd level
|
Numbered list sub-item |
'----' |
4 hyphens for a horizontal rule |
List levels can be nested i.e. mixed-and-matched between bullet and numbered.
Text Flow
\ |
Join with next line (use at end of line) |
\\ |
Line break (at end of line) |
\\ |
Adds 2 line breaks |
[[<<]]
|
Forced break (clears floats) |
(:linebreaks:) Will preserve all linebreaks on the page (poetry, etc.)
|
%center%
|
Center the current paragraph. |
%right%
|
Right-align the current paragraph. |
->
|
Indents the whole paragraph |
-->
|
Add hyphens to indent more. |
All basic paragraph entry can be cut & paste or typed paragraphs separated by a double space.
|
|
Image/Upload Tutorial (How do I…)
display an image from another site? Paste in the link:
http://example.com/image.jpg
|
upload an image to my site? Attach:photo.jpg will give you an upload link for the image. Save the page, click the link, open the file browser, select image, click upload.
|
create a thumbnail that opens into a larger image? [[Attach:large.jpg | Attach:small.jpg]] gives 2 attachment links for a small jpg that will open as a large jpg.
|
Table/Chart Directives (How do I…)
start a table? (:table:) or (:table <options>:)
|
start the first cell in the first column of each "new row"? (:cellnr:) or (:cellnr <options>:)
|
start the next cell in the row? (:cell:) or (:cell <options>:)
|
end the table? (:tableend:)
|
Visual Table Tutorial (How can I…)
A more visual type of cell structure. This can be nested inside of directive tables. |
create 2 centered cell headings? ||! head 1 ||! head 2 ||
|
create 2 centered cells? || cell 1 || cell 2 ||
|
make cell 1 left-aligned, cell 2 right-aligned? ||cell 1 || cell 2||
|
add a centered caption and border to my table? || border=1
||! caption !||
||cell 1 || cell 2||
|
Code Control Tutorial (How do I…)
create fixed-width text blocks? Lines that begin with a space are formatted exactly as typed in a '''fixed-width''' font.
|
create monospaced unprocessed code snippets? [@code here@]
|
create monospaced code blocks? [@ code here @]
|
create unprocessed but formatted text? [=snippet=]
|
create an HTML comment? (:comment Will show in HTML.:)
|
|
|
Links Tutorial (How do I…)
get "text says" to point to page "GoTo" in the same group? [[text says->GoTo]]
|
do that in another way? [[GoTo | text says]]
|
display "here now" (lowercase, with the space) as link to wiki page HereNow in group Go? [[Go/here now]]
|
link to Google website? http://google.com
|
set an in-page anchor to #there ? [[#there]]
|
link the words "click here" to the in-page anchor #there on page HereNow in group Go? [[Go/HereNow#there|click here]]
|
create an email link without showing mailto: ? [[(mailto:)someone@example.net]]
|
create a phone link? tel:888-555-1212
|
create InterMap links to other sites?
|
The link "go to" destination can be a Pagename or Group/Pagename on the same website, an outside website address, a mailto: a tel: address, etc.
SEO Tips for PmWiki sites
Set the title for every page. (:title My Rocking Webpage:)
|
Set the keywords. Although this might not do anything really. (:keywords contains, keywords:)
|
It’s very important that your titles, keywords and description of the web page contain matching keywords. (:description The search-engine summary of the page.:)
|
Usually the (:title:) is automatically used to update the highest level header <h1> on the page.
Benefits of PmWiki
GPL v 2 Licensed open-source code. |
No database. Requires PHP & web server. |
Small code footprint (2MB installed). |
Author-centric philosophy. Install, set an admin password in the config.php file, and start writing. |
Can be installed on a USB stick. |
Works as a mature CMS system, page-level permissions available, in-page content control available. |
Fast for large number of pages. |
Searchable content. |
Advanced users can customize content with no access to server files. |
Responsive template included. |
In active development. |
|
Extensive hooks for customization by administrator and plug-in developers. |
Small developer base, no code creep. |
|
Created By
eclectictech.net
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by Crisses