• Welcome to The Campaign Builder's Guild.
 

technical questions re:wiki

Started by Snargash Moonclaw, March 20, 2008, 08:11:20 PM

Previous topic - Next topic

Neubert

I was wondering if there is a way to create a piece of text which can be folded, much like the Table of Contents?
If what I just wrote didn't make sense, just ask. Though it probably doesn't make any sense to me either. :P

Ishmayl-Retired

I'm not sure I understand your question.  Do you mean how the TOC is in outline style?
!turtle Ishmayl, Overlord of the CBG

- Proud Recipient of the Kishar Badge
- Proud Wearer of the \"Help Eldo Set up a Glossary\" Badge
- Proud Bearer of the Badge of the Jade Stage
- Part of the WikiCrew, striving to make the CBG Wiki the best wiki in the WORLD

For finite types, like human beings, getting the mind around the concept of infinity is tough going.  Apparently, the same is true for cows.

limetom

He probably means the fact that it can be collapsed with the "Show/Hide" link, much like the Navbox template can.

And I found out how; see Meta Help:Collapsing.  And crazier ones, like the ToC, need CSS and JavaScript implementation (see: Wikipedia Help: NavFrame).

Ishmayl-Retired

Ahh... yeah, that may be more complicated than really necessary - on the other hand, a template could probably be made to work like the spoiler boxes here...
!turtle Ishmayl, Overlord of the CBG

- Proud Recipient of the Kishar Badge
- Proud Wearer of the \"Help Eldo Set up a Glossary\" Badge
- Proud Bearer of the Badge of the Jade Stage
- Part of the WikiCrew, striving to make the CBG Wiki the best wiki in the WORLD

For finite types, like human beings, getting the mind around the concept of infinity is tough going.  Apparently, the same is true for cows.

Nomadic

If someone did a template for a spoiler style thing I would forever be in your debt. In working on my campaign world I am slowly realizing that large images could be an issue and it would be much nicer to not have to put them in a caption image on the side.

Neubert

Yes, it is indeed what limetom translated my question into - and thanks for the link! I was hoping for spoiler boxes and not a table, but this can work out just as well.

Edit: Hmm, seems like I can't make it work. Is that just my fault or could something be disabled on the Wiki?
If what I just wrote didn't make sense, just ask. Though it probably doesn't make any sense to me either. :P

limetom

Quote from: NeubertYes, it is indeed what limetom translated my question into - and thanks for the link! I was hoping for spoiler boxes and not a table, but this can work out just as well.

Edit: Hmm, seems like I can't make it work. Is that just my fault or could something be disabled on the Wiki?
As I mentioned above, the appropriate CSS and JavaScript code needs to be implemented before it will work.

Neubert

If what I just wrote didn't make sense, just ask. Though it probably doesn't make any sense to me either. :P

Poseptune

Quote from: IshmaylAhh... yeah, that may be more complicated than really necessary - on the other hand, a template could probably be made to work like the spoiler boxes here...


Unfortunately that would fall to you or brainface to do, since there will probably have to be some edits to the Monobook.js to allow for the functions to hide and expand the box.

Quote from: NomadicIf someone did a template for a spoiler style thing I would forever be in your debt. In working on my campaign world I am slowly realizing that large images could be an issue and it would be much nicer to not have to put them in a caption image on the side.

Instead of putting them in a caption you could resize them a little bit to make them a little smaller. Using [[Image:yourimage.*** | ##px]] That way you can keep them where they are, but they'll be a little smaller. Someone can also click on them to see them in their full size (unless you make the redirect to something else)
[spoiler=My Awesometageous awards] Proud Recipient of a Silver Dorito award

[/spoiler]

 Markas Dalton

brainface

Quote from: limetomAs I mentioned above, the appropriate CSS and JavaScript code needs to be implemented before it will work.
I'll take a look at it, unless Ishmayl beats me to it.

Also, evil claymore is evil. :(
"The perfect is the enemy of the good." - Voltaire

limetom

<Aside...>
Quote from: brainfaceAlso, evil claymore is evil. :(
and[/i] evil.  :-p