• 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

Matt Larkin (author)

Yeah, I saw that before Ishy. I thought it was neat, which is one of the reasons I was hoping we could use a template to a create wiki-standard version of it.

Poseidon, that looks a lot like how I'd do it with CSS/HTML, only I guess this means you not only have to invoke it, but redefine it every time you want to call it up. I suppose my experience with CSS taught me to always try to save on coding; but it's not really that much trouble to copy/paste it each time.

I actually had been trying to consider a way to use a graphic of a post-it-note and get the text on there, but I wouldn't know how to create overlap without absolute positioning.

Edit: And now your sample note has vanished too!
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

Poseptune

Quote from: PhoenixEdit: And now your sample note has vanished too!

Yeah I wanted to ask Ishmayl something, so I deleted it for the time being. After doing some research to fix one of the Cebegia pages, I know how to do what you want. I want to make sure I can.
[spoiler=My Awesometageous awards] Proud Recipient of a Silver Dorito award

[/spoiler]

 Markas Dalton

Poseptune

OK I made a note template.

To use it type {{WikiNote |note=YourNote}}

For example:

{{WikiNote |note=This is a note, this is only a note. If this had been actual factual information it would not be found here. Remember this is only a note.}}

That will make a note similar to the ones we have here. Not exactly.

You can but line breaks in it as well.
{{WikiNote |note=This is a note, this is only a note. If this had been actual factual information it would not be found here.
<br>
<br>
 Remember this is only a note.}}

Or even Images
{{WikiNote |note=[[Image:Cebegia_Icon.png]] This is a note, this is only a note. If this had been actual factual information it would not be found here. Remember this is only a note.}}
[spoiler=My Awesometageous awards] Proud Recipient of a Silver Dorito award

[/spoiler]

 Markas Dalton

Matt Larkin (author)

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

Poseptune

Something else I found which I think makes the wiki articles look better is __NOEDITSECTION__. Putting that anywhere in your article will force all edits to be done through the top edit tab. There will be no more edit section links at the beginning of all your sections.
[spoiler=My Awesometageous awards] Proud Recipient of a Silver Dorito award

[/spoiler]

 Markas Dalton

limetom

As for the code with the polar map, that was my doing, actually.  I had noticed it was rotated 90 degrees clockwise (so that it was sideways), and taking up a huge amount of space on the page.

EDIT: You can actually go check that in the History tab.  Here's a code comparison.

Snargash Moonclaw

whew - this thread exploded today - I'll have to check at work (assuming the router next door is functioning properly this evening. . .)
In accordance with Prophecy. . .

Have Fun, Play Well,
Amergin O'Kai (Sr./Br. Hand Grenade of Seeing All Sides of the Situation)

I am not Fallen. That was a Power Dive!


I read banned minds.

Matt Larkin (author)

Quote from: PoseidonSomething else I found which I think makes the wiki articles look better is __NOEDITSECTION__. Putting that anywhere in your article will force all edits to be done through the top edit tab. There will be no more edit section links at the beginning of all your sections.
More helpful tips.

I was thinking of adding a border to the note like we have here but didn't want to go messing with your template without asking. It seems like it should be possible, also, to add the bold note header, too, if we wanted, right? That one I'm less sure on how to do, 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

Poseptune

Quote from: PhoenixI was thinking of adding a border to the note like we have here but didn't want to go messing with your template without asking. It seems like it should be possible, also, to add the bold note header, too, if we wanted, right? That one I'm less sure on how to do, though.

You don't need my permission. Go ahead, if it looks ugly someone will fix it. I only put up the basic note. If you want to improve it go ahead.

It has a 1 pixel border already, but I left it black.

To make something bold surround it with '''. Like so '''BOLD'''. To add that to the template just  make the change:

{{{note}}}

to:

'''Note:'''<br>
{{{note}}}


Edit: Or did you mean the header one on the forums? For that one you have to ask brainface css what code he used. Though I think because he used a header tag (I think its been a while since I did the tag tutorial) it will not look right.
[spoiler=My Awesometageous awards] Proud Recipient of a Silver Dorito award

[/spoiler]

 Markas Dalton

Matt Larkin (author)

I see you already did. I tried making the border 2px. I think it looks better, but someone can change it if they disagree.
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

Please note (hah!) that anyone wishing to make more drastic alterations to this template (or any other template) without upsetting other wiki users who might be using it as well can simply make a copy of the template, name it something different, and alter the copy to their heart's content.
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

Poseptune

Quote from: Luminous CrayonPlease note (hah!) that anyone wishing to make more drastic alterations to this template (or any other template) without upsetting other wiki users who might be using it as well can simply make a copy of the template, name it something different, and alter the copy to their heart's content.


AAwwww, but I wanted to make this one load with random colors each time it was used....

J/K. Yeah I forgot to mention that before when I said anyone can edit it.
[spoiler=My Awesometageous awards] Proud Recipient of a Silver Dorito award

[/spoiler]

 Markas Dalton

Ishmayl-Retired

Yeah, the template should be a base template for any other "note" templates, and not altered... I suppose I could lock it, so that only the source could be viewed?
!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.

Poseptune

Quote from: IshmaylYeah, the template should be a base template for any other "note" templates, and not altered... I suppose I could lock it, so that only the source could be viewed?

Sure
[spoiler=My Awesometageous awards] Proud Recipient of a Silver Dorito award

[/spoiler]

 Markas Dalton

Matt Larkin (author)

How do I slate something for deletion (or delete it myself)? For example, I have the old moonshadows.jpg loaded but replaced it with the skyfalls.jpg.
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