How to Wiki
Here I'll go over how to edit a MediaWiki and some other stuff. For a more comprehensive guide, see the official MediaWiki User's Guide.
The contents of this page are temporarily copied from the page of the same name on the Heroes for Hire wiki, I'll edit this later.
Creating and Editing Pages
Creating Pages
To create a page, first go to that nonexistant page. This can be done from the search bar in the top-right or by clicking a red link somewhere on another page. Once there, just click "create this page" and
If it says you don't have permission to create a page or to edit, let me (Steve) know.
Creating a Redirect Page
To create a redirect page, have the page's text be only #REDIRECT [[Example]]
, where Example is the title of the page you want to redirect to.
Editing Pages
To edit an existing page, click the "Edit" button in the top-right (to the left of the search bar).
Formatting
For more information about formatting text in this wiki editor, see Help:Formatting in MediaWiki's User's Guide.
To make text italicized, put two apostrophes on either side of the text.
For example, ''example''
becomes example.
To make text bold, put three apostrophes on either side of the text. The first time the title of a page appears in the first sentence is usually bold.
For example, '''example'''
becomes example.
Links
To create a link to another page on this wiki, use two square brackets around the title of the page you are linking to.
For example, [[Omerók]]
becomes Omerók.
To change the text of the link, between the square brackets first put the title of the page you want to link to, then a vertical pipe character (|), then the text you want to display.
For example, [[Omerók|Cool Dude]]
becomes Cool Dude.
To create a link to an external page away from this wiki, between single square brackets, put the URL you want to link to, then a space ( ), then the text you want to display.
For example, [https://breadsandwich.net/witrwiki/index.php?title=Stak Stak on ''War in the Realm Wiki'']
becomes Stak on War in the Realm Wiki.
To create a link to something like a category or image without including that in the page, make a regular wiki link but use a colon (:) before the page name.
For example, [[:Category:NPCs]]
becomes Category:NPCs.
Headings
To organize a page into different sections you can use headings. You can create a heading by putting (on its own line) 2 to 6 equals signs on either side of the text you want the heading to be. The table of contents at the top of the page is automatically generated by these headings.
Headings go up to 6 levels deep. This section has ==Creating and Editing Pages==
, ===Formatting===
, and ====Headings====
, to give an example of headings level 2 through 4.
Level 5 Heading
Above is an example of a level 5 heading.
Level 6 Heading
Above is an example of a level 6 heading. Note that while headings of level 4 through 6 look the same in-text, they are have a hierarchy in the table of contents at the top of the page.
Infoboxes
Omerók Vúshvel-Åm Enôrul Emendurad Kor | |
---|---|
Born | 1430 |
Occupation | Adventurer, engineer (formerly) |
Years active | 1730-present |
Era | Age of Passage |
Organization | Croak and Dagger, Belkor |
Height | 4 ft 4 in (132 cm) |
Those boxes full of info that are usually in the upper-right of a wiki page are called infoboxes. You can create them using templates.
To create an infobox, simple go to the template page linked below and copy the blank template to your page. Then fill out the various parameters to put the info in the infobox. And fields you leave out or leave blank or remove will not be included in the infobox.
For example,
{{Infobox person
| name = Omerók
| honorific_suffix = Vúshvel-Åm Enôrul Emendurad Kor
| birth_date = 1430
| birth_place = [[Belkor]]
| height = 4 ft 4 in
| occupation = Adventurer, engineer (formerly)
| years_active = 1730-present
| era = Age of Passage
| organization = [[Croak and Dagger]], [[Belkor]]
| known_for =
| notable_works =
}}
becomes the infobox you see to the right.
List of Infoboxes on this Wiki
Below is a non-exhaustive list of Wikipedia infoboxes that are usable on this wiki. I may have forgotten some.
- wikipedia:Template:Infobox ancient site
- wikipedia:Template:Infobox animal
- wikipedia:Template:Infobox artifact
- wikipedia:Template:Infobox artwork
- wikipedia:Template:Infobox body of water
- wikipedia:Template:Infobox building
- wikipedia:Template:Infobox civil conflict
- wikipedia:Template:Infobox country
- wikipedia:Template:Infobox deity
- wikipedia:Template:Infobox document
- wikipedia:Template:Infobox drink
- wikipedia:Template:Infobox event
- wikipedia:Template:Infobox family
- wikipedia:Template:Infobox food
- wikipedia:Template:Infobox forest
- wikipedia:Template:Infobox holiday
- wikipedia:Template:Infobox landform
- wikipedia:Template:Infobox legislation
- wikipedia:Template:Infobox military conflict
- wikipedia:Template:Infobox military unit
- wikipedia:Template:Infobox mountain
- wikipedia:Template:Infobox organization
- wikipedia:Template:Infobox person
- wikipedia:Template:Infobox school
- wikipedia:Template:Infobox settlement
- wikipedia:Template:Infobox weapon
Uploading and Using Images
Uploading Images
To upload an image, go to Special:Upload.
VERY SUPER IMPORTANT NOTE: Please only upload images you own. Art you have made or art you have commissioned. Do NOT upload images you don't own please.
You will be prompted on that page to give the uploaded file a Destination filename and a Description. For the file name, you can use any special characters you can use in a Wiki page title (including spaces) so make it something descriptive. Leave the file extension. For the description, give a brief description of the image and credit the artist.
Images on Pages
To include an image in a page, simply create a link to that image. This will include the image at full size on the page, though, and usually you will want to use a thumbnail instead. Luckily, there are plenty of options for displaying images.
If you include |thumb
in the image link, it will display at thumbnail size on the page rather than full size. You can also use something like |500px
to set a specific size.
If you include |alt=Example text
in the image link, it will use Example text as the alt text (what you see on mouseover or if using a screen reader) of the image.
If you include |Example text
in the image link, a vertical pipe followed by text that doesn't match any specific option, it will use Example text as the caption below the image.
For example, [[File:Omerok.png|thumb|alt=Omerók at level 17.|Omerók at level 17. Art by [https://snejkha.tumblr.com Snejkha].]]
becomes the image you see to the right.
Images in Infoboxes
Omerók | |
---|---|
File:Omerók's face.png |
Some infoboxes (such as Infobox person) have a field for an image. Put only the filename of the image in this field.
For example,
{{Infobox person
| name = Omerók
| image = Omerók's face.png
| landscape = <!-- yes, if wide image, otherwise leave blank -->
| alt = Omerók, a bald, bearded duergar, smiling and wearing sunglasses that say "COOL DUDE" on the lenses.
| caption = Omerók wearing the [[Vibe Check Shades]]<br>Art by [https://snejkha.tumblr.com Snejkha]
}}
becomes the infobox you see to the right.
Categories
To include a page in a category, simply link that category at the bottom of the page.
For example, [[Category:NPCs]]
at the bottom of the page will include the page in Category:NPCs.
Fun Pages
Here are some fun pages to visit while wiki editing.
- Special:LonelyPages lists pages that exist but aren't linked to anywhere on the wiki.
- Special:WantedPages lists pages that are linked to on the wiki, but don't yet exist. Many of these are linked to from Infobox template documentation, so a lot of them are junk, but you can still see some actually wanted pages in there if you dig through it.