4,557 Pages

[view] [edit] [history] [purge] Template documentation

Description

The box design which is used to display Tooltips inside of it. Subtemplates add additional structures, which are populated by data templates.

Associated Templates

This list is not complete.

Template:Tooltip subpages

TooltipTooltip/AbilityTooltip/Ability/Data
Tooltip/BuffTooltip/Buff/DataTooltip/Champion
Tooltip/Champion/DataTooltip/ChannelTooltip/Chroma
Tooltip/GlossaryTooltip/Glossary/DataTooltip/Icon
Tooltip/ItemTooltip/Item/DataTooltip/LOR
Tooltip/MasteryTooltip/Mastery/DataTooltip/Pp
Tooltip/Pp/docTooltip/ProgressionTooltip/Progression/doc
Tooltip/RPTooltip/RuneTooltip/Rune/Data
Tooltip/SkinTooltip/Skin/Data
Tooltip/Skin/LoadingTooltip/Skin/SandboxTooltip/Skin/doc
Tooltip/SpellTooltip/Spell/DataTooltip/TFT
Tooltip/doc

See also

Code in MediaWiki:Common.js

/* Custom Tooltips for use with the Tooltips/code.js */
var tooltips_list = [
    {   classname: 'ability-icon',
        parse: '{'+'{Tooltip/Ability|champion=<#champion#>|ability=<#ability#>}}'},
    {   classname: 'buff-icon', 
        parse: '{'+'{Tooltip/Buff|<#param#>}}'},
    {   classname: 'champion-icon',
        parse: '{'+'{Tooltip/Champion|champion=<#champion#>|skin=<#skin#>|variant=<#variant#>}}'},
    {   classname: 'glossary',
        parse: '{'+'{Tooltip/Glossary|<#param#>}}'},
    {   classname: 'item-icon', 
        parse: '{'+'{Tooltip/Item|<#param#>}}'},
    {   classname: 'mastery-icon', 
        parse: '{'+'{Tooltip/Mastery|<#param#>}}'},
    {   classname: 'pp-tooltip',
        parse: '{'+'{Tooltip/Pp|<#size#>|<#values#>|values1=<#values1#>|values2=<#values2#>|label1=<#label1#>|label2=<#label2#>|displayformula=<#displayformula#>|useformula=<#useformula#>|key1=<#key1#>|key2=<#key2#>|start=<#start#>|end=<#end#>|round1=<#round1#>|round2=<#round2#>}}'},
    {   classname: 'passive-progression', 
        parse: '{'+'{Tooltip/Pp|tLabel=<#tLabel#>|bLabel=<#bLabel#>|tVal=<#tVal#>|bVal=<#bVal#>|tKey=<#tKey#>|bKey=<#bKey#>|tRound=<#tRound#>|bRound=<#bRound#>|size=<#size#>|start=<#start#>|end=<#end#>|formula=<#formula#>|formulalabel=<#formulalabel#>}}'},
    {   classname: 'rune-icon', 
        parse: '{'+'{Tooltip/Rune|<#param#>}}'},
    {   classname: 'skin-icon', 
        parse: '{'+'{Tooltip/Skin|champion=<#champion#>|skin=<#skin#>|variant=<#variant#>}}'},
    {   classname: 'skinloading-icon', 
        parse: '{'+'{Tooltip/Skin/Loading|champion=<#champion#>|skin=<#skin#>|variant=<#variant#>}}'},
    {   classname: 'chroma-icon', 
        parse: '{'+'{Tooltip/Chroma|champion=<#champion#>|skin=<#skin#>}}'},
    {   classname: 'avatar-icon', 
        parse: '{'+'{Tooltip/Icon|<#param#>}}'},
    {   classname: 'esports-icon', 
        parse: '{'+'{Tooltip/Icon|<#param#>}}'},
    {   classname: 'ward-icon', 
        parse: '{'+'{Tooltip/Ward|<#param#>}}'},
    {   classname: 'spell-icon', 
        parse: '{'+'{Tooltip/Spell|<#param#>}}'},
    {   classname: 'tooltip-sandbox', 
        parse: '{'+'{Tooltip/Sandbox|<#v1#>|<#v2#>|<#v3#>|<#v4#>|<#v5#>|<#v6#>|v7=<#v7#>|v8=<#v8#>|v9=<#v9#>|v10=<#v10#>|v11=<#v11#>|v12=<#v12#>}}'}
];
 
var tooltips_config = {
    offsetX: 20,
    offsetY: 20,
    waitForImages: true,
    noCSS: true
};
Community content is available under CC-BY-SA unless otherwise noted.