The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

Support the wiki on our official Ko-Fi page or Patreon page!

Template:Spoiler: Difference between revisions

From The Codex
Line 1: Line 1:
<infobox/>
{
<noinclude>
"name": "Spoilers",
Example usage:<pre>
"version": "2.2.0",
{{Spoiler
"author": [
|title1=Example
"Tim \"Telshin\" Aldridge",
|image1=Example
"Kris \"Developaws\" Blair"
|caption1=Example
],
|row1=Example
"url": "http://www.mediawiki.org/wiki/Extension:Spoilers",
|row2=Example
"descriptionmsg": "spoilers_description",
}}
"license-name": "MIT",
</pre>
"type": "parserhook",
</noinclude>
"requires": {
"MediaWiki": ">= 1.27.0"
},
"MessagesDirs": {
"Spoilers": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"SpoilersMagic": "SpoilersI18nMagic.php"
},
"AutoloadClasses": {
"Spoilers\\SpoilersHooks": "SpoilersHooks.php"
},
"ResourceModules": {
"ext.spoilers": {
"styles": [
"spoilers.css"
],
"scripts": [
"mw.Spoilers.js"
],
"messages": [
"spoilers_hide_default",
"spoilers_show_default"
],
"dependencies": [
"mediawiki.jqueryMsg"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "Spoilers/resources"
},
"Hooks": {
"ParserFirstCallInit": [
"Spoilers\\SpoilersHooks::onParserFirstCallInit"
]
},
"manifest_version": 1
}

Revision as of 17:13, 16 February 2020

{ "name": "Spoilers", "version": "2.2.0", "author": [ "Tim \"Telshin\" Aldridge", "Kris \"Developaws\" Blair" ], "url": "http://www.mediawiki.org/wiki/Extension:Spoilers", "descriptionmsg": "spoilers_description", "license-name": "MIT", "type": "parserhook", "requires": { "MediaWiki": ">= 1.27.0" }, "MessagesDirs": { "Spoilers": [ "i18n" ] }, "ExtensionMessagesFiles": { "SpoilersMagic": "SpoilersI18nMagic.php" }, "AutoloadClasses": { "Spoilers\\SpoilersHooks": "SpoilersHooks.php" }, "ResourceModules": { "ext.spoilers": { "styles": [ "spoilers.css" ], "scripts": [ "mw.Spoilers.js" ], "messages": [ "spoilers_hide_default", "spoilers_show_default" ], "dependencies": [ "mediawiki.jqueryMsg" ] } }, "ResourceFileModulePaths": { "localBasePath": "resources", "remoteExtPath": "Spoilers/resources" }, "Hooks": { "ParserFirstCallInit": [ "Spoilers\\SpoilersHooks::onParserFirstCallInit" ] }, "manifest_version": 1 }