Click to open network menu
Join or Log In
Mobafire logo

Join the leading League of Legends community. Create and share Champion Guides and Builds.

Create an MFN Account






Or

's Forum Avatar

How to Use Database Icons that Share a Name

Creator: Mowen June 3, 2013 7:49pm
Mowen
<Production Coordinator>
Mowen's Forum Avatar
Show more awards
Posts:
6445
Joined:
Nov 7th, 2010
Permalink | Quote | PM | +Rep June 3, 2013 7:49pm | Report
There are some abilities / masteries / items that share a name with eachother, such as Zephyr and Zephyr. So, how do you specify which database item you want to use?



You need to specify which wiki section you want to pull the database item from: ability, mastery, item.

If the name has spaces in it you will need to use "s around the name, such as [wiki=mastery "fleet of foot"].

[wiki=ability frenzy] OR [[frenzy ability]] = ability frenzy

[wiki=mastery frenzy] OR [[frenzy mastery]] = Frenzy

[wiki=item zephyr] [zephyr item] = Zephyr



That's great for when you want to link the database item as a name, but what if you want just the icon? Well you have to specify the database section using the "icon=..." code.

[icon=ability frenzy] = ability frenzy

[icon=mastery frenzy] =

[icon=item zephyr] =



To change the size of the icon you need to add "size=..." to the icon code, just like you do when you use the icon code without specifying a database section.

[icon=ability frenzy size=25] = ability frenzy

[icon=mastery frenzy size=50] =

[icon=item zephyr size=75] =


If a database entry has mastery / ability / item etc as part of their name it breaks the code above. So, use this code (wiki ____="..."):


[wiki mastery="arcane mastery"] = Arcane Mastery


If you have any more questions concerning this just post a comment in this thread!
Thanks to Minho for my sig!
DarkPercy
<Member>
DarkPercy's Forum Avatar
Show more awards
Posts:
1825
Joined:
Nov 13th, 2010
Permalink | Quote | PM | +Rep June 3, 2013 8:20pm | Report
and if we just write [[frenzy]], etc. Which one of the two icons appears?

Testing:

Frenzy
Perseverance
Zephyr
Cripple

Well, now we know :D

Made by -NA- Veng Lmfao
Aldones
<Member>
Aldones's Forum Avatar
Posts:
6
Joined:
Jun 6th, 2013
Permalink | Quote | PM | +Rep August 13, 2013 2:04pm | Report
What is Tenacity coded as? As you can see a simple link does not refer to 35% mitigated CC and as a item passive it doesn't come up under item, mastery, or ability. Neither passive nor unique passive seem to work.
Janitsu
<Moderator>
Janitsu's Forum Avatar
Show more awards
Posts:
8826
Joined:
Jul 3rd, 2011
Permalink | Quote | PM | +Rep August 13, 2013 2:10pm | Report
The closest you can get is probably linking this page with code [url=http://www.mobafire.com/league-of-legends/wiki/game-mechanics/crowd-control]tenacity[/url]
IceCreamy
<Veteran>
IceCreamy's Forum Avatar
Show more awards
Posts:
5981
Joined:
Aug 14th, 2011
Permalink | Quote | PM | +Rep August 13, 2013 2:56pm | Report
Tenacity isn't an ability, mastery, champion, rune or whatnot. Since there's also no wiki article about it, you can't use BBCode to link it - the way Janitsu described would be the best option :)

Crowd Control isn't the same as Tenacity ofc x)

DuffTime wrote:
ok ok plz carry me omg
i was only waiting for you to ask

Temzilla wrote:
Too hot to be icecream.

Luther3000 wrote:
He looks like a hair gel advert on legs

Toshabi wrote:
Icecreamy, with hair as slick and smooth as the ocean waves of Cocobana
Janitsu
<Moderator>
Janitsu's Forum Avatar
Show more awards
Posts:
8826
Joined:
Jul 3rd, 2011
Permalink | Quote | PM | +Rep August 13, 2013 2:57pm | Report
I'll add anchor link to the wiki so it works :D

Thanks to OwenTheAwesomer for the signature =)
Janitsu
<Moderator>
Janitsu's Forum Avatar
Show more awards
Posts:
8826
Joined:
Jul 3rd, 2011
Permalink | Quote | PM | +Rep August 31, 2013 2:34pm | Report
This thread should be stickied imo.

Thanks to OwenTheAwesomer for the signature =)
drakon136
<Member>
drakon136's Forum Avatar
Show more awards
Posts:
1400
Joined:
May 4th, 2013
Permalink | Quote | PM | +Rep August 31, 2013 3:38pm | Report
Probably should. Also, you can use stuff like [[Frenzy mastery]] or [[Zephyr ability]] as well.

Frenzy - Frenzy
Zephyr - Zephyr

You need to log in before commenting.

League of Legends Champions:

Teamfight Tactics Guide