Welcome to Assassin's Creed Wiki! Log in and join the community.
User talk:Skye Hattori: Difference between revisions
Jump to navigation
Jump to search
imported>Wikia Welcome to Assassin's Creed Wiki! |
m →Re:Era |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Welcome}} | {{Welcome}} | ||
Feel free to contact me on my talkpage if you need anything. -- [[User:Amnestyyy|Amnestyyy]] ([[User_talk:Amnestyyy|Talk]]) 19:44, December 21, 2012 | Feel free to contact me on my talkpage if you need anything. -- [[User:Amnestyyy|Amnestyyy]] ([[User_talk:Amnestyyy|Talk]]) 19:44, December 21, 2012 | ||
== Re:Era == | |||
Assuming [w:c:zephyrosphoenix|this is your wiki]], the eraicons require some [w:c:zephyrosphoenix:MediaWiki:Common.js|JS]] | |||
<pre> | |||
//**************// | |||
/* Era-icons */ | |||
//************// | |||
function loadFunc() { | |||
showEras('title-eraicons'); | |||
showEras('title-shortcut'); | |||
} | |||
function showEras(className) { | |||
if( skin == 'oasis' ) { | |||
return; | |||
} | |||
if( typeof( SKIP_ERAS ) != 'undefined' && SKIP_ERAS ) | |||
return; | |||
var titleDiv = document.getElementById( className ); | |||
if( titleDiv == null || titleDiv == undefined ) | |||
return; | |||
var cloneNode = titleDiv.cloneNode(true); | |||
var firstHeading = getFirstHeading(); | |||
firstHeading.insertBefore(cloneNode, firstHeading.childNodes[0]); | |||
cloneNode.style.display = "block"; | |||
} | |||
</pre> | |||
And a [w:c:zephyrosphoenix:MediaWiki:Common.css|CSS]] | |||
<pre> | |||
/**********************************/ | |||
/* Era hack */ | |||
/**********************************/ | |||
#title-eraicons { | |||
display: block !important; | |||
text-align: left; | |||
margin-left: 0.5em; | |||
min-width:300px; | |||
} | |||
</pre> | |||
Change the id in the code or the template.. --{{User:Vatsa1708/sig}} 04:22, December 22, 2012 (UTC) | |||
Thanks for the help. So where exactly would I put these segments of code? ([[User:Skye Hattori|Skye Hattori]] ([[User talk:Skye Hattori|talk]]) 05:19, December 22, 2012 (UTC)) | |||
:I've posted the links to the required MediaWiki page. --{{User:Vatsa1708/sig}} 05:27, December 22, 2012 (UTC) | |||
::Ok, so then would I just put them in with any code already there or just paste over the entire thing? ([[User:Skye Hattori|Skye Hattori]] ([[User talk:Skye Hattori|talk]]) 05:40, December 22, 2012 (UTC)) | |||
:::Put them with the code. ([[MediaWiki:Common.css]]) --{{User:Vatsa1708/sig}} 07:58, December 22, 2012 (UTC) | |||
::::Ok I've put them in with the code, but the icons still aren't showing up. ([[User:Skye Hattori|Skye Hattori]] ([[User talk:Skye Hattori|talk]]) 09:11, December 22, 2012 (UTC)) | |||
Latest revision as of 16:16, 14 May 2026
Welcome to the Order, Skye Hattori! |
Welcome to the Assassin's Creed Wiki!
We hope you enjoy your stay, and we look forward to working with you! |
| Have you something to say? |
|
We seek unity, stability and order. |
|
| We wish you safety and peace on your future endeavors. Happy Editing! |
Feel free to contact me on my talkpage if you need anything. -- Amnestyyy (Talk) 19:44, December 21, 2012
Re:Era[edit source]
Assuming [w:c:zephyrosphoenix|this is your wiki]], the eraicons require some [w:c:zephyrosphoenix:MediaWiki:Common.js|JS]]
//**************//
/* Era-icons */
//************//
function loadFunc() {
showEras('title-eraicons');
showEras('title-shortcut');
}
function showEras(className) {
if( skin == 'oasis' ) {
return;
}
if( typeof( SKIP_ERAS ) != 'undefined' && SKIP_ERAS )
return;
var titleDiv = document.getElementById( className );
if( titleDiv == null || titleDiv == undefined )
return;
var cloneNode = titleDiv.cloneNode(true);
var firstHeading = getFirstHeading();
firstHeading.insertBefore(cloneNode, firstHeading.childNodes[0]);
cloneNode.style.display = "block";
}
And a [w:c:zephyrosphoenix:MediaWiki:Common.css|CSS]]
/**********************************/
/* Era hack */
/**********************************/
#title-eraicons {
display: block !important;
text-align: left;
margin-left: 0.5em;
min-width:300px;
}
Change the id in the code or the template.. --VATSA (TALK • GENTEK) 04:22, December 22, 2012 (UTC)
Thanks for the help. So where exactly would I put these segments of code? (Skye Hattori (talk) 05:19, December 22, 2012 (UTC))
- I've posted the links to the required MediaWiki page. --VATSA (TALK • GENTEK) 05:27, December 22, 2012 (UTC)
- Ok, so then would I just put them in with any code already there or just paste over the entire thing? (Skye Hattori (talk) 05:40, December 22, 2012 (UTC))
- Put them with the code. (MediaWiki:Common.css) --VATSA (TALK • GENTEK) 07:58, December 22, 2012 (UTC)
- Ok I've put them in with the code, but the icons still aren't showing up. (Skye Hattori (talk) 09:11, December 22, 2012 (UTC))
- Put them with the code. (MediaWiki:Common.css) --VATSA (TALK • GENTEK) 07:58, December 22, 2012 (UTC)

