The Campaign Builder's Guild

The Archives => The Cogs (Archived) => Topic started by: Lmns Crn on April 19, 2011, 03:12:36 PM

Title: Dumb Wiki Questions!
Post by: Lmns Crn on April 19, 2011, 03:12:36 PM
Because sometimes you just have a quick question which doesn't need it's own thread (and because Sparkletwist is probably tired of getting my PMs). I'll ask a few, and I'll answer when I can.

Is there any way to change the color of a link to another wiki page on an individual basis? (Like, this one link is bright pink but the rest are normal.)

Is there any way to use an image as a link? Seems like no matter what I do, clicking an image just leads to the file page for that image. I'd like to use fancy banners to link directly to the projects they name, though, cause that's ~*ultra classy*~
Title: Dumb Wiki Questions!
Post by: sparkletwist on April 19, 2011, 03:38:43 PM
Quote from: Luminous CrayonIs there any way to change the color of a link to another wiki page on an individual basis?
Is there any way to use an image as a link?[/quote]Yes, there is, though it's a bit of a hack. You can use the {{ImgL}} template, but there are two caveats, because it -is- a hack. First is none of the {{L}} preprocessing will apply. Second is you'll have to provide a path to the actual image; you can get this path by inserting the image in the normal way and right clicking it to get its real URL.

As an example, here's a link to the Jade Stage using its badge as a link: {{ImgL|Jade Stage|5/5b/JSbadge.jpg}}
Title: Dumb Wiki Questions!
Post by: Lmns Crn on April 19, 2011, 04:53:27 PM
Amazing. I'll get to work implementing these right away.

Is it just me, or does it seem like every time I ask you a wiki question, you have alter some templates to achieve my hare-brained demands?
Title: Dumb Wiki Questions!
Post by: Seraph on April 19, 2011, 07:24:33 PM
Is there any way to make the "Contents" box sit NEXT to text, rather than having to have a big blank spot?
Title: Dumb Wiki Questions!
Post by: Lmns Crn on April 19, 2011, 09:06:59 PM
S_H, put
Quote{{TOC_Right}}
anywhere in the page.
Title: Dumb Wiki Questions!
Post by: Seraph on April 20, 2011, 12:57:35 AM
Quote from: Luminous CrayonS_H, put
Quote{{TOC_Right}}
Ah, thanks LC.
Title: Dumb Wiki Questions!
Post by: Lmns Crn on May 14, 2011, 08:15:58 AM
Okay, I think this is maybe a technical wiki error, but I'm getting a problem when I try to upload a different picture on top of an existing one (same filename). The error looks like this:

QuoteCould not rename file "public/7/78/Lugh-MM.jpg" to "public/archive/7/78/20110514121536!Lugh-MM.jpg".
Title: Re: Dumb Wiki Questions!
Post by: Lmns Crn on November 03, 2011, 10:57:06 AM
New question! Wait, actually two of them.

Is it possible to do something like a spoiler tag in the wiki, where a bunch of information is hidden or revealed when you click the button for it? I have some notions that would benefit from detailed technical explanations, but I don't want them cluttering stuff up when unneeded, and I also don't want to have to link readers away to a new page for this sort of thing.

The other thing I'm curious about is (again) the feasibility of secret information on the wiki. I am pretty resigned to the idea that I'm just going to have to keep this sort of thing off the wiki and email players with information privately (or whatever), but if there's an option a little more secure than the spoiler links, I'd like to know about it. The general sort of thing I'm going for is an additional tier of information for the initiated, i.e., basic information the general public knows about noble families, set up so players of family members can see additional information on their own family secrets, or a page about magic that gives different information based on whether or not it's being read by a mage (superstition, folklore, and common perception of mages, vs. more subtle, advanced, and technical information on magic's workings, etc.)

Note that both of these things can be worked around, if they turn out not to be possible, so it's really not such a big deal to me if this turns out not to work.
Title: Re: Dumb Wiki Questions!
Post by: Lmns Crn on November 03, 2011, 11:50:40 AM
Also: I think this may require some sort of plug-in we don't have, or that there is some other technical reason why this can't be done, but if it's possible, I'd really like a way to have a page randomly select and display content from a predefined set (of quotes, images, etc.) each time it loads.
Title: Re: Dumb Wiki Questions!
Post by: sparkletwist on November 03, 2011, 01:30:27 PM
The wiki has spoilers. Use <spoiler></spoiler>.

Hidden info kind of goes against the wiki ethos, so support for it would be spotty at best. Best just to keep it off-wiki or tag it GM only and trust your players to show restraint.

I'll look into the randomization thing.