So I was thinking that you guys had quite a bunch of affiliates (or alliance or however you'd call it). I was wondering if you wouldn't be interested in forming an alliance with Inazuma Eleven wiki.
The group of contributors there is probably average younger than on this wiki (seeing as the audience of the anime/games is) but they're quite the enthusiastic bunch, and the topics of you guys' wikis are quite related, I guess.
Also, this is not something I discussed with them, just a random thought popping up in my head, so if you do approach them, keep in mind they don't know anything about an affiliate yet.
I don't know how to make the Switch template and the Hidden work in a wiki. Can you help me? Some css or js is needed for them but I don't know which.
I saw the tabber on your sandbox and I want to change it's normal appearance too so I searched for it's css but it didn't worked for me. Maybe I pasted the wrong thing or something. Can you tell me which is it?
Oh and I want to use yout HeadingRounded template too if you don't mind.
Yeah sure. For the Switch and the Hidden templates, copy/paste this code into your MediaWiki:Common.js:
importScriptPage('ShowHide/code.js', 'dev');
and
/**
Toggles the display of elements on a page
Author/contact: Austin Che http://openwetware.org/wiki/User:Austin_J._Che
See http://openwetware.org/wiki/OpenWetWare:Toggle for examples and documentation
*/
// indexed array of toggler ids to array of associated toggle operations
// each operation is a two element array, the first being the type, the second a class name or array of elements
// operation types are strings like "_reset" or "" for the default toggle operation
var togglers = new Array();
var allClasses = new Object(); // associative map of class names to page elements
function toggler(id) {
var toBeToggled = togglers[id];
if (!toBeToggled) return;
// if some element is in list more than once, it will be toggled multiple times
for (var i = 0; i < toBeToggled.length; i++) {
// get array of elements to operate on
var toggles = toBeToggled[i][1];
if (typeof(toggles) == "string") {
if (toggles.charAt(0) == '-') {
// treat as an element ID, not as class
toggles = document.getElementById(toggles.substring(1));
if (toggles) toggles = new Array(toggles);
}
else toggles = allClasses[toggles];
}
if (!toggles || !toggles.length) continue;
var op = toBeToggled[i][0]; // what the operation will be
switch (op) {
case "_reset":
for (var j in toggles)
toggles[j].style.display = toggles[j]._toggle_original_display;
break;
case "_show":
for (var j in toggles)
toggles[j].style.display = '';
break;
case "_hide":
for (var j in toggles)
toggles[j].style.display = 'none';
break;
case "":
default:
// Toggle
for (var j in toggles)
toggles[j].style.display = ((toggles[j].style.display == 'none') ? '' : 'none');
break;
}
}
}
function createTogglerLink(toggler, id) {
var toggle = document.createElement("a");
toggle.className = 'toggler-link';
toggle.setAttribute('id', 'toggler' + id);
toggle.setAttribute('href', 'javascript:toggler("' + id + '");');
var child = toggler.firstChild;
toggler.removeChild(child);
toggle.appendChild(child);
toggler.insertBefore(toggle, toggler.firstChild);
}
function toggleInit() {
var togglerElems = new Array();
var toggleGroup = new Array();
// initialize/clear any old information
togglers = new Array();
allClasses = new Object();
allClasses.watch = undefined;
allClasses.unwatch = undefined;
// make list of all document classes
var elems = document.getElementsByTagName("*");
var numelems = elems.length;
for (var i = 0; i < elems.length; i++) {
var elem = elems[i];
if (!elem.className) continue;
elem._toggle_original_display = elem.style.display;
var togglerID = -1;
var elemClasses = elem.className.split(' '); // get list of classes
for (var j = 0; j < elemClasses.length; j++) {
var elemClass = elemClasses[j];
if (!allClasses[elemClass]) allClasses[elemClass] = new Array();
allClasses[elemClass].push(elem);
// all the special classes begin with _toggle
if (elemClass.substring(0, 7) != "_toggle") continue;
if (elemClass == "_togglegroup") toggleGroup = new Array();
else if (elemClass == "_toggle") toggleGroup.push(elem);
else if (elemClass.substring(0, 12) == "_toggle_init") {
// set initial value for display (ignore the original CSS set value)
// understands _toggle_initshow and _toggle_inithide
var disp = elemClass.substring(12);
if (disp == "show") elem.style.display = '';
else if (disp == "hide") elem.style.display = 'none';
elem._toggle_original_display = disp;
}
else if (elemClass.substring(0, 8) == "_toggler") {
if (togglerID == -1) {
togglerID = togglers.length;
togglers[togglerID] = new Array();
togglerElems[togglerID] = elem;
}
// all classes are of form _toggler_op-CLASS
// figure out what class we're toggling
// if none is specified, then we use the current toggle group
var toBeToggled;
var hyphen = elemClass.indexOf('-');
if (hyphen != -1) toBeToggled = elemClass.substring(hyphen + 1);
else {
toBeToggled = toggleGroup;
hyphen = elemClass.length;
}
var op = elemClass.substring(8, hyphen);
togglers[togglerID].push(new Array(op, toBeToggled));
}
}
}
// add javascript links to all toggler elements
for (var i = 0; i < togglerElems.length; i++)
createTogglerLink(togglerElems[i], i);
}
function owwsitesearch(f) {
f.q.value = 'site:http://openwetware.org/wiki/' + f.base.value + '++' + f.qfront.value
}
addOnloadHook(toggleInit);
It's a long code, I know. I don't think there's an import script page for it, but heck. To be safe, just copy that long code for the Switch js.
The tabber is some CSS I actually borrowed from somewhere else and did some changes to. Copy/paste this code in your MediaWiki:Wikia.css:
/* Tabber */
.tabberlive .tabbertab h2, .tabberlive .tabbertab h3 {
display:block !important;
}
/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */
/*--------------------------------------------------
REQUIRED to hide the non-active tab content.
But do not hide them in the print stylesheet!
--------------------------------------------------*/
.tabberlive .tabbertabhide {
display:none;
}
/*--------------------------------------------------
.tabber = before the tabber interface is set up
.tabberlive = after the tabber interface is set up
--------------------------------------------------*/
.tabber {
}
.tabberlive {
margin-top:5px !important;
}
/*--------------------------------------------------
ul.tabbernav = the tab navigation list
li.tabberactive = the active tab
--------------------------------------------------*/
ul.tabbernav {
padding: 5px !important;
border-style: none !important;
font: bold 14px Verdana, sans-serif;
background: #40E0D0;
text-align:center;
}
ul.tabbernav li {
list-style: none;
margin: 0;
display: inline;
}
ul.tabbernav li a {
padding: 3px 0.25em;
margin-left: 1px !important;
border-style: none !important;
border-bottom: none;
background: #40E0D0 !important;
text-decoration: none;
}
ul.tabbernav li a:link { color: #fff !important; }
ul.tabbernav li a:visited { color: #fff !important; }
ul.tabbernav li a:hover {
color: #000;
background: #7FFFD4 !important;
}
ul.tabbernav li.tabberactive a {
background: #7FFFD4 !important;
border-style: none !important;
}
ul.tabbernav li.tabberactive a:hover {
color: #fff;
background: #7FFFD4 !important;
border-style: none !important;
}
/*--------------------------------------------------
.tabbertab = the tab content
Add style only after the tabber interface is set up (.tabberlive)
--------------------------------------------------*/
.tabberlive .tabbertab {
padding:3px !important;
margin:5px !important;
border-style: dashed !important;
border:2;
-moz-border-radius-bottomright:2ex;
-moz-border-radius-bottomleft:2ex;
border-bottom-right-radius:2ex;
border-bottom-left-radius:2ex;
}
.tabberlive .tabbertab p {
margin:5px !important;
}
Yup, that's it. And sure, go ahead and use the HeadingRounded for whatever you please~
Hey Bere. If you are at liberty to accept or deny, would you like to affiliate this wiki to my Rave Master wiki? If so, let me know whether to upload the Rave wiki's logo here or not. Thanks!
Hi, Bere. As you already know, I have my own wiki now. I already made an affiliation with 5 wikis already, and I was wondering if you will agree with affiliating with my wiki.
Let me know about your decision once you have seen this message. Thanks Bere, and have a good day.
Ugh okay, I'm finally done with some tiring work, now I can get into this. So yes, I'd love to affiliate with the MaiOtome Wiki. I've uploaded your wordmark and added it to our affiliates~
Sup Bere, so, I just learned about this thing called WAM, which I guess is like a wiki ranking system (you may have already heard of it, but oh well :p) and I checked this wiki's rank... and *drumrollll*.... you're in like the top 2-300 of all wiki's everywhere man! here's a link!
One last thing! So, you know how you've got that header on your Blog posts, the one where you can jump back and forth between them, could you show me how to make one? Just a basic one for now
Thanks! and sorry for the late reply but um..it still doesn't look good on black backgrounds.. can you do something about it? because I can't think of any other way..
Oh and one more thing, I was wondering if you would be interested in editing at the Owari no Seraph Wiki till the end of May (atleast upload mugshots and stuff like that ya'know..) I'm havin exams till May end, then holidays start..so basically I won't be editing much till the exams get over.. :/
I made the background silver colored, what do you think?
For the Owari no Seraph Wiki, I'd be happy to help out, but let me read the series first! I had never heard from it so I'll just read some of it and if I like it, I'll contribute a lil to the Wiki.
Thanks for your edits Bere! But now I got a better image which I think fits the black background. Here's how it looks on OnS Wiki. I think its now ready to be used on other wikis. Oh and also just want to let you know that I reverted the image you edited, the text of the image with transparent background was really thin, so had to revert it. But anyway now that there is a template for black backgrounds, the other image won't be a problem.
Well now you have a suitable logo for black backgrounds, but what about white backgrounds? The image doesn't look very good on the template at Community Central... It's going to look that way on other Wikis too.
I saw this so I ask for a little help. :)
In our wiki (it's not english) we have a header at the top of the page. The navigation is in the middle of it and want to put it at the bottom of the header. In the past it was there but then the header disappeared (maybe the wiki didn't allow it or something) and when it appeared again it was that way. Do you know how to fix it?
The other thing is, there are top 10 lists in our wiki but somehow the pages didn't appear in the category which is automatic when you make a top 10 list. I can see here that there are 17 pages in that category and for example in this page I can see that it is in the category but in the category page nothing appears. Is it a bug or something?
I'm assuming you're talking about the A wikiről header? Sorry, I don't understand what you mean with navigation and bottom and stuff, can you clarify?
And for the top 10 lists, I can see the article you linked just fine in that top 10 list category. This is what I'm seeing, 17 top 10 lists in the category, one of which is "Kedvenc Nara karid". So I don't really see the problem...?
In header I mean this and it should be this way (without the white space of course).
EH? Nande? Why? I can see this, wait I can see that too. But when I change views here I don't see anything (the previous picture).
I'm not sure if that'll do the trick but it's worth a shot.
As for the category, it just looks like Exhibition view doesn't do well with top 10 lists. Maybe you should report that as a bug to Wikia Staff, but it's nothing to worry about really, since you can see the category just fine in the other view mode.
Thought so. I guess it's just something that you can't really change the easy way. If you really want it the way you envision it, you're better off asking Community Central's forum or a Wikia Staff directly.