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
|
Top-level heading (H1) see note. |
|
In-page main heading (H2) |
|
In-page sub-heading (H3) |
|
In-page sub-sub-heading (H4) |
|
Creates Term->definition list. |
|
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
|
emphasis or italics |
|
strong or bold |
'''''5 apostrophes'''''
|
bold italic |
|
|
|
superscript |
|
subscripted text |
|
strikethrough
|
|
underlined text |
|
big and bigger text |
|
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
|
Bullet list item |
|
Bullet list sub-item |
|
Numbered list item |
|
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 the current paragraph. |
|
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?
|
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?
|
create 2 centered cells?
|
make cell 1 left-aligned, cell 2 right-aligned?
|
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?
|
create monospaced code blocks?
|
create unprocessed but formatted text?
|
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?
|
do that in another way?
|
display "here now" (lowercase, with the space) as link to wiki page HereNow in group Go?
|
link to Google website?
|
set an in-page anchor to #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?
|
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