Ok, so like what does coding have to do with Fandom? I am new here and just wondering.
What's on your mind?
TEXT
POLL
- All63972 posts
- General32927 posts
- Wiki Editor Advice & First Steps4563 posts
- Technical Advice & Coding Help17339 posts
- Wiki Design & SEO Advice5789 posts
- Wiki Management & Community Management Advice3090 posts
- Wiki Introductions & Wiki Accomplishments264 posts
Sort by
Card Layout
Technical Advice & Coding Help
Hello!
Edit: I just wanted to say I found a solution, I hadn't come across the tabber command until someone in my community mentioned it. It'll work beautifully for what I need. :D thank you for reading!
-------------
I'd like to condense four maps into a single space, preferably still interactive. I'm new to helping with wiki and my search prowess have failed me this these last few days!
https://teddys-haven.fandom.com/wiki/Harvesting
So we have a table with some information on it about the different kinds of berries that can be found, and where to find them. But most of them show up in different places (or not at all) in each season, so I'm trying to stick four different maps (at most) into the last column of the table, but they each end up on different lines which makes the page impossible to read even on a computer. I was thinking if I could do like an image gallery, and be able to scroll through them, that would be ideal.
My other thoughts are to take screen shots of the maps, put that into a gallery and link the images to the maps. OR redesign the whole page without the tables and set the maps up side-by-side
I don't have a lot of experience coding for websites, or working with website design so any insight you have, I would greatly appreciate
Thank you for your time!
How do I add some contents in my profile??
I struggle to do this recently..
So starting a couple of days ago, the EXPLORE text has been coloured opposite to the other dropdowns and the little book icon (i.e. black when the others are white in light mode, the reverse in dark mode). There haven't been any CSS changes on the wiki in over a year, other than some TemplateStyles tests that shouldn't affect the wiki navigation. I guess it's not a big deal, but it's still kind of odd.
Wiki link: https://aceattorney.fandom.com/wiki/Ace_Attorney_Wiki
Are there any guides to help Fandom users with coding? I think I saw one while editing my userpage but it won't open unless I'm using my PC
Also can anyone send me the link to the post where it tells me all of the "deprecate" codes?
Oh and why are they deprecate?
I'm creating a table in my user sandbox. There are two different lengthy styles that are both used by many cells in the table. The cells aren't ordered in a way that let's me simplify coding by applying either style to a whole row or a whole column, so the lengthy styles are repeated many times on individual cells.
I'd like to define the styles in a css style sheet, so my tables can then refer to a short class name instead of a lengthy style definition.
The wiki's style sheet at MediaWiki:Common.css can only be edited by Administrators (and a few other classes of exalted users). I'm not an Administrator.
But MediaWiki have invented a way around this: Extension:TemplateStyles (https://www.mediawiki.org/wiki/Extension:TemplateStyles)
See also: https://www.mediawiki.org/wiki/Special:MyLanguage/Help:TemplateStyles
"TemplateStyles enables the complex behavioral and aesthetic styling of templates through the use of referenced external CSS files that are wiki pages themselves. Notably, the ability to create/modify the CSS files is included in the default permissions for autoconfirmed users and so doesn't require involving someone with interface administrator privileges."
They also note that one of the downsides of using common.css is: "All stylesheets must be loaded on all pages (whether they actually use the page or not), which wastes bandwidth and makes debugging style rules harder." By contrast, if you have a special style that is only used by say 6 pages, TemplateStyles gives you a way to ensure that only those 6 pages load the style.
This is sounding like a very useful extension. The next obvious question is: Is it available on Fandom?
https://community.fandom.com/wiki/Help:Extensions#Available_on_request :
"Extensions active by default: ... TemplateStyles"
Excellent! Looks like this should work. So in my sandbox, I created a .css file containing my 2 styles. In my other sandbox page that builds my table I use the "templatestyles" tag to point the page to my .css file. And I get an error saying that my .css file:
'must have content model "Sanitized CSS" for TemplateStyles (current model is "wikitext").'
No problem. I just need to find how to reset the .css file's content model.
https://www.mediawiki.org/wiki/Special:MyLanguage/Help:ChangeContentModel
'The Special:ChangeContentModel page can be used to change the "content model" of a page.'
So I go to the Special:ChangeContentModel of my wiki and it gives me:
"Permission error
Special page
You do not have permission to edit the content model of a page, for the following reason:
The action you have requested is limited to users in one of the groups: Administrators, Fandom Staff, Fandom Helpers, Spam Obliteration and Prevention, Wiki Specialists, Vanguards, Content Moderators."
So Fandom has made the TemplateStyles extension available on all Fandom wikis. The extension is designed to give all users the ability to create custom .css files, an ability that would otherwise only be available to Administrators. But then Fandom has denied users access to the page that allows users to set their custom .css file to the correct content model, unless they are Administrators.
Well, that seems unlikely! Can anyone tell me what I'm missing?
On The Fandub Database (a spin-off wiki of DubDB), we enter fanon countries into the Country template when we want to add one. However, once we've added a country, rather than displaying as, for example, "New Zealand dubs", it displays as "New Zealand language dubs". This also happens with attempts to change the category display so it can match the parent wiki (e.g. we still have "Hongkongese dubs" instead of "Hong Kong dubs", like on FanDubDB) Attempts by higher-up users to fix the issue have failed as well.
Can anybody provide assistance with this issue?
How do you change the wiki's Community Name (the name displayed above wiki navigation and beside the community header) through Personal CSS (Special:MyPage/common.css)?
The personal CSS should publish a client-sided community name only visible to me (if possible, please share code that does this)
On the Dream Incubator Wiki, there is a Note template, designed to hide info within a "note" that can be expanded if a user clicks on it. However, when it's used multiple times on a page, if you click on one note, it opens all the others too.
Is there a way to fix this problem so only one can be opened at a time?
This bug seems to correlate to multiple wikis. Hovering over the malformed drop-right option - which is out of position - won't highlight the box itself but otherwise the function works as intended. The problem only occurs in discussions, whereas on the wiki there's no such issue.
Where the box colors and stuff changes when you change from light to dark
How do I get a background by coding???
I always need it so bad that, i don't really like this background ;-;
I wanted to put the font Lilita One in the header of the wiki
I used this code and isnt working
.fandom-community-header__community-name, h1#firstHeading { font-family: 'Lilita One';
}Whats wrong with this code?
The wiki is this
I made a table for a wiki I'm in and it's got 15 columns, and I've tried just about everything I can think of and every suggestion I could find from posts here and nothing adjusts the size or adds the ability to scroll horizontally. Can someone help please?
So basically, I remade an audiobox (For background music on pages), and its not working!
https://scratch-tales.fandom.com/wiki/Template:AudioBoxB
https://scratch-tales.fandom.com/wiki/Scratch_Tales_Official_Wiki
Note:Its called AudioBoxB because its easier if i have 1 to just put in instantly
Hello! I'm adapting a code used on Wookiepedia here for my own wiki, but in my attempt to remove the warning message attached to some if statements, I've somehow fumbled the code.
My purpose is to have two alternate options for Characters. One where you can simply list off all characters, and another where you can separate that list into two subsections: Main characters and Other characters.
Here is my template. In the example separating Characters into the two subsections, I get two extra brackets showing up, and in the example with no subsections, nothing's showing up at all.
Any help would be greatly appreciated!
Is there any way you could make an event happen after a specific amount of time? I'm relatively new to coding, so any tips help. Thank you for your time.
<div class="mw-collapsible" id="mw-customcollapsible-Message_Wall_Entrance"
style="position: fixed; z-index: 20; left: 0; top: 0; width: 100%; height: 100%;
background:Youaresafe.png
opacity: 1;">
<div class="mw-customtoggle-Message_Wall_Entrance WikiaMenuButton"
style="position: fixed; top: 40%; left: 50%; transform: translate(-50%, 0%);
border: 4px black; /* black border */
box-shadow: 0 0 30px 10px black;
animation: pulse-glow 2s infinite; /* pulsing glow animation */
padding: 20px 20px 1.5px 20px;
color: white; /* white text */
font-size: 20px; line-height: 150%; text-align: center;
background: #000000; /* dark overlay */
text-shadow: 0 0 8px black;"> '''''"You're safe now."'''''
</div>
</div>
I want to make templates for characters in my wiki, how do i do such?
I can't access it and I have looked everywhere on the page for it
I don't know how to get onto it so can someone help?
Thank you if so.