User blog:TriNiSette/Useful Codes for Source Mode

Source mode can be useful for several operations; if there is a link that doesn't need to be there, rather than deleting it and typing it out again, simply delete the brackets in source mode. Source mode can help you understand some coding on your own. Keep in mind, however, that a few operations can be done in visual mode as well as in source mode.

A few operations that can be done in source mode (typed here in visual so that it copies over correctly), are:

Basic Link: [ [pagename] ]

Referential Link: [ [pagename | text] ]
 * No space actually exists between the double brackets; the link will activate in visual mode if the brackets are linked. The same applies below for the hooked brackets denoting templates. Quotation marks are placed

External reference: [site url | text]
 * A space must exist between the vertical bar and the first word of the text, otherwise, the first word of the text will not appear. This is an exception for one-word texts (e.g. [ [Giorno Giovanna|gangster] ] = "gangster", whereas [ [Mr. President|turtle's stand] ] = "stand").

External reference to another wiki: [ [w:c:wikiname:pagename| text] ] (tentative)

Image: [ [Filename | picture width in pixels px | thumb | page alignment | picture comments ] ] (Everything after filename can be typed into the link in any order desired.) Character Info:
 * Note: "Thumb" and picture comments are entirely optional. "Thumb" can be included if the picture is meant to stand alone or credit is to be given to the one who posted the original picture. Picture comments are self-explanatory.
 * Keep in mind that most of the information below may not be applicable; if not then it is better to leave it blank and the template will take care of itself. Most entries below are not explained due to the titles of said entries being self-explanatory.

{ {Template:Character Info


 * title = character name


 * image = See above note on pasting images


 * japname = Use http://www.sljfaq.org/cgi/e2k.cgi for katakana until an improved site is found or the site closes down. Type it out in source mode for consistency of format; the wiki auto-formats most texts unless stated otherwise. If the name is in kanji, it would be preferable to type it out in katakana until a desirable kanji converter is found.


 * birthname =


 * namesake = [ [ wikipedia: namesake| namesake ] ] (Keep in mind that this is different from the above external link; it is often advisable to link to wikipedia unless a video is to be linked to. This may not be applicable for all characters.)


 * stand =


 * prisonerno =


 * horse =


 * age =


 * birthday =


 * zodiac =


 * czodiac =


 * death =


 * gender =


 * nation =


 * height =


 * weight =


 * blood = blood type


 * hair = hair color


 * eyes = eye color


 * color = favorite color


 * movie =


 * hobby =


 * family =


 * mangadebut =


 * mangafinal =


 * animedebut =


 * gamedebut =


 * seiyuu =


 * voiceactor =

} }

Stand Info:
 * If stats are listed in the image, it is usually not necessary to put the stats into the template.

{ {Template:Stand Info


 * title = Stand name


 * image = See above note on pasting images


 * japname = See above note on Japanese katakana references


 * user = Stand user (advisable to provide a link so as not to repeatedly link the user's name throughout the article)


 * namesake = [ [ wikipedia: namesake| namesake ] ] (band) (Keep in mind that this is different from the above external link; it is often advisable to link to wikipedia unless a video is to be linked to.)


 * gender =


 * mangadebut =


 * animedebut =


 * seiyuu =


 * destpower =


 * speed =


 * range =


 * durability =


 * precision =


 * potential =

} }

Infobox:

{ | class="infobox" cellpadding="2" cellspacing="0" width=200px style="border-collapse:collapse;" align="right" |align="left" width="80%" style="font-size:85%;"|'title1


 * text1




 * align="left" width="80%" style="font-size:85%;"|title2


 * text 2



...


 * }

Bullet list:

" * " text1

" * " text2

...

Numbered list:

" # " text1

" # " text2

... While these can be learned by one gaining experience from editing the wiki, the coding used here is included for reference. This blog will be revised and updated if errors are found in the coding.
 * If " # " is typed after an exiting numbered list in visual mode, the following number will be shown on the actual page. However, if " # " is typed in sequence in visual mode, a sequence of 1's will appear. Both " * " and " # " can be used in visual mode (excluding the quotation marks, of course).

Have fun editing!