League of Legends Wiki

User blog:Demise101/Editor101- Source Code Basics


Editor101- Source Code Basics

Demise101 September 23, 2011 User blog:Demise101


Hi guys, this is another blog to help you with editing. This time, its about SOURCE CODE.( Its been a while, but the blogs are hard to make D: ).

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.

Demise101 Moderator Kitty

Moderators are forced to clean up unsourced coding D:


{{Stub}} 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 {{Upcoming}} template, which shows you that a page is subject to extreme changes at random. Like Dominion. Or Magma Chamber.

<nowiki> text </nowiki>

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. <poll> Question option 1 option 2 option 3 </poll>

Example Poll:

Why do you like League of Legends?

The poll was created at 01:10 on September 23, 2011, and so far 1026 people voted.


==Title== is a heading

<nowik>i===Title===</nowiki> is a subheading of the first

====Title==== is a subheading of the subheading

=====Title===== is a subheading of the subheading of the original subheading

======Title====== is a subheading of the above subheading

=======Title====== is the subheading of the above subheading

========Title======= is the subheading of the above subheading

(thanks to Neon for this section)<--(disclaimer if anything goes wrong ^_^ )

* is a bullet point, as seen here:

You can also use **, which creates an indented bullet point. Using this and * result in:


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 Internal links.

Internal 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 {{w|Article}}. It will look like Article. This template is straightforward, as it functions like an inter-wiki Link.

Icon Templates

Champion Icon

A champion Template looks like this in coding: {{Ci|Champion Name|What you want the text to appear as}}. 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: {{ci|Annie}} looks like Annie Annie

{{ci|Olaf|BROLAF}} will look like Olaf BROLAF

Ability Icon

The coding for this template is {{ai|Ability name|Champion Name|Custom Text}} . The Champion Name must be included.

Example: {{ai|Light Binding|Lux}} looks like Light Binding.png Light Binding.

Finales Funkeln.png Mega Death Lazer from {{ai|Finales Funkeln|Lux|Mega Death Lazer}}

Item Icon

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

Examples: {{ii|Rabadon's Deathcap}} to Rabadon&#039;s Deathcap item.png Rabadon's Deathcap.

Rabadon&#039;s Deathcap item.png My cap from {{ii|Rabadon's Deathcap|My Cap}}

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 {{Cai|Ability|Champion|Custom Apostrophe}}.

Instead of you typing {{ci|Skarner|Skarner's}} {{ai|Impale|Skarner}}, you can put in {{cai|Impale|Skarner}}.


Sona Sona's Aria of Perseverance.png Aria of Perseverance from {{Cai|Aria of Perserverance|Sona}}


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

Demise101 Offer to help new editors

No really, I can help :D

(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

~ Demise101 @ Talk! @ Contribs! ~

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.