MediaWiki:Common.js

From Angels Fall First Wiki
Revision as of 20:00, 18 January 2018 by Sudazima (talk | contribs) (Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: $(function () { $('#suda-js').html(' <header style="background-image: url(https://vignette.wik...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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. */


$(function () {
  $('#suda-js').html('

<header
	style="background-image: url(https://vignette.wikia.nocookie.net/central/images/0/0e/Community-header-background/revision/latest/zoom-crop/width/471/height/115?cb=20170609153229);"	class="wds-community-header">
			<div class="wds-community-header__wordmark" data-tracking="wordmark-image">
			<a accesskey="z" href="http://community.wikia.com/wiki/Community_Central">
				<img src="https://vignette4.wikia.nocookie.net/central/images/8/89/Wiki-wordmark.png/revision/latest?cb=20170613144236"
					 width="125"
					 height="65"
					 alt="Community Central">
			</a>
		</div>
		<div class="wds-community-header__top-container">
		<div class="wds-community-header__sitename" data-tracking="sitename">
			<a href="http://community.wikia.com/wiki/Community_Central">Community Central</a>
		</div>
		<div class="wds-community-header__counter" data-tracking="counter">
			<span class="wds-community-header__counter-value">20,998</span>
			<span class="wds-community-header__counter-label">Pages</span>
		</div>
		<div class="wds-community-header__wiki-buttons wds-button-group">
							<a class="wds-button wds-is-squished wds-is-secondary createpage"
				   href="/wiki/Special:CreatePage"
				   data-tracking="add-new-page" title="Add new page">
					<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" class="wds-icon wds-icon-small" id="wds-icons-add-new-page-small"><g fill-rule="evenodd"><path d="M4.667 11H8v1.333H4.667V11zm0-3.333h8V9h-8V7.667zm0-3.334h8v1.334h-8V4.333zM2.667 17H10v-4.667c0-.368.3-.666.667-.666h4.666v-10A.667.667 0 0 0 14.667 1h-12A.667.667 0 0 0 2 1.667v14.666c0 .368.3.667.667.667z"/><path d="M14.943 13h-3.61v3.61z"/></g></svg>											<span>Add new page</span>
									</a>
								</div>
	</div>
	<nav class="wds-community-header__local-navigation">
	<ul class="wds-tabs">
					<li class="wds-tabs__tab">
									<div class="wds-dropdown">
						<div class="wds-tabs__tab-label wds-dropdown__toggle">
							<a href="/wiki/Blog:FANDOM_Staff_Blog"
																data-tracking="custom-level-1">
								<span>News</span>
							</a>
							<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown__toggle-chevron" id="wds-icons-dropdown-tiny"><path d="M6 9l4-5H2" fill-rule="evenodd"/></svg>						</div>
						<div class="wds-is-not-scrollable wds-dropdown__content">
							<ul class="wds-list wds-is-linked wds-has-bolded-items">
																											<li>
											<a href="/wiki/Blog:FANDOM_Staff_Blog"
																								data-tracking="custom-level-2"
											>
												Staff Blog											</a>
										</li>
																																				<li>
											<a href="/wiki/Blog:Community_Highlights"
																								data-tracking="custom-level-2"
											>
												Community Highlights											</a>
										</li>
																																				<li>
											<a href="/wiki/Board:Technical_Updates"
																								data-tracking="custom-level-2"
											>
												Technical Updates											</a>
										</li>
																																				<li>
											<a href="/wiki/Blog:Recent_posts"
																								data-tracking="custom-level-2"
											>
												All Blogs											</a>
										</li>
																								</ul>
						</div>
					</div>
							</li>
					<li class="wds-tabs__tab">
									<div class="wds-dropdown">
						<div class="wds-tabs__tab-label wds-dropdown__toggle">
							<a href="/wiki/Community_Central"
																data-tracking="custom-level-1">
								<span>Community</span>
							</a>
							<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown__toggle-chevron" id="wds-icons-dropdown-tiny"><path d="M6 9l4-5H2" fill-rule="evenodd"/></svg>						</div>
						<div class="wds-is-not-scrollable wds-dropdown__content">
							<ul class="wds-list wds-is-linked wds-has-bolded-items">
																											<li class="wds-dropdown-level-2">
											<a href="http://www.wikia.com/About"
																								class="wds-dropdown-level-2__toggle"
												data-tracking="custom-level-2"
											>
												<span>About Us</span>
												<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown-chevron" id="wds-icons-menu-control-tiny"><path d="M6.003 10.002a.997.997 0 0 1-.707-.293L.293 4.707a.999.999 0 1 1 1.414-1.414l4.296 4.295 4.293-4.293A.999.999 0 1 1 11.71 4.71l-5 5a.997.997 0 0 1-.707.293" fill-rule="evenodd"/></svg>											</a>
											<div class="wds-is-not-scrollable wds-dropdown-level-2__content">
												<ul class="wds-list wds-is-linked">
																											<li>
															<a href="/wiki/Choosing_FANDOM"
																																data-tracking="custom-level-3"
															>Choosing FANDOM</a>
														</li>
																											<li>
															<a href="/wiki/Guidelines"
																																data-tracking="custom-level-3"
															>Community Guidelines</a>
														</li>
																											<li>
															<a href="/wiki/Chat_Guidelines"
																																data-tracking="custom-level-3"
															>Chat Guidelines</a>
														</li>
																											<li>
															<a href="/wiki/Staff"
																																data-tracking="custom-level-3"
															>Meet the Staff</a>
														</li>
																											<li>
															<a href="/wiki/Community_Central:Admins_and_mods"
																																data-tracking="custom-level-3"
															>Admins and mods</a>
														</li>
																											<li>
															<a href="/wiki/VSTF"
																																data-tracking="custom-level-3"
															>VSTF</a>
														</li>
																									</ul>
											</div>
										</li>
																																				<li class="wds-dropdown-level-2">
											<a href="/wiki/Special:Forum"
																								class="wds-dropdown-level-2__toggle"
												data-tracking="custom-level-2"
											>
												<span>Forum</span>
												<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown-chevron" id="wds-icons-menu-control-tiny"><path d="M6.003 10.002a.997.997 0 0 1-.707-.293L.293 4.707a.999.999 0 1 1 1.414-1.414l4.296 4.295 4.293-4.293A.999.999 0 1 1 11.71 4.71l-5 5a.997.997 0 0 1-.707.293" fill-rule="evenodd"/></svg>											</a>
											<div class="wds-is-not-scrollable wds-dropdown-level-2__content">
												<ul class="wds-list wds-is-linked">
																											<li>
															<a href="/wiki/Board:Support_Requests_-_Getting_Started"
																																data-tracking="custom-level-3"
															>Getting Started</a>
														</li>
																											<li>
															<a href="/wiki/Board:Support_Requests_-_Getting_Technical"
																																data-tracking="custom-level-3"
															>Technical Help</a>
														</li>
																											<li>
															<a href="/wiki/Board:Support_Requests_-_Designing_Your_Wiki"
																																data-tracking="custom-level-3"
															>Wiki Design</a>
														</li>
																											<li>
															<a href="/wiki/Board:Support_Requests_-_Community_Management"
																																data-tracking="custom-level-3"
															>Community Management</a>
														</li>
																											<li>
															<a href="/wiki/Board:New_Features"
																																data-tracking="custom-level-3"
															>New Features</a>
														</li>
																											<li>
															<a href="/wiki/Board:General_Discussion"
																																data-tracking="custom-level-3"
															>General Discussion</a>
														</li>
																									</ul>
											</div>
										</li>
																																				<li>
											<a href="/wiki/Staff_Office_Hours"
																								data-tracking="custom-level-2"
											>
												Staff Office Hours											</a>
										</li>
																								</ul>
						</div>
					</div>
							</li>
					<li class="wds-tabs__tab">
									<div class="wds-dropdown">
						<div class="wds-tabs__tab-label wds-dropdown__toggle">
							<a href="#"
																data-tracking="custom-level-1">
								<span>Help</span>
							</a>
							<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown__toggle-chevron" id="wds-icons-dropdown-tiny"><path d="M6 9l4-5H2" fill-rule="evenodd"/></svg>						</div>
						<div class="wds-is-not-scrollable wds-dropdown__content">
							<ul class="wds-list wds-is-linked wds-has-bolded-items">
																											<li class="wds-dropdown-level-2">
											<a href="/wiki/Help:Contents"
																								class="wds-dropdown-level-2__toggle"
												data-tracking="custom-level-2"
											>
												<span>Help Pages</span>
												<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown-chevron" id="wds-icons-menu-control-tiny"><path d="M6.003 10.002a.997.997 0 0 1-.707-.293L.293 4.707a.999.999 0 1 1 1.414-1.414l4.296 4.295 4.293-4.293A.999.999 0 1 1 11.71 4.71l-5 5a.997.997 0 0 1-.707.293" fill-rule="evenodd"/></svg>											</a>
											<div class="wds-is-not-scrollable wds-dropdown-level-2__content">
												<ul class="wds-list wds-is-linked">
																											<li>
															<a href="/wiki/Help:Changing_your_username"
																																data-tracking="custom-level-3"
															>Changing your username</a>
														</li>
																											<li>
															<a href="/wiki/Help:Templates"
																																data-tracking="custom-level-3"
															>Templates</a>
														</li>
																											<li>
															<a href="/wiki/Help:Infoboxes"
																																data-tracking="custom-level-3"
															>Infoboxes</a>
														</li>
																											<li>
															<a href="/wiki/Help:Color"
																																data-tracking="custom-level-3"
															>Color</a>
														</li>
																											<li>
															<a href="/wiki/Help:Editing"
																																data-tracking="custom-level-3"
															>Editing</a>
														</li>
																											<li>
															<a href="/wiki/Help:Theme_designer"
																																data-tracking="custom-level-3"
															>Theme designer</a>
														</li>
																											<li>
															<a href="/wiki/Help:Index"
																																data-tracking="custom-level-3"
															>Browse All Topics</a>
														</li>
																									</ul>
											</div>
										</li>
																																				<li>
											<a href="/wiki/FANDOM_University"
																								data-tracking="custom-level-2"
											>
												FANDOM University											</a>
										</li>
																								</ul>
						</div>
					</div>
							</li>
					<li class="wds-tabs__tab">
									<div class="wds-dropdown">
						<div class="wds-tabs__tab-label wds-dropdown__toggle">
							<a href="#"
																data-tracking="custom-level-1">
								<span>Requests</span>
							</a>
							<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown__toggle-chevron" id="wds-icons-dropdown-tiny"><path d="M6 9l4-5H2" fill-rule="evenodd"/></svg>						</div>
						<div class="wds-is-not-scrollable wds-dropdown__content">
							<ul class="wds-list wds-is-linked wds-has-bolded-items">
																											<li>
											<a href="/wiki/Discussions_Moderation_Requests"
																								data-tracking="custom-level-2"
											>
												Discussions Moderation											</a>
										</li>
																																				<li class="wds-dropdown-level-2">
											<a href="/wiki/Special:Contact"
																								class="wds-dropdown-level-2__toggle"
												data-tracking="custom-level-2"
											>
												<span>Staff Help</span>
												<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown-chevron" id="wds-icons-menu-control-tiny"><path d="M6.003 10.002a.997.997 0 0 1-.707-.293L.293 4.707a.999.999 0 1 1 1.414-1.414l4.296 4.295 4.293-4.293A.999.999 0 1 1 11.71 4.71l-5 5a.997.997 0 0 1-.707.293" fill-rule="evenodd"/></svg>											</a>
											<div class="wds-is-not-scrollable wds-dropdown-level-2__content">
												<ul class="wds-list wds-is-linked">
																											<li>
															<a href="/wiki/Adoption:Requests"
																																data-tracking="custom-level-3"
															>Wiki adoption</a>
														</li>
																											<li>
															<a href="/wiki/Special:Contact/features"
																																data-tracking="custom-level-3"
															>Change features</a>
														</li>
																											<li>
															<a href="/wiki/Community_Central:Community_Development_Team/Requests"
																																data-tracking="custom-level-3"
															>Design help</a>
														</li>
																											<li>
															<a href="/wiki/Special:Contact/feedback"
																																data-tracking="custom-level-3"
															>Offer feedback</a>
														</li>
																											<li>
															<a href="/wiki/Special:Contact/rename-account"
																																data-tracking="custom-level-3"
															>Rename account</a>
														</li>
																											<li>
															<a href="/wiki/Special:Contact/bug"
																																data-tracking="custom-level-3"
															>Report Bug</a>
														</li>
																											<li>
															<a href="/wiki/Special:Contact/user-conflict"
																																data-tracking="custom-level-3"
															>User issues</a>
														</li>
																											<li>
															<a href="/wiki/Special:Contact/using-fandom"
																																data-tracking="custom-level-3"
															>Using FANDOM</a>
														</li>
																											<li>
															<a href="/wiki/Special:Contact/blocked"
																																data-tracking="custom-level-3"
															>Why am I blocked?</a>
														</li>
																									</ul>
											</div>
										</li>
																																				<li class="wds-dropdown-level-2">
											<a href="http://community.wikia.com/wiki/c:vstf"
																								class="wds-dropdown-level-2__toggle"
												data-tracking="custom-level-2"
											>
												<span>Wiki Clean-up</span>
												<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown-chevron" id="wds-icons-menu-control-tiny"><path d="M6.003 10.002a.997.997 0 0 1-.707-.293L.293 4.707a.999.999 0 1 1 1.414-1.414l4.296 4.295 4.293-4.293A.999.999 0 1 1 11.71 4.71l-5 5a.997.997 0 0 1-.707.293" fill-rule="evenodd"/></svg>											</a>
											<div class="wds-is-not-scrollable wds-dropdown-level-2__content">
												<ul class="wds-list wds-is-linked">
																											<li>
															<a href="http://community.wikia.com/wiki/c:vstf:Report:Profile"
																																data-tracking="custom-level-3"
															>Report user profile</a>
														</li>
																											<li>
															<a href="http://community.wikia.com/wiki/c:vstf:Report:Spam"
																																data-tracking="custom-level-3"
															>Report spam</a>
														</li>
																											<li>
															<a href="http://community.wikia.com/wiki/c:vstf:Report:Vandalism"
																																data-tracking="custom-level-3"
															>Report vandalism</a>
														</li>
																											<li>
															<a href="http://community.wikia.com/wiki/c:vstf:Report:Wiki"
																																data-tracking="custom-level-3"
															>Report wikis</a>
														</li>
																											<li>
															<a href="http://community.wikia.com/wiki/c:vstf:Report:Spam_filter_problems"
																																data-tracking="custom-level-3"
															>Spam filter problems</a>
														</li>
																									</ul>
											</div>
										</li>
																																				<li class="wds-dropdown-level-2">
											<a href="/wiki/Category:Requests"
																								class="wds-dropdown-level-2__toggle"
												data-tracking="custom-level-2"
											>
												<span>Promotion & Design</span>
												<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown-chevron" id="wds-icons-menu-control-tiny"><path d="M6.003 10.002a.997.997 0 0 1-.707-.293L.293 4.707a.999.999 0 1 1 1.414-1.414l4.296 4.295 4.293-4.293A.999.999 0 1 1 11.71 4.71l-5 5a.997.997 0 0 1-.707.293" fill-rule="evenodd"/></svg>											</a>
											<div class="wds-is-not-scrollable wds-dropdown-level-2__content">
												<ul class="wds-list wds-is-linked">
																											<li>
															<a href="/wiki/Community_Central_talk:Spotlights"
																																data-tracking="custom-level-3"
															>Spotlights</a>
														</li>
																											<li>
															<a href="/wiki/Community_Central:Community_Development_Team/Requests"
																																data-tracking="custom-level-3"
															>Mainpage & Design</a>
														</li>
																											<li>
															<a href="/wiki/Community_Central:Community_Development_Team/Requests"
																																data-tracking="custom-level-3"
															>Content & SEO</a>
														</li>
																											<li>
															<a href="/wiki/Community_Central:Interlanguage_link_requests"
																																data-tracking="custom-level-3"
															>Interwiki/Interlanguage linking</a>
														</li>
																									</ul>
											</div>
										</li>
																								</ul>
						</div>
					</div>
							</li>
				<li class="wds-tabs__tab">
			<div class="wds-dropdown">
				<div class="wds-tabs__tab-label wds-dropdown__toggle">
					<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon-tiny wds-icon" id="wds-icons-explore-tiny"><path d="M10.5 8.5a5.132 5.132 0 0 0-1.875-.357c-.675 0-1.35.143-1.875.357V3.143c0-.214.675-.714 1.875-.714s1.875.5 1.875.714V8.5zm-7.125-.357c-.675 0-1.35.143-1.875.357V3.143c0-.214.675-.714 1.875-.714s1.875.5 1.875.714V8.5a5.132 5.132 0 0 0-1.875-.357zM8.625 1C7.575 1 6.6 1.286 6 1.786 5.4 1.286 4.425 1 3.375 1 1.425 1 0 1.929 0 3.143v7.143c0 .428.3.714.75.714s.75-.286.75-.714c0-.215.675-.715 1.875-.715s1.875.5 1.875.715c0 .428.3.714.75.714s.75-.286.75-.714c0-.215.675-.715 1.875-.715s1.875.5 1.875.715c0 .428.3.714.75.714s.75-.286.75-.714V3.143C12 1.929 10.575 1 8.625 1z"/></svg>					<span>Explore</span>
					<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown__toggle-chevron" id="wds-icons-dropdown-tiny"><path d="M6 9l4-5H2" fill-rule="evenodd"/></svg>				</div>
				<div class="wds-is-not-scrollable wds-dropdown__content">
					<ul class="wds-list wds-is-linked wds-has-bolded-items">
													<li>
								<a href="http://community.wikia.com/wiki/Special:WikiActivity"
																		data-tracking="explore-activity"
								>Wiki Activity</a>
							</li>
													<li>
								<a href="http://community.wikia.com/wiki/Special:Random"
																		data-tracking="explore-random"
								>Random page</a>
							</li>
													<li>
								<a href="http://community.wikia.com/wiki/Special:Videos"
																		data-tracking="explore-videos"
								>Videos</a>
							</li>
													<li>
								<a href="http://community.wikia.com/wiki/Special:Images"
																		data-tracking="explore-images"
								>Images</a>
							</li>
											</ul>
				</div>
			</div>
		</li>
					<li class="wds-tabs__tab">
				<div class="wds-tabs__tab-label">
					<a href="http://community.wikia.com/wiki/Special:Forum"
												data-tracking="forum"
					>
						<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" class="wds-icon-tiny wds-icon" id="wds-icons-reply-small"><path d="M18 8.273c0 4.01-4.037 7.272-9 7.272-.752 0-1.508-.078-2.252-.233l-4.22 1.636a.77.77 0 0 1-.732-.096.719.719 0 0 1-.291-.66l.395-3.45C.672 11.47 0 9.896 0 8.273 0 4.263 4.037 1 9 1s9 3.263 9 7.273z" fill-rule="evenodd"/></svg>						<span>Forum</span>
					</a>
				</div>
			</li>
			</ul>
</nav>
</header>

');
}());