Advanced

Deutsch

This wiki uses Oddmuse. This page tries to list some of the features that might be of interest for people maintaining roleplaying campaign notes or journals. Send me mail if you have any questions.

Links within a Page

You can define named anchors and link to them as well.

[:example] defines an (invisible) anchor
[[#example]] link to an anchor on the same page
[[#example|Example]] uses a different text for the link
[[HomePage#example]] links to an anchor on a different page
[[HomePage#example|Example]] uses a different text for the link

Table of Contents

Using links within a page, you can generate your own table of contents for long pages. There is another option available to you, however. If you create a page called TOC that isn’t empty, all your pages will get an automatic table of contents. The table of contents is generated based on the headings used on your page and shown before the very first heading on the page.

See BeremAndBeyond:HomePage for an example.

Redirections

Assume your charakter has a long name like “Rhysalis Eina” but everybody calls her Rhys. Create a page called “Rhysalis Eina” and add all the information you need. Then create another page called “Rhys” containing nothing but #REDIRECT [[Rhysalis Eina]] – now people can link to Rhys using [[Rhys]] and anybody following the link will be redirected to the real page.

Redirecting to an external page is harder. Assume you want [[SRD]] to link to http://www.d20srd.org/, this is how you would do it:

  1. Go to Administration (at the bottom of the page) and click on the questionmark behind LocalNames. This is where you can provide all external redirects.
  2. Add [http://www.d20srd.org/ SRD] to the LocalNames page and save.

Change the colors

Don’t like the colors? No problem.

Here’s how to get started:

  1. click on Administration on your own wiki
  2. click on the questionmark after the CSS page
  3. click on Edit this page at the bottom of the CSS page
  4. paste the content of a CSS file or the URL to a CSS file on the web into the text area (this will only work reliably for HTTPS URLs, because some browsers refuse to load mixed content)
  5. click on the Save button

Changing the “theme” of your wiki involves just that: Editing your CSS page.

In order to return to the default theme, edit the CSS page and delete everything on it. Save the empty page and you should be back to the dark khaki background.

Example CSS files:

  1. http://www.emacswiki.org/css/astrid.css - black on beige background
  2. http://www.emacswiki.org/css/beige-red.css - red links on beige background
  3. http://www.emacswiki.org/css/blue.css - blue title bars
  4. http://www.emacswiki.org/css/cali.css – black on white with small Lucida Grande font
  5. http://www.emacswiki.org/css/alex-2012.css – black on white with large Garamond font
  6. http://www.emacswiki.org/css/green.css – green background
  7. http://www.emacswiki.org/css/oddmuse.css – red links
  8. http://www.emacswiki.org/css/wikio.css – black background

Further reading: Learning CSS, CSS Validator, CSS Specification.

Journals

If you create pages by clicking on the New or Calendar links of your wiki, you can collect the latest of these pages by using this tag:

<journal>

If you’re using these pages to plan future sessions, you might want to show only future events:

<journal future>

If you have both pages for planned future sessions and actual session summaries, you might want to show only past events:

<journal past>

You can find more information on the Oddmuse wiki.

Linking To Other Campaign Wikis

You can use the Campaign Wiki as a prefix to link to pages on other wikis. And if you use “Main” as the prefix, you’ll link to the admin pages.

Two examples:

License

We’d like to support free roleplaying as in Free Culture and therefore encourage you to grant your readers the rights to use, study, copy, modify, and redistribute your work. You can place a license note on the page called “FooterNote” – click on Administration on your own wiki and you’ll find a link.

Here are links to some of the licenses you might want to refer to:

Menu

You can tweak the links appearing at the top and bottom of your pages (the “goto bar”) you can place a few links on the page called “GotoBar” – click on Administration on your own wiki and you’ll find a link. Every local link on the GotoBar page will be turned into an entry of your goto bar.

The first two links are special:

  1. The first link is your “homepage” – this is the page you return to if you click on the logo (see below).
  2. The second link one is your “recent changes” page. The recent changes will be appended to this page automatically.

If you set the GotoBar page, the default New and Calendar links will disappear. To keep them, add the following links to the GotoBar page:

[Self:action=new New] [Self:action=calendar Calendar]

If you want to keep important links in the menu, add the following:

[http://rolz.org/ Dice Roller]

Logo

You can have a logo on every page that links back to your “homepage”. The URL to the image used is stored on a special page called “LogoUrl” – click on Administration on your own wiki and you’ll find a link.

One way to do this is to first upload a (small) image to a logo page, figure out what the URL for the uploaded image is, and use that.

If you need an example, take a look at DungeonMaps:HomePage.

Including Other Pages

You can assemble other pages into new pages. Thus, if you write about your character Gar on multiple pages called “Researching Flight”, “The Snake Swamps”, and “The Tower of Furtwacht”, you can assemble them on a single page as follows:

== Research

<include "Researching Flight">

== Travels

<include "The Snake Swamps">

== Home Sweet Home

<include "The Tower of Furtwacht">

If you have multiple campaign wikis, you can include pages from other sites. You might have a user page for yourself on NameOfYourWiki. Here’s how you’d include it elsewhere:

<include "https://campaignwiki.org/wiki/NameOfYourWiki/raw/Alex">

Note the “raw” part in the URL!

Private Pages

You can mark a page as private, hiding its content from anybody that doesn’t know the necessary password.

To mark a page as private, put #PASSWORD XYZZY on the first line. XYZZY is the password required to read the page. Multiple passwords can be supplied, separated by spaces (obviously this means that passwords may not contain spaces). To supply a password, click on the Administration link at the bottom of any page and then click on the Password link.

Example:

#PASSWORD gold-awesome-bean-cloud horse-stair-apple-org
This page is visible for two groups of users, each with a different
password.

Note that only the page content is hidden. The name of the page, the fact that is has been edited, its author and so on remain visible.

Also note that from a technical perspective, this provides no security whatsoever. Don’t put private data on a public wiki. It might be useful for game master notes and the like.

Locking the Site

When editing a page of your wiki you need to answer a question. This changes the cookie for the site and allows you to lock and unlock the site. Click on the Administration link at the bottom of the page and look for Lock site or Unlock site menu item. Since anbody can unlock your wiki, this is just a little precaution against spammers.

When a campaign ends, locking the site might be a good idea.

Translations

If you want to help with translations, send me an email.