MediaWiki:Common.js
Jump to navigation
Jump to search
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Any JavaScript here will be loaded for all users on every page load. */ if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/align_center.png", "speedTip": "Will center highlighted text.", "tagOpen": "<center>", "tagClose": "</center>", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/S1internallink.jpg", "speedTip": "Make a Sacred Underworld Internal Link", "tagOpen": "[[Sacred:", "tagClose": "|]]", "sampleText": "Page Name you are linking to"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/S2internallink.jpg", "speedTip": "Make a Sacred 2:Fallen Angel Internal Link", "tagOpen": "[[Sacred 2:", "tagClose": "|]]", "sampleText": "Type here what you want the link to be read as..."}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/questbutton.jpg", "speedTip": "Quest Template. Push the preview to see results.", "tagOpen": "{{subst:Quest", "tagClose": "}}", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/chainquest.jpg", "speedTip": "ChainQuest Template. Push the preview to see results.", "tagOpen": "{{subst:ChainQuest", "tagClose": "}}", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/place.jpg", "speedTip": "Place Template. Push the preview to see results.", "tagOpen": "{{subst:Place", "tagClose": "}}", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/npc.jpg", "speedTip": "NPC Template. Push the preview to see results.", "tagOpen": "{{subst:NPC", "tagClose": "}}", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/npc.jpg", "speedTip": "NPC Template.", "tagOpen": "{{msgnw:NPC1", "tagClose": "}}", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.darkmatters.org/SacredWiki/images/buttons/npc.jpg", "speedTip": "NPC Template.", "tagOpen": " __NOTOC__ {{Languages}} {{S2frame|[[Image:UPLOAD A PORTRAIT IMAGE TO THE WIKI AND PUT IMAGE NAME HERE|{550}x{200}px]]|right}} WRITE HERE A GENERAL DESCRIPTION ON WHO IS THIS NPC, WHERE HE IS, WHICH QUESTS DOES HE TAKE PART IN, ETC. BE CREATIVE. ==== Location ==== * {{PAGENAME}} can be located in [[Sacred 2:REPLACE WITH PAGE NAME OF PLACE|REPLACE WITH PAGE NAME OF PLACE]] * [[Sacred 2:Map of Ancaria|Have a look through the SacredWiki Map]] UPLOAD TWO IMAGES SHOWING THE LOCATION. A TAB MAP IMAGE AND AN "M" MAP IMAGE. {{S2frame|[[Image:NAME OF IMAGE|300px]] [[Image:NAME OF IMAGE|300px]]|left}} <br clear="left" /> ==== Quests ==== REMOVE FROM THE FOLLOWING LINES THOSE WHICH DON'T MATCH OR DON'T APPLY TO THE NPC YOU ARE ADDING. REMOVE THIS TEXT AS WELL. * {{PAGENAME}} is quest giver for [[Sacred 2:REPLACE WITH A LINK TO THE CORRECT QUEST|REPLACE WITH A LINK TO THE CORRECT QUEST]] quest * {{PAGENAME}} is involved in [[Sacred 2:REPLACE WITH A LINK TO THE CORRECT QUEST|REPLACE WITH A LINK TO THE CORRECT QUEST]] quest ==== Notes ==== * ADD NOTES HERE (IF APPROPIATE) IN LIST LAYOUT * LIST LAYOUT HELPS TO MAKE THIS MORE READABLE [[Category:Sacred 2 NPC]] ", "tagClose": "", "sampleText": ""}; }