The Campaign Builder's Guild

The Archives => The Cogs (Archived) => Topic started by: LD on February 03, 2011, 03:00:03 PM

Title: Creating a Page in the Wiki?
Post by: LD on February 03, 2011, 03:00:03 PM
Note for nomadic- It's really unclear how to create a new page in the wiki (not just by following the empty links, but a page completely from scratch?) On most wikis I know there is a link on the left bar that says CREATE NEW ARTICLE. I don't see such a link on the CBG wiki. It's non-intuitive.

Even if I find an answer for this, I really think that there should be a CREATE NEW ARTICLE link on the left hand side of the wiki.

Best,
LD.
Title: Creating a Page in the Wiki?
Post by: Lmns Crn on February 03, 2011, 03:05:24 PM
Go to a page that has the title you want, and you'll get a "Page doesn't exist, wanna create it?" prompt.

Generally, I do this by going to any page on the wiki and changing the title in the URL bar of my browser.

But you're right; a "New Article" button would be nice.
Title: Creating a Page in the Wiki?
Post by: LD on February 03, 2011, 03:24:46 PM
Thank you for the answer. I'll still promote the NEW ARTICLE button however. :)

Also, since you're here- when putting spaces in the wiki articles... is the HTML BR code necessary or is there a way to get WYSIWYG?
Title: Creating a Page in the Wiki?
Post by: Lmns Crn on February 03, 2011, 03:30:37 PM
What do you mean, exactly-- breaks between paragraphs?

I just hit enter a lot while I'm typing. I don't use any HTML in wiki editing whatsoever.

If you can describe to my dumb self exactly what you want, I'll be glad to make it happen if possible.
Title: Creating a Page in the Wiki?
Post by: LD on February 03, 2011, 03:32:26 PM
Hm. Then I wonder why I was having that problem. When I was editing, everything was fine with spaces and hard returns. But when I looked at my page; everything came mishmashed out until I manually inserted < BR > and code all over the place.

Is there a way to switch from editing in SOURCE CODE to editing in What You See is What You Get?
Title: Creating a Page in the Wiki?
Post by: Lmns Crn on February 03, 2011, 03:44:29 PM
No idea. I've never had that issue. Maybe some sort of wiki hiccough? (Sometimes when viewing/editing a wiki page, the browser gives you an error, but upon refreshing it works fine.)

There's no WYSIWYG editing for the wiki, but the markup is so minimal that it's fairly close to WYSIWYG anyway.

Ed: If it helps you, feel free to find pages you like the looks of, hit "Edit" on them, and look at how they're constructed.
Title: Creating a Page in the Wiki?
Post by: Nomadic on February 03, 2011, 04:47:17 PM
Don't tell me lol. Sorry but I don't understand wikis at all. That's something for brainface or possibly sparkletwist.
Title: Creating a Page in the Wiki?
Post by: Matt Larkin (author) on February 04, 2011, 04:09:26 PM
Quote from: Luminous CrayonThere's no WYSIWYG editing for the wiki, but the markup is so minimal that it's fairly close to WYSIWYG anyway.

Ed: If it helps you, feel free to find pages you like the looks of, hit "Edit" on them, and look at how they're constructed.
Ditto. Make heavy use of Preview to see what you're getting. HTML tags will work on the wiki.

Light Dragon, can you tell us the specific page (or an example of one) that is giving you this issue. Seeing the actual code makes it easier to suggest fixes.

Unrelated subject: LC, why are you making a template for every deity, rather than a Deity template with variables that could be filled in for each deity's page?
Title: Creating a Page in the Wiki?
Post by: Kaptn'Lath on February 04, 2011, 04:24:27 PM
I bet this is what LD is doing

"blah blah blah <enter>
blah blah blah"

instead of
"Blah blah blah <enter>
<enter>
Blah blah blah"

got to have the open line between the two bodies, starting the next paragraph on the line just under the last will make wiki try to join them.

"Unrelated subject: LC, why are you making a template for every deity, rather than a Deity template with variables that could be filled in for each deity's page?"
was wondering that myself

Title: Creating a Page in the Wiki?
Post by: LD on February 04, 2011, 05:46:13 PM
Thank you Lath I'll give your suggestion a try next time I type up an entry. I think I was hitting two hard returns, but you may be right.
Title: Creating a Page in the Wiki?
Post by: Lmns Crn on February 05, 2011, 10:44:24 AM
Quote from: PhoenixUnrelated subject: LC, why are you making a template for every deity, rather than a Deity template with variables that could be filled in for each deity's page?
There is probably an easier way to do what I'm trying to do. (Or, failing that, at least an alternate way.) Essentially I am trying to cut down on possible errors and inconsistencies in game information, by storing that information in as few places as possible. (Template:Tezcatlipoca is referenced both here (http://www.thecbg.org/wiki/index.php?title=Teotl_%28Modern_Mythos%29) and here (http://www.thecbg.org/wiki/index.php?title=Tezcatlipoca_%28Modern_Mythos%29), and possibly eventually in other places as well. But I only have to edit the template to change Big T's stats wiki-wide.)

I had thought about doing it both ways (looks at how the Devas' templates are done; there's a {{Godstat}} template with filled-in variables, and that content forms Template:Agni, Template:Brahma, etc.), but I decided I wanted more flexibility-- maybe not all gods need "Epithets, Rivals, and Enemies"; some might not have Enemies, but might have Counterparts, Spouses, Allies, etc. instead. Doing one template with filled-in variables and keeping that flexibility is beyond my current level of template knowledge.

I confess that on some level, using templates in the Modern Mythos wiki is a matter of getting template practice. So I'm probably using two or three of them in childishly amateurish ways. But that's learning!

Title: Creating a Page in the Wiki?
Post by: Matt Larkin (author) on February 05, 2011, 11:51:59 AM
Quote from: http://www.thecbg.org/wiki/index.php?title=Teotl_%28Modern_Mythos%29here[/url] and here (http://www.thecbg.org/wiki/index.php?title=Tezcatlipoca_%28Modern_Mythos%29), and possibly eventually in other places as well. But I only have to edit the template to change Big T's stats wiki-wide.)
[/spoiler]

On the simpler Userpage template, you see the line
{{#if:{{{userbox1|}}}|<div>{{{userbox1}}}}}
Which is basically saying if userbox1 is not null, do what follows the | (in this case display userbox1)


If that's not making sense, I could probably set up a sample Deity template for you if desired. Like the graphics you have for each deity.

Edit: spoilered the code.
Title: Creating a Page in the Wiki?
Post by: Lmns Crn on February 05, 2011, 09:18:44 PM
Thanks. I think I'm picking up what you're throwing down. I'll give a little experimentation time to the idea, and if I can't disentangle it properly, I'll ask you to do a mockup.

The thing I like about the whole wiki business is that there are always more capabilities, always new stuff you can throw together with a little bit more knowledge.
Title: Creating a Page in the Wiki?
Post by: Lmns Crn on February 06, 2011, 12:05:05 PM
Okay, I've gotten the hang of it. Two immediate things:

For Lexicon players, I've made the comment variable in the sign-your-work template optional. So if you just want to put your Scholar's name and nothing else, that's fine; it won't look code-cluttered.

For my mythology project, I have a ton of new delicious options for how I want to present gods. So that's exciting.
Title: Creating a Page in the Wiki?
Post by: Mason on February 06, 2011, 12:21:15 PM
Mythology project?
Title: Creating a Page in the Wiki?
Post by: Lmns Crn on February 06, 2011, 12:23:50 PM
Quote from: SarisaMythology project?
I figured it was common knowledge (among the wiki-using crowd, at least); I've been blowing up the RecentChanges page for months.

Taketh thou a Look. (http://www.thecbg.org/wiki/index.php?title=Modern_Mythos)

Title: Creating a Page in the Wiki?
Post by: Matt Larkin (author) on February 09, 2011, 05:14:38 PM
It looketh good, LC. For my own project (were I to update it), I'm now of the opinion that I'd put all deities in a group on the same page. I don't think there's enough info that they each need separate pages, which if you did it that way, would save you needing a separate template AND a separate page for each deity.

Why didn't you name the Greek gods Olympians for more common convention? Is that a Scion thing? You have sparked my interest in Scion, though who knows if I'd ever find time for that--I rarely have time for the games I already play and have planned.
Title: Creating a Page in the Wiki?
Post by: Lmns Crn on February 09, 2011, 06:00:37 PM
Quote from: PhoenixIt looketh good, LC. For my own project (were I to update it), I'm now of the opinion that I'd put all deities in a group on the same page. I don't think there's enough info that they each need separate pages, which if you did it that way, would save you needing a separate template AND a separate page for each deity.

Why didn't you name the Greek gods Olympians for more common convention? Is that a Scion thing? You have sparked my interest in Scion, though who knows if I'd ever find time for that--I rarely have time for the games I already play and have planned.
I started out with all deities on mass pages grouped by pantheon. I undertook (correction: "am undertaking") the long process of separating the gods out so that they each have their own pages for several reasons: it makes it easier for me to link stuff, it makes it easier for me to post art for each deity, and it gives me a space to put down specific information regarding each deity (this last bit is a very long process: see Tezcatlipoca and Susanoo-- they're the only two that are finished at this time.)

I didn't call the Greek gods "Olympians" because this group includes Hades and Persephone, who are not Olympians because they don't dwell on Olympus. Scion calls them the Dodekatheon (which is odd, because there are thirteen, but "Triskadekatheon" sounds really weird I guess), which is what I'm running with. (I did change the Aztec pantheon's name from a rather ridiculous made-up word to "Teotl", which at least is actually a word from the Aztec language. But that's my only big revision of that sort.)

I'll be glad to answer Scion-related questions if you have any, or point you to other online resources about the game. I plan to run one eventually, but I've got so much on my plate currently that it may be a long time before I can.