Help:Wikicode
This article is incomplete. Please feel free to edit this article to add missing information and complete it. |
This article explains the basics of wikicode and gives examples of various techniques.
Text Formatting
Bolding
To make text bold, place ''' on both sides of the text to be bolded.
Example:
'''Noctowl'''
Will make:
Noctowl
Italicizing
To italicize text, place '' on both sides of the text to be italicized.
Example:
''Bronzong''
Will make:
Bronzong
Blue box
To put a blue box around a line of text, put a space before the line to have the box.
Example:
Manaphy
Will make:
Manaphy
Indenting
To indent a line of text, put a colon before the line to be indented.
Example:
:Goldenrod City
Will make:
- Goldenrod City
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:
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:
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://wikipedia.org nifty pages]
Will make:
To link to an external page without giving it specific name, simply write the url without any brackets or spaces, like so: http://www.pokemon.com/Dungeon/PersonalityTest
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 |
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.