• Welcome to The Campaign Builder's Guild.
 

Adding my setting to the Wiki!

Started by Weave, February 19, 2011, 09:17:29 PM

Previous topic - Next topic

Matt Larkin (author)

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.
Latest Release: Echoes of Angels

NEW site mattlarkin.net - author of the Skyfall Era and Relics of Requiem Books
incandescentphoenix.com - publishing, editing, web design

Lmns Crn

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
I move quick: I'm gonna try my trick one last time--
you know it's possible to vaguely define my outline
when dust move in the sunshine

Magnus Pym

Alright thanks guys, I'll post later if I have other questions, guess I just need to get used to it now.

Magnus Pym

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.

Matt Larkin (author)

Like the image a lot. Might need to make it smaller (vertically smaller) to work as a banner though.
Latest Release: Echoes of Angels

NEW site mattlarkin.net - author of the Skyfall Era and Relics of Requiem Books
incandescentphoenix.com - publishing, editing, web design

Magnus Pym

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.