Bulbapedia:Wikicode

Wikicode is a type of markup used on wiki sites such as Bulbapedia and Wikipedia. Please take the time to familiarize yourself with this style before editing on Bulbapedia: it might save you a lot of headdesking and/or facepalming.

Text formatting

There is a range of text formatting options available in wikicode. Some of these are based on HTML code. Some types of HTML code can be used on Bulbapedia, but wikicode is preferred.

Linking

Linking helps connect different articles together. On Bulbapedia, there are several linking options. You can also link to websites outside of Bulbapedia. For more ways to link both internally and externally, see the list of link templates.

Tables

Bulbapedia uses tables to store and present data. All wikicode textformatting can be used in tables. To learn more about table coding, find a page with a table and click "edit" to see what different styles and formats can be used.

Formatting type

Input

Output

Open a table

{|

Start a new cell (beside the previous cell)

| Cell 1
| Cell 2

Cell 1

Cell 2

Start a new line

| Cell 1
|-
| Cell 2

Cell 1

Cell 2

Close or end a table

|}

Create roundy tables

Add class="roundy" to the opening statement of the table or cell, or use Template:Roundy.

Create colorful or formatted tables

Use style="..." to add different styles to the table or cells in the table.

More information

For further information and help, ask a staff member. You may also want to consider clicking the edit tab to view code, experimenting with coding and then clicking "preview" to see what you've changed without saving the change.