Topic on Nonbinary Wiki:General discussion
A portal is just a regular page created under a specific Portal: namespace (which is not active on this wiki, but can be easily activated). I'm not sure if it's worth it though. We're a tiny community of editors, so maintaining the portals so they look decent enough would be quite time-consuming. They're also not easily discoverable.
That said, we currently have two portal-like pages:
- Nonbinary Wiki:Dive in! has a list of core articles by topic and a link to Nonbinary Wiki:Get involved!. It's accessible from the main page.
- Nonbinary Wiki:Translations is the translation portal, with resources and guidance on how to translate articles.
There's also the Pride Gallery and the Nonbinary Wiki:Publications portal.
I'm open to changing my opinion though! And if you have ideas to improve the pages linked above (or how to make them more discoverable), I'm happy to hear them too.
maintaining the portals so they look decent enough would be quite time-consuming
That's a good point. I forgot about the actual portal pages — I was thinking mostly about the portal information at the bottom of pages.
That said, we currently have two portal-like pages:
- Nonbinary Wiki:Dive in! has a list of core articles by topic and a link to Nonbinary Wiki:Get involved!
I think I can create a template to create portal-like boxes at the bottom of a page based on its categories, but it also might just integrate horribly. I'll mess around on User:U9000/Test:Infobox category for now
Ah, so you mean, for example, a template that you place at the bottom of a gender identity article and it contains all other (or a selection of) identities? That can be done without portals, it's just a template!
Yeah! I'll try to make this this week, but I probably won't be able to do much work on it until Saturday. If anyone else wants to take a crack at it too they're more than welcome :)
Okay so I implemented one template as a test, and it looks like it'll work excellently. Could you please add the navbox CSS, though? Right now it just looks like a normal page
A quick copy of Wikipedia's navbox module CSS doesn't seem to work, not sure why. Do you know which CSS I should add?
I'm not certain. This Mediawiki question says that there also might be some stuff in Common.css.
Do you have a link to the CSS you added? It could be a class name has changed or something
That's from 12 years ago, things have changed since then. English Wikipedia's Common.css doesn't seem to have any styles for Navbox. I've added the CSS here, which is the same page it's on in Wikipedia: Module:Navbox/styles.css. Might be the wrong place though. Remember that you can test CSS by pasting it in User:U9000/common.css, it will apply to you only (you will need to hard-refresh pages to see changes)
Does the CSS need to be enabled or something?
I confirmed that the navboxes have a class of navbox
, so that's not the issue.
I also checked the web developer tab to see if the styles were being overridden by something else, but it seems like they're just not be applied at all. So I made a simple test case to verify, and that also isn't being applied. I know this isn't a CSS issue because when I directly put <style>.navbox { background-color: red !important; }</style>]]
in the <head>
it worked.