User blog:Demise101/Editor101- Source Code Basics

IntroHi guys, this is another blog to help you with editing. This time, its about SOURCE CODE.

So lately, I've been noticing how most editors don't really use source code, or templates in general. This little blog will give you some of the basics of coding.



GENERAL
helps to show users which articles are needed to be cleaned up, as the page lacks information.Put this at the top of the page in question. It looks like this:

If you think that an article has enough information to look complete, remove this template from the page.

There are a few variations of this too. There is the template, which shows you that a page is subject to extreme changes at random. Like Dominion. Or Magma Chamber.

text

What it does: Lets you see the coding for things, without making it into a template. This is the basic code template. Remember you can have as many options as you need. Question option 1 option 2 option 3

Example Poll: Why do you like League of Legends? It's free and enjoyable It's laid-back, there aren't too many ragers I like the colours X3!

==Text== makes a title, as shown here:

Text
* is a bullet point, as seen here: You can also use **, which creates an indented bullet point. Using this and * result in:

Editing
There are many Source code Templates for editing on this wiki. This section covers templates that are used to reference Champions, Items and Abilities, as well as External and Inter-wiki links.

Inter-Wiki Link
The first is Text Sample, which redirects you to the page on this wiki that has the same name. When the page exists, and the link works, it will appear blue on this wiki.(Other wikis will have other link colours). IF the page does not exist, the link will be red.

Examples: Text Sample (non-existent page)

Tibbers (existing page)

External Wikipedia Link
The code is. It will look like. This template is straightforward, as it functions like an inter-wiki Link.

Icon Templates
Champion Icon

A champion Template looks like this in coding:. This Template does not actually need the "|What you want the text to appear as" bit, but you have the option to do so.

Remember, if the template messes up, check your spelling.

Examples: looks like

will look like

(misspelt) looks like this:

Ability Icon

The coding for this template is. The Champion Name must be included.

Example: looks like.

from

Item Icon

This Template is a bit buggy, I think. It has no custom parameter(the |Custom Text Function}}, and is the simplest code out of the three. The Code is.

Examples: to.

Champion Ability Icon

This template is a bit more difficult to remember. It combines the Champion and the Ability Icon Templates. The coding for this Template is.

Instead of you typing, you can put in.

Examples:

from

Conclusion
I hope that many people can read this blog, as source code is very useful and can be used across other wikis

(Not our ii,ci,ai or cai ones though. They are Unique. thanks Nystus XD). Until my next blog, please amuse yourself with this ->

Remember, I actually LIKE helping people, so don't be afraid to ask :D