Editing Doom Wiki:Gadget (section) From DoomWiki.org Warning: You are not logged in. Your IP address will be recorded in this page's edit history. Anti-spam check. Do not fill this in! == Installation == Gadgets can be installed after discussion at [[{{TALKPAGENAME}}]] by [[Doom Wiki:Administrators|administrator]]s in the following way: # Add the [[#Header|header]] below and the script code to MediaWiki:Gadget-''scriptname''.js # Optionally, add the [[#Header|header]] below and {{wp|Cascading Style Sheets|CSS}} code to MediaWiki:Gadget-''scriptname''.css # Add a script description to MediaWiki:Gadget-''scriptname''. Please link to the script home and/or help page and state browser requirements if needed. # Add to [[MediaWiki:Gadgets-definition]] under the appropriate heading <pre>* scriptname|scriptname.js[|scriptname.css|otherscript.js|...]</pre> # Update the table of installed gadgets below The gadget should now appear on [[Special:Gadgets]]. === Comments === Comments or warnings can be added to the gadget description templates in two ways: * noinclude tag (visible on description page with links): ''<code><nowiki><noinclude> comment </noinclude></nowiki></code>'' * HTML comments (visible in source text only): ''<code><nowiki><!-- comment --></nowiki></code>'' Comments added in this way will be automatically discarded during the page creation process. === Header === The following header should be added to the gadget files, with modifications as necessary: <pre> /* _____________________________________________________________________________ * | | * | === WARNING: GLOBAL GADGET FILE === | * | Changes to this page affect many users. | * | Please discuss changes on the talk page before editing. | * |_____________________________________________________________________________| * * Imported from [[SCRIPT_SOURCE]] as of DATE * SHORT_DESCRIPTION, see [[SCRIPT_HOME_PAGE]] */ </pre> === Default gadgets === A gadget with [[mw:Extension:Gadgets#Options|<code>default</code>]] keyword is enabled for all visitors and only registered users can disable it. A gadget with <code>[default|rights=minoredit]</code> description would be automatically enabled only for registered users. Summary: All contributions to DoomWiki.org are considered to be released under the CC BY-SA 4.0 International (see Doom Wiki:Copyrights for details). By contributing, you agree to be bound by the Terms of Use. Your changes will be visible immediately. Please enter a summary of your changes above. Do not submit copyrighted images or text without permission! This includes text taken from in-game codices or logbooks, or from official instruction manuals, strategy guides, and other such books. This project is not affiliated with id Software, Raven Software, ZeniMax Media, Bethesda SoftWorks, or any other commercial software developer or publisher. Use of trademarked logos and other protected intellectual property is solely for the purpose of analysis and critical commentary on the identified products and associated fan community activity, and does not imply any endorsement by any of these organizations or their employees, past or present. Upload images to the wiki. Don't forget to categorize pages! For testing, please use a sandbox. View this template Cancel | Editing help (opens in new window)