FANDOM


-- <nowiki>
-- Install template configuration.
-- Stores data on installation scopes and template labelling.
--
--- Scripts are configured by scope ({{{Use}}} parameter):
--- G = global, P = personal, S = sitewide, C = chat.
--
--- Labels have optional .label configuration for bracketed subscopes.
--- Ex. "SO" will output "Sitewide (Oasis)" by default.
--- See [[Module:Install/i18n]] for message data.
--
-- @submodule
return {
    default = {
        js = {
            G = 'w:Special:MyPage/global.js',
            P = 'Special:MyPage/common.js',
            S = 'MediaWiki:ImportJS'
        },
        css = {
            G = 'w:Special:MyPage/global.css',
            P = 'Special:MyPage/common.css',
            S = 'MediaWiki:Common.css'
        },
        html = {
            S = 'Template:$1'
        }
    },
    G = {
        js = {
            G = 'w:Special:MyPage/global.js'
        },
        css = {
            G = 'w:Special:MyPage/global.css'
        },
        html = {
            G = 'w:Template:$1'
        }
    },
    GP = {
        js = {
            G = 'w:Special:MyPage/global.js',
            P = 'Special:MyPage/common.js'
        },
        css = {
            G = 'w:Special:MyPage/global.css',
            P = 'Special:MyPage/common.css'
        },
        html = {
            G = 'w:Template:$1',
            P = 'Special:MyPage/$1'
        }
    },
    GS = {
        js = {
            G = 'w:Special:MyPage/global.js',
            S = 'MediaWiki:Common.css'
        },
        css = {
            G = 'w:Special:MyPage/global.css',
            S = 'MediaWiki:Common.css'
        },
        html = {
            G = 'w:Template:$1',
            S = 'Template:$1'
        }
    },
    PS = {
        js = {
            P = 'Special:MyPage/common.js',
            S = 'MediaWiki:ImportJS'
        },
        css = {
            P = 'Special:MyPage/common.css',
            S = 'MediaWiki:Common.css'
        },
        html = {
            P = 'Special:MyPage/$1',
            S = 'Template:$1'
        }
    },
    P = {
        js = {
            P = 'Special:MyPage/common.js'
        },
        css = {
            P = 'Special:MyPage/common.css'
        },
        html = {
            P = 'Special:MyPage/$1'
        }
    },
    S = {
        js = {
            S = 'MediaWiki:ImportJS'
        },
        css = {
            S = 'MediaWiki:Common.css'
        },
        html = {
            S = 'Template:$1'
        }
    },
    C = {
        label = { key = 'chat' },
        js = {
            P = 'Special:MyPage/chat.js',
            S = 'MediaWiki:Chat.js'
        },
        css = {
            G = 'w:Special:MyPage/global.css',
            P = 'Special:MyPage/chat.css',
            S = 'MediaWiki:Chat.css'
        }
    },
    CS = {
        label = { key = 'chat' },
        js = {
            S = 'MediaWiki:Chat.js'
        },
        css = {
            S = 'MediaWiki:Chat.css'
        }
    },
    CP = {
        label = { key = 'chat' },
        js = {
            P = 'Special:MyPage/chat.js'
        },
        css = {
            G = 'w:Special:MyPage/global.css',
            P = 'Special:MyPage/chat.css'
        }
    }
}
-- </nowiki>
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+