Pokémon Omega Ruby and Alpha Sapphire are coming this November!
Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel.
The Bulbapedia mobile skin is currently in open alpha. If you run into any issues using the skin, please report them on the forums.

Help:Editing

This article will explain the basics of wikicode, giving examples of the various techniques used to make the many pages on Bulbapedia. While this may be helpful, however, the best way to learn is to look at the coding on a page to see how it is done, and modify it to see how it changes—just make sure to make any modifications in a sandbox and use the preview button!

Frequently used text formatting

Edit box code Page appearance
Apostrophes can alter the appearance of text:
*''This is italic text''
*'''This is bold text'''
*'''''This is bold italic text'''''
But watch out that you put the right amount!
*''''This is bold text with badly-formatted apostrophes of fail''''
Apostrophes can alter the appearance of text:
  • This is italic text
  • This is bold text
  • This is bold italic text

But watch out that you put the right amount!

  • 'This is bold text with badly-formatted apostrophes of fail'
You can also indent things!
:Make this line indent once...
::or twice...
::::::::::::or twelve times!
 Just don't do this to indent or you fail at wiki.
You can also indent things!
Make this line indent once...
or twice...
or twelve times!
Just don't do this to indent or you fail at wiki.

Links

Basic link

To link to an article with the same name as the text, put [[ before the text to be linked and ]] after the text.

Example:

[[Vermilion City]]

Will make:

Vermilion City

Piped link

To link to an article with a different name as the text, put [[ before the text to be linked and ]] after it, but, right after the [[, put the title of the article followed by a |.

Example:

[[Ash's Pikachu|his Pikachu]]

Will make:

his Pikachu

Shortlinks

Main article: Bulbapedia:List of link templates

These must be used in articles when necessary.

Example: {{p|Pikachu}}

Will result in:

Pikachu

Instead of:

Pikachu

Interwiki links

Interwiki links can be used to link to other wikis affiliated with Bulbapedia, such as Bulbagarden Archives, Bulbanews, Wikipedia, other members of Encyclopædiæ Pokémonis, and other members of NIWA. To link to another wiki, simply use square brackets like a normal link, but place the prefix at the start of the link.

When linking to an Encyclopædiæ Pokémonis member via this method, there must be a colon : before the prefix, or it will not link correctly.

Example:

[[wp:Pokémon|Pokémon]]

Will make:

Pokémon

Note: most interwiki prefixes have identically named templates, so to link to Wikipedia's article on Pokémon, it can be achieved by typing [[wp:Pokémon|Pokémon]] or {{wp|Pokémon}}.

Incomplete list of interwiki prefixes

Wiki Prefix
Bulbagarden Archives a
Bulbapedia* bp
PokéWiki :de
Donkey Kong Wiki dk
Pokéteca :es
Fire Emblem Wiki few
Poképédia :fr
Golden Sun Universe gsu
Pokémon Central Wiki :it
Pokémon Wiki :ja
Starfy Wiki lsw
Lylat Wiki lw
Nookipedia np
NintendoWiki nw
Metroid Wiki met
MediaWiki mw
Bulbanews n
Pikipedia pk
Wikinezka :pl
LANDpedia :pt
SmashWiki sbw
Super Mario Wiki smw
StrategyWiki strategy
WikiBound wb
Wiktionary wiktionary
WiKirby wk
Wikipedia wp
Wars Wiki ww
Zelda Wiki zw

Incomplete link

Prefix removal

When using interwiki links or linking to pages not in the main namespace, typing [[prefix:Link name|]] causes it to be substituted by [[prefix:Link name|Link name]] after saving the page.

Example:

[[Template:Welcome|]]

Will be substituted to:

[[Template:Welcome|Welcome]]

Will make:

Welcome

This also works for interwiki prefixes. Note that in most cases link templates exist to compensate for this purpose and are preferred.

Parenthesis removal

Linking to a page with parentheses in its title with blank display text results in the display text becoming

Example:

[[Meowth (Team Rocket)|]]

Will be substituted to:

[[Meowth (Team Rocket)|Meowth]]

Will make:

Meowth

Note that in most cases link templates exist to compensate for this purpose and are preferred. When a specific link template does not exist, using {{OBP}} is preferred.

Issues with commas

Linking to a page with one or more commas in the title results in all the text after the comma being cut off.

Example:

[[Get Fired Up, Spiky-eared Pichu!|]]

Will be substituted to:

[[Get Fired Up, Spiky-eared Pichu!|Get Fired Up]]

Will make:

Get Fired Up

Due to this issue, it is recommended to not use this technique when dealing with titles that have commas.

External link

To link to a page outside Bulbapedia and give it a name, write the URL, a space, the name, then finally put brackets around everything, like so: put [ before the url and name and ] after it.

Example:

[http://www.pokemon.com/us/ Official Pokémon website]

Will make:

Official Pokémon website

To link to an external page without giving it a specific name, simply write the URL without any brackets or spaces, like so: http://www.pokemon.com/us/

However, an external picture not in the archives may also be placed with exactly the same technique:

Example: http://www.bulbagarden.net/gateway/banner-pikachu.png

Result: banner-pikachu.png

Note that this is not to be done in mainspace articles.

Table

To make a table, first type {| at the beginning of a new line. Then, on each line after that, put a | before the text, to make it be part of the table, on the same row. To make a new row, type |- on a new line and continue like normal. To end the table, type, on a new line, |}

Example:

{|
|Bulbasaur
|Grass
|-
|Charmander
|Fire
|-
|Squirtle
|Water
|}

Will make:

Bulbasaur Grass
Charmander Fire
Squirtle Water

Categories

To add a page to a category, put [[Category:(category name)]] anywhere on the page, though in almost all cases it is better to put them near the bottom of the page for the convenience of other editors. This will add the category of the page to the bottom, as well as put a link to that page on the category's page.

Example: [[Category:Trainers]] would add this page to the category of Trainers.

To link to a category without , put a colon before "Category" in the link. For example, to link to the category "Trainers", [[:Category:Trainers]] would give the category without adding this page to the Trainers category.

Personal CSS

It is possible for each user to customize their CSS to change the appearance of Bulbapedia. The changes only take effect for a user when he/she is logged in. To edit the CSS, a user should type in "User:username/monobook.css". IMPORTANT:The word "monobook" MUST be lowercase!

The user can then create an addition to the Bulbapedia CSS. An example of some personal CSS is:

.googleContent {display: none}
.firstHeading {position: absolute; top: 63px; width: 900px}
#bodyContent {position: absolute; top: 101px; width: 900px}
.pBody {background: transparent; border: none}
#p-personal {position: fixed; top: 0px; z-index: 100}
#p-navigation {position: fixed; top: 159px; z-index: 100}
#p-search {position: fixed; top: 297px; z-index: 100}
#p-tb {position: fixed; top: 365px; z-index: 100}
#p-lang {position: fixed; top: 507px; z-index: 100}
#footer {display: none}

This CSS will hide the ads while keeping the header at the top of the page the same distance from the top. It also hides the footer and causes the userbar at the top (User, my talk, my preferences, my watchlist, my contributions, log out) and the navigation, search, and toolbox menus on the left to stay in the same position even when the user scrolls down, eliminating the need to scroll back to the top of the page to go to a new page or go to his/her userpage.

Undoing an edit

This action should be taken in the case of a vandal or a mistake. To do this, click on the history tab at the top of the page (one can also press the 'Alt' button and 'h' at the same time and then press 'enter'). Then, from the list, select the edit that needs to be undone. Click 'Save Page' and the action is complete. As complicated as this might be, this should be done as quickly as possible in the case of a vandal.

Headings

In order to make a heading, type two = before and after your heading on a new line. For instance ==Example heading== will look like

Example heading

THIS IS AN EXAMPLE

Sub-headings

In order to make a sub-heading, type three = before and after your heading on a new line. For instance, ===Example sub-heading=== will look like

Example sub-heading

THIS IS AN EXAMPLE

Not encoding things

This is helpful on pages that teach users how to encode text. To un-encode text, type <code> and immediately after doing that type <nowiki>; then type the text you don't want to be encoded; after the unencoded text, type </nowiki> immediately followed by </code>. If you do it right, then <code><nowiki>'''Example'''</nowiki></code> will look like '''Example''' instead of Example.

Adding code tags is not necessary to prevent encoding, but preferable as it makes it clear that the text is intended to be code. If this seems too complicated, simply click button_nowiki.png on the editing bar with a red line through it and type the text.

Making bulleted lists

To make a bulleted list, type a * before a new line. For example,
* Bulbasaur
* Squirtle
* Charmander
This should come out as:

  • Bulbasaur
  • Squirtle
  • Charmander

To make indents with bullets, put more *s, depending on how much you want to indent it.
**Bulbasaur
***Charmander
****Squirtle
This comes out as:

    • Bulbasaur
      • Charmander
        • Squirtle

See also

Wikimedia's editing help page.

Last modified on 30 April 2013, at 08:48