Wyszukaj:

Creating New Pages

(:Summary: PmWiki group header. Includes styles and trail.:)

Documentation index

Variables

{PmWiki.CreatingNewPages$:Audience}

(:Summary:How to create a new page:) (:Audience: authors (basic) :) To create a new page, you need to edit an existing page, and on it add a link to the page you want to create.

To link to your new page, you must choose a name for it. The best names describe the page's contents well, so that everyone can remember and type the name easily.

There are two main ways to create a link:

  1. Double brackets: Typing [[my new page]] will create a link to my new page?. There's a lot you can do with double bracket links.
  2. WikiWords: WikiWords are turned off by default since PmWiki 2.2.0-beta24 (2007-01-22). On sites that have WikiWords enabled as link-creating syntax, typing MyNewPage will create a link to MyNewPage?. WikiWords are CapitalizedWordsSmashedTogether, and, on such sites, don't need double brackets to become links.

You can see that the links to my new page? all have question marks after them. That's because my new page? hasn't been written yet. Clicking the link will take you to an edit form where you could write and save the new page.(which you shouldn't do though, since in this case the page would exist, and the link wouldn't have a question mark after it, you get the point...)


Another way to create a page: in your browser's address bar (where the page URL is), replace the name of the current page with the name of the page you wish to create, and hit Enter or do whatever you would normally do to go to a new location. PmWiki will then dutifully tell you that the page you entered doesn't exist, but you can click on the "Edit" link in order to create, edit, and save the new page.

The bad thing about this method is that there are no links to your new page, so you're the only person who knows it is there. It will be an orphan, unread, unlinked, unloved. That's why adding a link to an existing page or to the SideBar is a better way to create a page.


You can also organize related pages into groups, and link between pages in different groups. Learn more.

How do I create a new page?

Typing my new page? will create a link to the new page?. Also, on sites that have WikiWords enabled as link-creating syntax, typing MyNewPage will create a link to the new page. WikiWords are CapitalizedWordsSmashedTogether, and, on such sites, don't need double brackets to become links. Note that some sites have turned off WikiWord links -- including this one! There's a lot you can do with double bracket links.

Why do some new pages have a title with spaces like "Creating New Pages" and others end up with a WikiWord-like title like "CreatingNewPages"?

The default page title is simply the name of page, which is normally stored as "CreatingNewPages." However, you can override a page's title by using the (:title Creating New Pages:) markup. This is especially useful when there are special characters or capitalization that you want in the title that cannot be used in the page name.

Documentation index

Variables


Data ostatniej modyfikacji: 02.03.2009, 12:21

Copyright© SIMB 2009.