• Login
  • Register
Hello There, Guest!

Username:

Password:

Remember me

Lost PW Lost Password?

Advanced Search
  • Rules
  • Staff
  • Wiki
  • Free Companies
  • Linkshells
  • Calendar
  • Chat
  • Gallery
  • Donate
home Hydaelyn Role-Players → Community → Character Workshop v
« Previous 1 … 7 8 9 10 11 … 19 Next »
→

Wiki code: tab template questions


RPC has moved! These pages have been kept for historical purposes

Please be sure to visit https://ffxiv-roleplayers.com/ directly for the new page.

Wiki code: tab template questions
Threaded Mode | Linear Mode

Valencev
Valence
Find all posts by this user
Has-A-Magitek-Kink
*****

Offline
Posts:1,177
Joined:Oct 2015
Character:Suen Shyu
Server:Balmung
Reputation: 119 Timezone:UTC+1
Wiki code: tab template questions |
#1
03-26-2016, 12:33 PM
So, i'm trying to use the wiki template <headertabs /> as a way to structure my wiki around tabs like many already do.

It's super easy to use, works well enough, but... Is there a way I can change its style through CSS? I'm starting to feel it's hardcoded somewhere and not really accessible, but would there be alternatives...? I'm a bit out of ideas...

If not, I guess it'll do like it is though. No big deal but it can clash with the whole page style, thus why i'm asking... I will have to keep my page looks accordingly if there is no solution, and if there is, then I can do it the other way around by adapting the tab styles to the whole page.

Not sure if i'm being super clear...

Balmung: Suen Shyu
Quote this message in a reply
FreelanceWizardv
FreelanceWizard
Find all posts by this user
Visit this user's website
Random RPer #258
*****

Offline
Posts:2,319
Joined:Sep 2010
Character:L'yhta Mahre
Linkshell:Mysterium
Server:Balmung
Reputation: 317 Timezone:UTC-6
RE: Wiki code: tab template questions |
#2
03-26-2016, 12:54 PM
The Headertabs extension is a rather interesting device, as what it does is use jQuery to rewrite the page in the browser to convert the headers in the DOM into jQueryUI tabs. This is why it doesn't play nice with a lot of custom formatting that users like to put on their pages. Since it's client-side JS, and we don't allow users to add custom JS to their pages for security reasons, there's not really anything that can be done by a user.

It is possible to extend it the plugin with custom CSS styles ("skins"), either loaded in the site's common CSS or from files on the server. However, this is something that'd have to be set up for everyone in advance, and I don't think anyone wants to get into the business of modifying the site CSS every time someone wants a small tweak to the colors of their tabs. Smile

As a side note, I'm aware of Extension:CSS and Extension:NewPageCSS for page-specific stylesheets. These introduce some technical wrinkles, such as disabling some of our caching because of how they work, but they also introduce the possibility of enterprising users rewriting the entire site style in their pages. CSS loaded on a page can, for instance, eliminate parts of the UI, move around UI parts, and generally make the site harder/impossible to use, and that's why we've never installed these extensions. For that level of control, I recommend hosting the character page elsewhere; part of the value of the RPC wiki is that there's a somewhat unified interface outside of the content area.

The Freelance Wizard
Quality RP at low, low prices!
((about me | about L'yhta Mahre | L'yhta's desk | about Mysterium, the Ivory Tower: a heavy RP society of mages))
Quote this message in a reply
Valencev
Valence
Find all posts by this user
Has-A-Magitek-Kink
*****

Offline
Posts:1,177
Joined:Oct 2015
Character:Suen Shyu
Server:Balmung
Reputation: 119 Timezone:UTC+1
RE: Wiki code: tab template questions |
#3
03-26-2016, 01:08 PM
Yeah no i'm not going to modify the whole wiki that way for the reason you added, and i'm not really looking into much. Just changing colors and borders and whatnot for those tabs...

I stumbled on that though. But yeah, I don't want to bother with those things.

I just wondered if there was another tab tool available, if not, it's totally fine, i'll do with that one!

Balmung: Suen Shyu
Quote this message in a reply
FreelanceWizardv
FreelanceWizard
Find all posts by this user
Visit this user's website
Random RPer #258
*****

Offline
Posts:2,319
Joined:Sep 2010
Character:L'yhta Mahre
Linkshell:Mysterium
Server:Balmung
Reputation: 317 Timezone:UTC-6
RE: Wiki code: tab template questions |
#4
03-26-2016, 03:19 PM
(This post was last modified: 03-26-2016, 03:24 PM by FreelanceWizard.)
Aha! That's a new extension and not the one we use. We actually use Extension:HeaderTabs, because the original use case was people marking sections off with headers and having them magically turn into tabs.

I'll install Extension:Tabs and see if they're compatible and if they work together. Smile Most likely they're exclusive on the same page -- if you use <headertabs>, you can't use <tabs>.

EDIT: It looks like that's the case. You can use Extension:Tabs (as explained at https://www.mediawiki.org/wiki/Extension:Tabs/Usage) but it's not compatible with headertabs; if you turn on HeaderTabs with the <headertabs /> tag, then you can't use <tabs>, and vice-versa. I think that'll get what you want without breaking other people's pages. Smile

The Freelance Wizard
Quality RP at low, low prices!
((about me | about L'yhta Mahre | L'yhta's desk | about Mysterium, the Ivory Tower: a heavy RP society of mages))
Quote this message in a reply
Valencev
Valence
Find all posts by this user
Has-A-Magitek-Kink
*****

Offline
Posts:1,177
Joined:Oct 2015
Character:Suen Shyu
Server:Balmung
Reputation: 119 Timezone:UTC+1
RE: Wiki code: tab template questions |
#5
03-26-2016, 06:09 PM
Wow that's neat. I'll try that as soon as I can!

Balmung: Suen Shyu
Quote this message in a reply
Valencev
Valence
Find all posts by this user
Has-A-Magitek-Kink
*****

Offline
Posts:1,177
Joined:Oct 2015
Character:Suen Shyu
Server:Balmung
Reputation: 119 Timezone:UTC+1
RE: Wiki code: tab template questions |
#6
03-28-2016, 03:48 PM
Ok, wonderful! It works neatly and I managed to get the most of what I could out of it on my wiki. Only thing you can't do apparently is to access the css style for the tab buttons themselves (but the font can accept the container styles though).

Which is just a minor detail.

Thanks again for the support!

Balmung: Suen Shyu
Quote this message in a reply
Valencev
Valence
Find all posts by this user
Has-A-Magitek-Kink
*****

Offline
Posts:1,177
Joined:Oct 2015
Character:Suen Shyu
Server:Balmung
Reputation: 119 Timezone:UTC+1
RE: Wiki code: tab template questions |
#7
04-01-2016, 04:06 PM
I may have a question, if of course someone has the time to look at it... Well, I know my css, xhtml, etc, and all, but I am having trouble with their nested tabs with that tabs extension.

I seem to be able to insert nested toggleboxes in tabs through the parser function (kinda...? not sure). But i'm having no luck to insert tabs into tabs...

I don't think I get the syntax or what I should exactly write with that parser function. It's weird and I don't know anything about that kind of code. For now I have been mostly trying things blindly but it doesn't seem to work sadly...?

Balmung: Suen Shyu
Quote this message in a reply

« Next Oldest | Next Newest »

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread


Users browsing this thread: 1 Guest(s)
Index | Return to Top | Lite (Archive) Mode | RSS Syndication | Current time: 05-22-2025, 09:26 AM


Final Fantasy XIV images/content © Square-Enix, forum content © RPC.
The RPC is not affiliated with Square-Enix or any of its subsidiaries.
Powered By MyBB, © 2002-2025 MyBB Group.
Designed by Adrian/Reksio, modified by Kylin@RPC