Hi, I'd like to add a new section on this (Navigation) with two categories (Previous Volume + Next Volume)...but under Portable code, I have absolutely no idea how to do that and completely bricked the template + pages it was on when I attempted to alter it myself by just porting stuff around. How do?
What's on your mind?
TEXT
POLL
- All1933 posts
- General1049 posts
- News / Announcements7 posts
- Technical Updates101 posts
- JS Development153 posts
- CSS Development48 posts
- Wiki Discussion95 posts
- API Discussion36 posts
- Script Suggestions319 posts
- Scribunto Help125 posts
Sort by
Card Layout
Hello, thought more people might know about this here than the community portal: https://community.fandom.com/f/p/4400000000003405101
Hello, I am curious if there is a way for a template to know what mode (light/dark) the viewer is using, so it's background could adjust to a more favorable color.
Template in question: https://angrybirds.fandom.com/wiki/Template:Tab
How do you add text outlines? Say I have a white text and I want to put a black outline/border. I tried looking for stuff that could work but it doesn't show a lot about it.
Hello, I was wondering how to integrate the "Quiz" button into the forums of a wiki I administrate. The only issue is that the article doesn't show how to add the "<div id="quizQ"></div>" to a wiki forum (like how Wikitubia has it; image below). Help will be much appreciated!
Though, im curious; can one text have two animations?
Or, can one (username) text have two animations?
Anyways, this is a css that I'm talking about!
Please give me a example! Thanks!
The profiletags page doesnt make sense at all, and how do i give permissions into the tags such as editing locked pages? i need an in depth guide because i cant understand the page. if you're looking for an example here's an example: https://raise-a-floppa-roblox.fandom.com/wiki/User:Arcticseal156
Is there any existing bot that automatically archives reference links like Wikipedia's?
I've recently updated the Lua-based templates at PKMN Wiki, as they hadn't been updated in quite a while (nearly six years), and that they were using pre-Lua temps. I've noticed that when I use bullet points in them, they create a list, instead of being like how it is on Wikipedia, which is where they are separated by a bullet point, but don't create a list. What may be causing this issue with them?
Why do I feel like the quality of the images of my wiki are being downgraded except for that of the infoboxes? And is there a way to collectively optimize them?
It would be cool if we could know how many people are using a said JS or CSS.
Of course it wouldn't account for those who copy & paste the code, but only those who "invoke" (?) the code from here on Dev Wiki.
Not sure how feasible is that, nor about the possible downsides of making that info public.
What I know is that I am not a very mainstream guy myself, but when I'm looking for tutorials, guides, workarounds, tools, and solutions in general, knowing how the crowds have reacted to a specific feature so far is much interesting, and have the power of saving me a huge amount of TIME.
For example, something like:
Scope: Personal
# Users: 653
Or
Scope: Site-wide
# Wikis: 67
# Users: 1.249
Thank you.
Is the PreloadTemplates (https://dev.fandom.com/wiki/PreloadTemplates) function suddenly not working for anybody else? I have it imported onto one of my Wikis and have been using it for a few years now, but recently I took a few weeks off from editing, and now the preload dropdown menu is just suddenly gone.
Did something change? It used to be directly above "Watch this page". Any help fixing this would be much appreciated.
Hi, I was just wondering if there was any sort of code or existing template (along the lines of {{DISPLAYTITLE:}} that can "forcibly" add TOCs to pages that only have 2/3 sections/subheaders.
Hello, I saw that the borders of the navboxes are square, and I thought of rounding all the borders (title, headers, group headers,...) to give a more modern rendering and which looks like wiki display (most wiki borders are rounded)...
So I propose this change:
.navbox {
border-radius: 3px;
}
.navbox .navbox-list {
border-radius: 0 3px 3px 0;
}
.navbox .navbox-group {
border-radius: 3px 0 0 3px;
}
.navbox-above .navbox-below {
border-radius: 3px;
}
Cordialy
I guess I created a bug on my wikis startpage and can't seem to find it.
So the collapse or expand feature of the wiki works on every page, even on the startpage. But there is one case in which it isn't working and that's specifically on the startpage when I'm logged in.
Please try it out and check if it's the same for you.
Visiting the startpage being logged out: the feature works fine.
Visiting the startpage being logged in: the button does nothing, no error in the console, no "is-content-expanded" class being added to the html-node in dom.
The wiki: https://alienswarm.fandom.com/wiki/Alien_Swarm_Wiki
Please help :)
I have this code in my common.css:
/* Fancying up the article titles */
.WikiaPage .page-header__title {
font: normal 30px Abaddon, serif;
/* color: white;*/
padding: 0 3px;
}
It does not appear to be working anymore. Advice?
Recently, a big blank space is shown right under the toolbar of CodeEditor, where a drag'n'drop area used to lie at. What happened?
I tried this on my wiki and it isn't working. Was it discontinued or something?
This code that render cards is supposed to work in personal JS as it did in my browser console.
What is the problem?
function map(val, minA, maxA, minB, maxB) {
return minB + ((val - minA) * (maxB - minB)) / (maxA - minA);
}
function Card3D(card, ev) {
let img = card.querySelector('img');
let imgRect = card.getBoundingClientRect();
let width = imgRect.width;
let height = imgRect.height;
let mouseX = ev.offsetX;
let mouseY = ev.offsetY;
let rotateY = map(mouseX, 0, 180, -25, 25);
let rotateX = map(mouseY, 0, 250, 25, -25);
let brightness = map(mouseY, 0, 250, 1.5, 0.5);
img.style.transform = `rotateX(${rotateX}deg) rotateY(${rotateY}deg)`;
img.style.filter = `brightness(${brightness})`;
}
var cards = document.querySelectorAll('.card3d');
cards.forEach((card) => {
card.addEventListener('mousemove', (ev) => {
Card3D(card, ev);
});
card.addEventListener('mouseleave', (ev) => {
let img = card.querySelector('img');
img.style.transform = 'rotateX(0deg) rotateY(0deg)';
img.style.filter = 'brightness(1)';
});
});