Star Wars Fanon:Coding Tutorial

The Coding Encyclopedia, is an encyclopedia created by Marek "Mighty" Joesph as a reference guide for free use to use wiki-style coding. Unlike most encyclopedias, this one is not organized in alphabetical order, but categorized by what the code is made to do. This encyclopedia was originally made in response to the Help Wiki and how difficult it was to find a specfic article that contained the needed information. This encyclopedia also includes a sandbox section for users to try what they learned in the encyclopedia. This encyclopedia is currently in production and can be altered by anyone so long as their information is accurate.

Note:HTML and CSS codes are not explained here.

Headers
This section explains how to place headers on an article.

To create a header, type in desired text and place two equal signs on each side of the text for a Level Two header.

The more equal signs you place on a header, the smaller the header will get. For example, three equal signs will create a Level Three header and four equal signs to get a Level Four header.

This pattern continues to a Level Six header, although due to the Monaco skin style, it is not reccomended to use small headers excessivly because of their oddly small size.

Links
This section explains how to change text into links in articles.

Internal Links
Internal links are links that "link" to other pages within the wikia wiki of current usage.

To create an internal link, enter the desired text and place two two-pronged brackets on each side of the text   to create an internal link.

Changing Appearance of Internal Links
To change the appearance of internal links is to change the wording of the link itself, while having it link to the same place.

If a person links to Darth Vader, but want it to read, "Dark Lord", then the user would take  and insert a single vertical bar  after the name of the article, but inside the two pronged brackets  and then type in the desired text behind the vertical bar, but inside the two pronged brackets. The final code will look like this:.

Changing Appearance of External Links
To change the appearance of external links is to change the wording of the link itself, while having it link to the same place.

If a person links to Google, but wants it to read, "Search Engine", then the user would take and place a single space after the web address but before the single two pronged bracket and type "Search Engine" after the space. The final code will look like:

Wookieepedia
This particular Wikia wiki has a special form of linking to Wookieepedia without going through the time consuming process of external linking.

To link to Wookieepedia, start by placing two three-pronged brackets, two left and two right, and typing in the name of the desired article on Wookieepedia between them. Next place a single vertical bar in front of the name of the article. Then before the bar, but within the brackets, type in the letters. The final code should look like:.

Additional methods for linking to Wookieepedia include Rebel Alliance produces Rebel Alliance; the first usage of the title indicates the page name on Wookieepedia, and the second usage of the title indicates the name you wish to display it as here on Star Wars Fanon.

Other wikis
Another method for linking to Wookieepedia includes a basic code found on all wikis. To use this code, type Rebel Alliance. As with the previous method, the page title and display name apply. The "w:c:" is the Wikia linking code, and "starwars" is the wiki name&mdash;not to be confused with the sitename&mdash;of Wookieepedia, as indicated by the wiki's URL. Using this code produces Rebel Alliance.

This Wikia code method can be used for any other Wikia wiki as well; Jesus Patrick Bach links to Jesus Patrick Bach on Darthipedia, for example.

Image Coding
This section explains how to code images into an article or other pages.

Inserting Images
Wikia wikis allows users to insert images into articles or other pages.

Start with two two-pronged brackets and type the name of the desired file after it. . Then after that place a single vertical bar and type in. If the user wants a caption, then place another vertical bar after the word  and then type in the caption. If a caption is not needed then ignore that particular step. Then close it with two more two pronged brackets. The final code should look like this:.

Embedding Images
Embedding images allows users to insert images into articles or other pages in a similar manner to the inserting images procedure explained above, except that this procedure removes the captions and the border.

Start by inserting two two-pronged brackets and then inserting the name of the desired file. . Then insert two more two-pronged brackets. The final code should look like:.

Changing Image Size
If the file's original size is too large or too small, then the user is able to change the size of the photo in the measure of pixelations.

Changing Image sizes with inserted images
Taking the example from the "Inserting Images" tutorial, place the desired amount of pixelations after the second vertical bar  like this:. Lastly place another vertical bar after it. The final code should look like this:

Changing Image sizes with embedded images
Taking the example from the "Embedding Images" tutorial, place a single vertical bar  after the image name, but before the two two-pronged brackets  and type in the desired number of pixelations like this:. The final code should look like this:

Templates
This section explains how to use various templates on this wiki.

Note: Coding may vary from wiki to wiki.

Templates with no fields
To place a template that contains no variables that require input from the user, simply type in the coding name for the desired template and place three-pronged brackets,  two on each side of the text. The final code should look like this:

Templates with fields
Note: There are some exceptions to this procedure, if the procedure does not work, try looking up the template's page for more information.

Header and quote templates
Start by placing two three-pronged templates and type in the coding name of the desired template. Next place a single vertical bar after the template's coding name and type in the appropriate information to satisfy the required field. Repeat the second and third part of the process if there are more fields. Lastly close in the text with two more three-pronged brackets. The final code should look like this:

Infobox templates
Start by placing two three-pronged brackets and type in the coding name of the desired infobox with underscores  in between spaces of the name. Next start on a new line by hitting your computer's  button. Now place a single vertical bar on the new line and type in the name of the desired field with an equal sign  after it. Now type in the information that fulfills the desired field. Repeat process for all the desired fields and leave the undesired fields blank. Lastly, place two more three-pronged brackets at the end of the final field. The final code should look like this: