[spoiler=Original Post]I was wondering if anyone could help me make an infobox on the wiki, as well as how categories work.
By catagories, I mean: http://www.thecbg.org/wiki/index.php?title=Category:Campaign_Settings
And an infobox is something like the box on the side of this: http://en.wikipedia.org/wiki/Socialism
Which,when sperated, looks like this: http://en.wikipedia.org/wiki/Template:Socialism
And when put on the CBG wiki, looks like this:
http://www.thecbg.org/wiki/index.php?title=Template
It also doesn't allow text to flow next to it.[/spoiler]
Since this thread has been good and well derailed, I figured I'd just change it's topic instead of making a brand new one. I'm working on templates for pages that people can insert and edit, as well as general pages people don't edit. If you have an idea for what you'd like to see in either one of those, post it. (For example, what kind of information would a Nation template need? Or a race template? Or a Religion template?) Also, what kind of general templates would you like to see - things like the large boxes that appear on Wikipedia stating a thread needs sources, is scheduled for deletion, has opinion, etc. Ideas that would work for campaign settings would be a box announcing that the setting is under construction, is awarded some honor, falls into a particular genre, uses a particular system (usually a homebrewed system others are using) etc.
Yeah, MediaWiki has about 35,000 templates, many of which are connected to each other, which means when you use one, you also have to use all the other templates it references... I'm talking to some people about setting up some templates systems for us for some unique options, but right now, it's not available, and you'll have to create your own :)
If I wanted to create my own, how would I do so that would allow text to wrap around it?
Sorry, not sure :( I'm not really much a wiki expert (wikispert?)... if Sparkletwist shows up sometime soon, try to grab him and see if he can help, I hear he's pretty knowledgeable on these. Plus, I think possibly limetom may have some good knowledge? (not positive on that though)
okay, thanks. :) I"ll just have to link things the old-fashioned way. :p
Actually figured out how to do it - Just copy and modify this code:
[spoiler]<div style="float:right;margin:0px 0px 15px 20px;padding-left:10px;background-color:#fff;">
<div style="border:1px solid #9999CC;padding:2px;">
{| border="0" cellpadding="0" cellspacing="0" style="border-top:3px solid #9999CC;border-left:3px solid #9999CC;border-right:3px solid #BEBEED;border-bottom:3px solid #BEBEED;text-align:center;font-size:10px;"
|-
| style="padding:7px 0px 5px 0px; background-color:#fff;font-size:16px" | '''[[Theosophy]]'''<br/><br/><span style="font-size:10px;line-height:14px;"><br/>[[:Category:Theosophy]]</span>
|-
| style="background-color:#ccccff;padding:0px;color:#333399;" | '''Founders of the T. S.'''
|-
| style="padding:0px 5px 0px 5px;" |
[[Helena Petrovna Blavatsky|Helena Blavatsky]]<br/>
[[William Quan Judge]]<br/>
[[Henry Steel Olcott]]
|-
| style="background-color:#ccccff;padding:0px;color:#333399;" | '''Personalities'''
|-
| style="padding:0px 5px 0px 5px;" |
[[:Category:Theosophists|Theosophists]]<br>[[Rudolf Steiner]] · [[Alice Bailey]]
|-
| style="background-color:#ccccff;padding:0px;color:#333399;" | '''Mysticism'''
|-
| style="padding:0px 5px 0px 5px;" |
[[:Category:Theosophical philosophical concepts|Theosophical mysticism]]
|-
| style="background-color:#ccccff;padding:0px;color:#333399;" | '''Organisations'''
|-
| style="padding:0px 5px 0px 5px;" |
[[Theosophical Society]] <br/> [[Theosophical Society Adyar|TS Adyar]] · [[Theosophical Society Pasadena|TS Pasadena]] · [[United Lodge of Theosophists|ULT]] <br/>
|-
| style="background-color:#ccccff;padding:0px;color:#333399;" | '''Theosophical texts'''
|-
| style="padding:0px 5px 0px 5px;" |
''[[Isis Unveiled]]'' <br/>''[[The Key to Theosophy]]''<br/> ''[[Mahatma Letters]]'' <br/>''[[The Secret Doctrine]]'' <br/> ''[[The Voice of the Silence (Blavatsky)|The Voice of the Silence]]'' <br/> ''[[:Category:Theosophical texts|More...]]''
|-
| style="background-color:#ccccff;padding:0px;color:#333399;" | '''Other topics'''
|-
| style="padding:0px 5px 0px 5px;" |
[[Agni Yoga]] · [[Anthroposophy]] ·<br/> [[Esotericism]] · [[Djwal Khul]]<br>[[Neo-Theosophy]]
----
{{Tnavbar|Theosophy}}
|}</div></div>
[/spoiler]
and, for those interested, here's a slimmed down version:
[spoiler]<div style="float:right;margin:0px 0px 15px 20px;padding-left:10px;background-color:#fff;">
<div style="border:1px solid #9999CC;padding:2px;">
{| border="0" cellpadding="0" cellspacing="0" style="border-top:3px solid #9999CC;border-left:3px solid #9999CC;border-right:3px solid #BEBEED;border-bottom:3px solid #BEBEED;text-align:center;font-size:10px;"
|-
| style="padding:7px 0px 5px 0px; background-color:#fff;font-size:16px" | '''[[Oververse]]'''<br/><br/><span style="font-size:10px;line-height:14px;"><br/>[[:Category:Oververse]]</span>
|-
| style="background-color:#ccccff;padding:0px;color:#333399;" | '''Earthverses'''
|-
| style="padding:0px 5px 0px 5px;" |
[[Metaverse]]<br/>
[[Decimation]]<br/>
[[Impero Dementia]] <br/>
[[Deepening Night]] <br/>
[[Streetwise]] <br/>
|-
| style="background-color:#ccccff;padding:0px;color:#333399;" | '''Mythverses'''
|-
| style="padding:0px 5px 0px 5px;" |
[[Epic]] <br/>
[[Seat of the Gods]] <br/>
|-
| style="background-color:#ccccff;padding:0px;color:#333399;" | '''Etc.'''
|-
| style="padding:0px 5px 0px 5px;" |
|}</div></div>
[/spoiler]
Quote from: IshmaylI'm not really much a wiki expert (wikispert?)...
:D
Wikispert just became an official term!
Have you set this up as an actual Template? If so, it would be neat if we set up some sort of page with various templates for people to use, where all they have to do is insert their own links.
Agreed. I haven't been exactly looking forward to learning a Wiki language. It's one reason I've stuck with just HTML/CSS for so long (and PHP).
Okay, I'm pretty sure I have it figured out. The Oververse template is functional right now, located at Template:Oververse, while a test template has been set up for people to play with, located at Template:Test. To insert either into a wikipage, just put in the relevant section (generally, at the top or bottom of that section) {{test}} or {{oververse}}. If you want to experiment, do so with the test template please, as any changes alter all instances of a template. :)
QuoteHave you set this up as an actual Template? If so, it would be neat if we set up some sort of page with various templates for people to use, where all they have to do is insert their own links.
Yes and No. I've figured out that wikipedia has them, and I'm giving myself a crash course in template design so I can. Right now, I can create templates that are absolutes and do not change from page to page, so I'll be working on a {{under construction}} template and a such.
I should have a better idea what I'm talking about later on today - I won't be doing much reviewing, since I'll be focusing on building these. :)
Eclipse, it's really cool that you're offering to help out in this regard. I was actually thinking about trying to set up an "Author" box on wiki pages, so that individual authors could leave something like a personalized signature. The only example I know of is the one that D&Dwiki uses here: http://www.dandwiki.com/wiki/Template:Author
It's not exactly what I'm thinking of, but it may be a good place to start.
Basically, I would like to have some sort of Author box that can span either the top or bottom of a page, and the Author can put short biographical information about him/herself in it, as well as put links to other pages they've created. Make sense? Reasonable idea?
No problem - I'm happy to help, and since I'll be using the Wiki a ton, it makes sense to contribute to it beyond simply posting information.
That shouldn't seem too hard - an author template is alot simpler than what I thought we'd be having, so I'll work on that. No promises today, (I have to prep for game as well) and then I'm AWOL this weekend, but I should have a progress report by tonight. :)
Okay, I've figured out how to code the little buggers in a very basic fashion. Right now, they look something like this:
http://www.thecbg.org/wiki/index.php?title=Template:Test3
with the code for that being:
{{Test2
|username=Eclipse
|biography=Created by the moon passing in front of the sun
|works=[[Oververse]]<br/>Other Project
}}
Obviously, very basic. I'm going to be learning colors, size, centering, etc. next. Am I missing any catagories? Should I expand the Other Works category?
Already looks good though! Great quick work :)
Quote from: IshmaylAlready looks good though! Great quick work :)
Thanks, Ishmayl.
Of course, going beyond the quick work is proving to be the hard part...
Okay, here's where it stands now:
http://www.thecbg.org/wiki/index.php?title=Template:Test3
I think that's as far as I'm going to get without some really intense work into it, so that's my progress for the day. :) Still, I'll play around and see if I can figure more out.
Also, I'll probably be making other (smaller) templates for things such as "Under construction" and such. Expect updates either later today or sometime into next weeks, since I'm going to be AWOL come bout 10am friday. :)
This is really nifty. Where are you learning how to make these? Are they just predefined things that are automatically included in the wiki page when you add a short tag?
no, you have to actually create them
And it's not easy - I've tried and failed a few times...
I mean, once you predefine them, you can call them forth at will with a short tag?
yes
I guess I just have a nack for it then. :) I"ll keep working on some other ones, and if anyone wants a custom one for their campiagn world/worlds like I have for Oververse, I'll be happy to whip one up. :)
anybody know what the random alphabetic strings someone's been inserting at the top of wiki articles is about? it SEEMS spammish, but there's no links or keywords in the mix.
http://www.thecbg.org/wiki/index.php?title=CeBeGia%3AHistory&diff=2810&oldid=2805
http://www.thecbg.org/wiki/index.php?title=Shadowfell%3ASkills&diff=2826&oldid=2818
Yeah, I've been noticing it for awhile now and have been deleting them ... it's also, strangely enough, been happening about once a week, every 6 or 7 days or so... weird.