I realize this thread (http://thecbg.org/e107_plugins/forum/forum_viewtopic.php?150115.last) might answer a very similar question, but I wanted to put a more direct title up front and thus started a new thread.
I've been working with the Lexicon project on the wiki and I'm enjoying it immensely! It's also made me want to try and get something up there to better organize my work and make it available to any inquiring players (particularly my own). Looking at the settings already up there, I can't help but feel a little overwhelmed by the dizzying amount of work that goes into them, but it's something I'm fully willing to tinker with. And I'm not talking about writing articles for the setting and all that; I mean setting up the links and the pages and all the other stuff that, to me, looks fairly complicated.
I'm hoping to try and get some help on making this process a little bit easier for me as I ease my way into the wiki and get a full setting up there. That said, I'll need some help! Cue the experts!
Am I correct in assuming that I simply start a new page like I would in the Lexicon? For instance, could I start by making a new page using Luminous Crayon's tip in starting new Lexicon articles: "www.thecbg.org/wiki/index.php?title=YOUR_PAGE_NAME_(Lexicon)&action=edit", but by removing the "(Lexicon)" portion?
I haven't jumped the gun yet if I'm wrong, so fear not :).
yes, or as i do, when i write a page i link to pages not yet created, then click the link to create the page. search through google "wiki page markup" or "how to edit a wiki page" and pages will come up all the ways to do stuff and what you need to do it (often copy and paste)
Thanks for the advice, Lath.
So, does a setting wiki sort of unfold from a single, original page? Once a page is filled with its desired subject, do you link to another page and start with another subject, similar to how the Lexicon works?
Quote from: The_Weave05I'm hoping to try and get some help on making this process a little bit easier for me as I ease my way into the wiki and get a full setting up there. That said, I'll need some help! Cue the experts!
Am I correct in assuming that I simply start a new page like I would in the Lexicon? For instance, could I start by making a new page using Luminous Crayon's tip in starting new Lexicon articles: "www.thecbg.org/wiki/index.php?title=YOUR_PAGE_NAME_(Lexicon)&action=edit", but by removing the "(Lexicon)" portion?
I haven't jumped the gun yet if I'm wrong, so fear not :).
There's a tiny bit of extra steps involved with starting up a brand new wiki project (as opposed to a new page within an existing project, like Lexicon). It's not too hard, though, so don't be intimidated.
I've done this dance what, four or five times now? So, I'll be glad to walk you through my method (some of these are unnecessary, but useful tricks).
1.) Name your project. This is the name of your main page (by itself), it goes in parenthesis at the end of the name of all the other pages, and it gets added to the Wiki setting list (more on that momentarily). So, if your wiki project is named "Weave's Awesome Project", you want one page that's just named
Weave's Awesome Project, no parenthesis, and then you want a bunch of pages named
Maps (Weave's Awesome Project), etc.
2.) Add your project to the list. Specifically, Template:ListOfSettings (http://www.thecbg.org/wiki/index.php/Template:ListOfSettings). Edit this page and slip "Weave's Awesome Project" into the big list with all the rest, making sure not to put a space before or after the commas on either side of it (just look at the others for examples of the syntax and make it match, no big deal). This change makes your project an official part of Sparkletwist's brilliant autodisambiguation system (and if you skip this step, any links you create with the {{L}} template will not function.)
3.) (Optional) Make a template for your project. This is not necessary, but it is very useful, and with a little bit of experimentation you can really get it to make things look nice. (It's easiest if you find a template you like, swipe the code, and tweak it until it fits your needs.) I use two templates each for every page in Jade Stage, Jade Fate, and Modern Mythos (one header and one footer), and I set up one template for each Lexicon page (header only, so it's less complicated for Lexicon writers to have to keep up with). You can use colors and images to make it look nice (I use a simple table to center things), it's useful if you want to set up a navigation menu so that important pages of your wiki are accessible from anywhere within it, etc. There are also some things that
need to be included in each wiki page, and if you stash them all in a template and put that template on each page (like we've done with Lexicon), that counts.
Here's the contents of Template:Lexicon_Banner (http://www.thecbg.org/wiki/index.php?title=Template:Lexicon_Banner), for you to look at. (By typing {{Lexicon_Banner}} at the top of each page, you're including this template and all it contains.)
[quote="width:100%;margin-top:1em;background-color:#ffaa88;border:2px solid #442200;color:#442200;font-size:110%"
|-
|
|align="right" width=500|[[Lexicon]]
|align="center" width=40| [[Image:Lexicon_Book_Icon.gif]]
|align="left" width=500|[[Scholars (Lexicon)|contributing scholars]] - [[:Category:Lexicon|index of articles]]
|
|}
{{Setting|Lexicon}}
__NOTOC__
__NOEDITSECTION__
[[Category:Lexicon]]
[/quote]{|[/b] through the
|} midway down is a table; those marks enclose a table. I use that so everything looks nice. Pretty, but optional. The important stuff is what comes after the table.
{{Setting|Lexicon}} is a required component of the autodisambiguation code. This needs to be on every page, or the links won't work. So I put it in the banner template, and I never have to worry about it again.
[[Category:Lexicon]] adds any page that includes it to Category:Lexicon (http://www.thecbg.org/wiki/index.php?title=Category:Lexicon), creating our index. Since it's in the template, we don't have to do it manually on each page.
__NOTOC__ and
__NOEDITSECTION__ are markers that change the style of the page. (Note, those are two underscores side by side, both before and after.) Experiment and see whether you like them or not; I put them in the Lexicon banner because I thought most Lexicon pages might be somewhat short, and these functions would make the whole thing look sleeker and less cluttered (note: this may not actually have been a good assumption for Lexicon; ya'll some wordy sonofarascals). __NOTOC__ stops the page from automatically generating a table of contents out of your section headings (sometimes you want it, sometimes you don't), and __NOEDITSECTION__ prevents the page from adding a small, section-specific edit button for each section heading (like on this page (http://www.thecbg.org/wiki/index.php?title=Heku_%28Modern_Mythos%29), for instance, all the little [edit] buttons on the right of the page. That shit is irritating and I should get rid of it.)
Another good one to know about is
{{TOC_Right}}, which makes the table of contents float to the right and lets text wrap around it (also on my above-linked Heku example); I use {{TOC_Right}} on almost every wiki page I make.
......
Still with me? Good. God, that was a lot of text. If you want more, I've got one more link: Sparkletwist's Page Creation Information (http://www.thecbg.org/wiki/index.php/Page_Creation_Information), which discusses page naming conventions, the workings of the autodisambiguator, and why the important parts are important.
If you have more questions, fire away. But I think that should probably be enough to get you started. Have fun!
Quote from: The_Weave05Am I correct in assuming that I simply start a new page like I would in the Lexicon? For instance, could I start by making a new page using Luminous Crayon's tip in starting new Lexicon articles: "www.thecbg.org/wiki/index.php?title=YOUR_PAGE_NAME_(Lexicon)&action=edit", but by removing the "(Lexicon)" portion?
Oh, hey, specific answers for specific questions.
Yes, you can do that. That always works, always. The bit between the "title=" and the "&" is the name of the page you're creating.
The only reason for the parenthesis is to help distinguish between everybody's various projects. Since we're technically all lumped together in one big wiki soup, the suffixes like (Lexicon) at the end of page names (and Sparkletwist's autodisambiguator and {{L}} template) help separate things, so that each project keeps to itself and we don't all bleed over onto each others' work.
If you're making a page with a relatively common name that somebody else might conceivably also want to use (like "Magic" or "Politics" or "Dragons" or something), then use the parenthetical suffix (so "Magic (Lexicon)" is different from "Magic (Jade Stage)" and "Magic (Weave's Awesome Project)", etc.) If you're making a page with a weird name that nobody else is going to be using, then you don't need the suffix, but there's no harm in having it anyway, so I just put it on every page because I think it's a good habit. (The exception, of course, is the main page for your wiki project. Which is just called "Weave's Awesome Project", or whatever. No suffix needed, because it IS the suffix for everything else.)
QuoteSo, does a setting wiki sort of unfold from a single, original page? Once a page is filled with its desired subject, do you link to another page and start with another subject, similar to how the Lexicon works?
need[/i] to do it that way, though. Since you know how to create a page with any pagename you like, even when there's not a link that takes you to the vacant spot, you could start off by creating pages you know you'll need, and then worry about how to link them all together later.
Thanks a billion, LC! This is very helpful.
I'm tinkering around with this right now, so I'm sure I'll have some more questions later, but right now I want to know how I can change the image in the template that would normally be a book (for Lexicon) to something else.
EDIT: Didn't notice you had linked Sparkletwist's setting creation page; I'll certainly check that out.
Quote from: The_Weave05Thanks a billion, LC! This is very helpful.
I'm tinkering around with this right now, so I'm sure I'll have some more questions later, but right now I want to know how I can change the image in the template that would normally be a book (for Lexicon) to something else.
Glad to help.
For your image switch, that's very easy. From any page on the wiki, there's a wiki-wide menu on the far left column. You want
Upload file. That'll bring you to a page that will let you choose an image from your hard drive, and upload it to the wiki with any filename you choose.
Then, if you're looking at the Template:Lexicon_Banner, change "[[Image:Lexicon_Book_Icon.gif]]" so that it has the filename of your chosen image instead. Poof, done!
Next question: How do I become a user of the cbg wiki?
Just got a bare-bones basic page up for Shattered Spectrum (http://www.thecbg.org/wiki/index.php/Shattered_Spectrum), hopefully I'll learn more as I go.
Quote from: The_Weave05Next question: How do I become a user of the cbg wiki?
You mean, edit your user page so that it contains some content? You add content to it just like any other page, it's just
User:The_Weave05.
If you want to know how to become a user of the wiki in a more general sense, I'd say you've already done that. :yumm:
Oh, well isn't that just dandy :). I thought there might be something I'd have to sign up for or whatnot.
Anyways, I've been plugging away at some stuff and even though it doesn't look like anything special yet, I'm certain I'll find ways to spruce it up as I go. Likewise, I've always got my trusty go-go-gadget LC-ANSWER-MY-QUESTION-PLEASE up my sleeve.
I do have another question: The word "Minotaur" unintentionally links someone else's entry for "Minotaur." Is there a way to specify that I wish for mine to link somewhere else?
Quote from: The_Weave05I do have another question: The word "Minotaur" unintentionally links someone else's entry for "Minotaur." Is there a way to specify that I wish for mine to link somewhere else?
As long as you have a setting template on each page you can use {{L|Minotaur}} to link to the minotaur page with your setting template on it. You can look at http://www.thecbg.org/wiki/index.php/Template:ME_header (//hyperlinkurl) for an example of a setting template. To add one you've made to your page you just put {{NameOfTemplate}} at the top of the page. So for example the above linked template is put into Mare Eternus pages by putting a {{ME_header}} at the top.
Quote from: The_Weave05I do have another question: The word "Minotaur" unintentionally links someone else's entry for "Minotaur." Is there a way to specify that I wish for mine to link somewhere else?
The issue is over-general page names. The Minotaur pages actually exists. It's one of Lath's pages, so I guess it might be for Discworld, but I can't tell for sure from the text, so I don't want to move it anywhere yet.
Quote from: The_Weave05I do have another question: The word "Minotaur" unintentionally links someone else's entry for "Minotaur." Is there a way to specify that I wish for mine to link somewhere else?
In this situation, we need to set up an autodisambiguator, just like on every page with a name multiple people want to use (see also: Magic). It's not hard, so I'll give you instructions so you can do it yourself. (If you have trouble, I'll be glad to help out.)
First, go to the existing Minotaur page. It appears to be part of Lath's Discworld project, so we are going to
move the page from "Minotaur" to "
Minotaur (Discworld)". Since Lath has been using the {{L}} style links, he will experience no disruption; all his links will go to the same page even though that page has been moved. (Go to Minotaur, click "move" at the top, to the right of the "edit" button, and rock out.)
Now, go back to the Minotaur page again. Since we just moved it to Minotaur (Discworld), the Minotaur page is now an automatic redirect to Minotaur (Discworld), but that's not what we want. (If the page redirects you away, click at the top where it says "redirected from Minotaur", and it will let you go back and stay.) Now, replace the redirect contents of
Minotaur with the single template
{{AutoDisambiguator}}. That should be the only content on the page. Now, when anybody goes to the Minotaur page, the AutoDisambiguator template will automatically produce a list of Minotaur (Discworld), Minotaur (Shattered Spectrum), and any and all other pages that are Minotaur (Whatever), and ask you which one you want to go to.
Unless, of course, you got there from a link from another page in the wiki that has the {{Setting}} template, because that makes it clear which Minotaur the link meant.
Now, create your minotaur page, only call it
Minotaur (Shattered Spectrum). And you're done!
If you want to admire your handiwork, test to see that your links work, that Lath's links still do as well, and that the regular Minotaur page lists both your version and Lath's.
Quote from: PhoenixThe issue is over-general page names. The Minotaur pages actually exists. It's one of Lath's pages, so I guess it might be for Discworld, but I can't tell for sure from the text, so I don't want to move it anywhere yet.
I feel pretty comfortable calling it a Discworld page, in part because of the general style/subject, and in part because of the datestamp (Lath's been doing Discworld pretty exclusively these days, right? That page was made Thursday.)
On another subject, this "over-general page names" issue is the reason I always err on the side of using my parenthetical suffix on page names, even if I don't think another person is going to want to use an identically-named page. You really never know.
I will chime in and say that in my opinion, so-called "over-general page names" really are not a problem at all. If everyone is using {{L}} properly (and I think everyone is) then there is no disruption to anyone to do a page move. If you want to use the same concept that someone has already created a page about, just move the page. Some people may feel a certain resilience about doing this, for fear of messing up someone else's links, but the whole idea of {{L}} is that it is expressly designed so that it won't, so fear not. If you think a concept is unique to your setting, boldly claim it! ;)
ya dats mine... some of the race pages where the first i did, and was still learning, i dont think i have done back and fixed them all..
Pym, I have brought back this thread for your viewing pleasure!
Have fun with putting your setting on the wiki! Feel free to ask anything.
It wasn't much fun and I still haven't succeeded. The coding is unlike others I've seen before, so I'm sort of lost.
I also followed the dance, but nothing's going my way. I'm gonna try more things tomorrow, I might just be too tired.
Ok so, again this morning I play around the wiki to add my setting on there and I can't figure out how to put a link to my setting on the Main Wiki Page, like all the others. I've added my project name to the List of Templates already so I really don't know what I'm doing wrong...
Oh so... from what I can understand, it has to be manually added by sparkle? On the main list I mean.
Quote from: Magnus PymOh so... from what I can understand, it has to be manually added by sparkle? On the main list I mean.
Yes. Only a couple of people have permission to edit the main page of the Wiki.
Oh I see
I do have another question though.
I want to put a link to my history page and I use this, of course;
{{L|Page to link to|Link title (optional)}}
ok now, I don't EXACTLY use that, here it is;
{{L|http://www.thecbg.org/wiki/index.php/History%28Primeval%29|History}}
I save change, link shows a [1] which I can click, that I do;
QuoteBad title
From The CBG Wiki
Jump to: navigation, search
The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one or more characters which cannot be used in titles.
Return to CBG Wiki.
Tada!
I'm not sure what I'm doing wrong here, it seems fairly simple in the explanation...
By the way the page is
http://www.thecbg.org/wiki/index.php/History%28Primeval%29
and exists, has also been filled.
Ok found the bug, but now another question arises.
I do {{L|History}} only and it brings me to the disambiguation page, with histories of other settings.
I'm not sure what I did wrong, I put {{Setting|Primeval}} on my history page.
Quote from: Luminous CrayonQuote from: The_Weave05I do have another question: The word "Minotaur" unintentionally links someone else's entry for "Minotaur." Is there a way to specify that I wish for mine to link somewhere else?
In this situation, we need to set up an autodisambiguator, just like on every page with a name multiple people want to use (see also: Magic). It's not hard, so I'll give you instructions so you can do it yourself. (If you have trouble, I'll be glad to help out.)
First, go to the existing Minotaur page. It appears to be part of Lath's Discworld project, so we are going to move the page from "Minotaur" to "Minotaur (Discworld)". Since Lath has been using the {{L}} style links, he will experience no disruption; all his links will go to the same page even though that page has been moved. (Go to Minotaur, click "move" at the top, to the right of the "edit" button, and rock out.)
Now, go back to the Minotaur page again. Since we just moved it to Minotaur (Discworld), the Minotaur page is now an automatic redirect to Minotaur (Discworld), but that's not what we want. (If the page redirects you away, click at the top where it says "redirected from Minotaur", and it will let you go back and stay.) Now, replace the redirect contents of Minotaur with the single template {{AutoDisambiguator}}. That should be the only content on the page. Now, when anybody goes to the Minotaur page, the AutoDisambiguator template will automatically produce a list of Minotaur (Discworld), Minotaur (Shattered Spectrum), and any and all other pages that are Minotaur (Whatever), and ask you which one you want to go to. Unless, of course, you got there from a link from another page in the wiki that has the {{Setting}} template, because that makes it clear which Minotaur the link meant.
Now, create your minotaur page, only call it Minotaur (Shattered Spectrum). And you're done!
If you want to admire your handiwork, test to see that your links work, that Lath's links still do as well, and that the regular Minotaur page lists both your version and Lath's.
Does this help at all?
well theres no History page... theres only History (setting) pages. does this work the same?
Bleh so difficult. Let's just say I've seen much friendlier wikis.
I'm going to keep trying some things.
EDIT: I was able to put my History version on the History Page (the search page I guess), but my Main page doesnt directly link to my history version, still the damn history search page.
I fixed it for you. You need the setting template before the link on the page. The easiest thing to do is to create a template for your setting which includes the setting template.
I can show you how to do this if you like.
As a further explanation, I added this quick code to the Template:Primeval page. If you wanted to use this, just include
{{Primeval}}
at the top each Primeval page.
This is the template code:
{{Setting|Primeval}}
<!-- Primeval Template to be included on all Primeval pages -->__NOEDITSECTION__ __NOTOC__
<div style="border: 2px solid #0b6c2d; background-color: #1bbf55; padding: 3px;">
<center>
<span style="font-weight: bold; font-size: 1.5em; color: #0b6c2d">Primeval</span>
<div style="width: 100%;">{{L|Primeval|Overview}} | {{L|Culture}} | {{L|Places}} | {{L|History}} | {{L|Fantasy}}</div>
</center>
</div>
[[Category:Primeval]]
The span tags could be replaced with an image, if desired, for a fancier look. This creates a universal navigation for all Primeval pages, automatically includes the {{Setting|Primeval}} so you don't have to, and turns off TOC and and edit buttons to look nicer. Setting it up to float left or right would be easy if you prefer that nav style.
I'm really grateful you've done it for me, but at the same time I'm the kind of guy who learns by doing it, not by being told. Which is why over the internet, or phone, I often have difficulties with pretty much anything new. I always manage though.
Anyways... I have new questions now that I haven't been able to see for myself.
You created the Template:Primeval page for me... right? And basically just put your code in it and crafted a quick "template/banner" for me.
If this is right, then INSIDE that "template/banner", you've put a code that, whenever I put {{Setting|Primeval}} on a page, it will trigger this "template/banner" that you've done?
If this is correct, what's the point of using {{Primeval}} at all and where do I put the {{Setting|Primeval}}? At the end of each edit?
EDIT: What's with this?
Quote<!-- Primeval Template to be included on all Primeval pages -->__NOEDITSECTION__ __NOTOC__
It puts the __NOTOC__ on all pages if I decide to use this code on all my pages?
Quote from: Magnus PymI'm really grateful you've done it for me, but at the same time I'm the kind of guy who learns by doing it, not by being told. Which is why over the internet, or phone, I often have difficulties with pretty much anything new. I always manage though.
You created the Template:Primeval page for me... right? And basically just put your code in it and crafted a quick "template/banner" for me.
If this is right, then INSIDE that "template/banner", you've put a code that, whenever I put {{Setting|Primeval}} on a page, it will trigger this "template/banner" that you've done?
If this is correct, what's the point of using {{Primeval}} at all and where do I put the {{Setting|Primeval}}? At the end of each edit?
[/quote]
EDIT: What's with this?
<!-- Primeval Template to be included on all Primeval pages -->__NOEDITSECTION__ __NOTOC__[/quote]
<!-- --> are HTML comment tags explaining how to use the template.
__NOEDITSECTION__ This is wiki code that tells it not to display the edit button next to each heading tag. It makes things look prettier, since you're likely the only one editing your pages. If you don't want it, delete this code and the edit buttons will return on all your pages.
__NOTOC__ This is wiki code telling your pages not to display the default table of contents that the wiki applies to pages with a certain number of headings (4 I think). If you like those TOCs, delete this code. I seem to recall you're using this on the Primeval page, so I included it. I does indeed put NOTOC on all pages, but you can override it with something like TOC_RIGHT if you want a TOC on just a few pages.
Hi, MP. I'm going to hit a few quick things, although I assume you've figured out some/lots of them by this time.
1.) Your History information needs to go in
History (Primeval). You need the parenthesis on any page with a title common enough to be shared. Links to "History (Primeval)" will always go directly to your page, and links to "History" will go to your page if they come from a wiki page with {{Setting|Primeval}} in it somewhere, and will go to the disambiguation page otherwise.
Quote from: MPEDIT: What's with this?
Quote<!-- Primeval Template to be included on all Primeval pages -->__NOEDITSECTION__ __NOTOC__
Yes, that would put __NOTOC__ on all pages that include that template. You can easily change this by removing __NOTOC__ from the template, if you prefer.
EDIT: ohai Phoenix
Alright thanks guys, I'll post later if I have other questions, guess I just need to get used to it now.
Oh alright another question pops out;
How do I include an image (banner image) I've done and uploaded to the template? Phoenix said I could, but I'm not too sure how.
P.S: By the way before asking questions I look at other projects codes.
EDIT: nevermind found a way. It's not the prettiest, but it'll work for now.
Like the image a lot. Might need to make it smaller (vertically smaller) to work as a banner though.
Yeah thanks, totally agreed too, but I'll get to that later.
I'm going to hire an artist next month or in a few to do some art for Primeval, so hopefully I'll get something even cooler soon.