Help with formatting links & plain text

Help with formatting links & plain text

Postby echoes » Fri Mar 05, 2010 5:43 am

i'm fairly green to wiki editing, so please bear with me. i've read the wiki documentation as well as templates but i can't seem to find a solution to this. maybe i'm over-complicating it.

i want to place a link to an episode with plain text following it, such as this:

link to episode (plain text in parentheses), another link to another episode (more text in parentheses), and so on.

how do i achieve this with wiki syntax?
User avatar
echoes
Corporal
Corporal
 
Posts: 271
Joined: Mon Feb 04, 2008 7:22 am
Database User Name: echoes~

Re: Help with formatting links & plain text

Postby GrnMarvl14 » Fri Mar 05, 2010 3:15 pm

Are you wanting a link, then plain text, or the link AS text? I.e., are you wanting:

http://www.marvel.com Marvel.com

Or:

Marvel.com?

If it's the first one, and you're linking within the Wiki itself:

[[page name]] text

From outside the Wiki:

[link] text (though I seem to remember this one always looking wrong, with the link usually ending up becoming a reference number)

If it's the link AS text:

From within the Wiki:

[[page name|text]]

From outside the Wiki:

[link text]
Image
User avatar
GrnMarvl14
Captain
Captain
 
Posts: 2053
Joined: Sun Jan 29, 2006 3:43 am
Location: Oklahoma
Database User Name: GrnMarvl14

Re: Help with formatting links & plain text

Postby echoes » Fri Mar 05, 2010 6:25 pm

funny thing is, i know how to do all that with html & bbcode, but i'm somewhat of a noob with wiki editing. (i've only done editing that hasn't really required formatting).

i thought i explained it, but option #2 with plain text following is what i am looking for, but i want multiple items in a line. the problem is the result is brackets showing instead of being hidden (this is how it was when i found it, i am trying to fix it):

code:
[[Spider-Man: The Animated Series|Night of the Lizard]] (as Eddie Brock) [[Spider-Man: The Animated Series|The Alien Costume, Part Two]] (partially seen as Venom) [[Spider-Man: The Animated Series|The Alien Costume, Part Three]] (fully seen as Venom)

result:
[[Night of the Lizard (as Eddie Brock) The Alien Costume, Part Two (partially seen as Venom) The Alien Costume, Part Three (fully seen as Venom)]]

links in blue
plain text in red
User avatar
echoes
Corporal
Corporal
 
Posts: 271
Joined: Mon Feb 04, 2008 7:22 am
Database User Name: echoes~

Re: Help with formatting links & plain text

Postby GrnMarvl14 » Fri Mar 05, 2010 7:20 pm

Don't worry, we've all been new at this. Hell, I've been doing this for years and I STILL ask simple questions that everyone knows the answer to but me every six months.

But I think I know you're problem. You're trying to do that in the first appearance section of a character template, right? If so, the reason it's still showing is because that area is set up to auto-link comics, which can, occasionally, cause issues with non-comics. What it's doing is automatically adding the brackets to your input as it would a comic. I honestly don't know how to fix that (I know there IS a way, though). Sorry that that's not exactly helpful, but I'm sure one of the people better versed at this than me will come along before too long and solve things.
Image
User avatar
GrnMarvl14
Captain
Captain
 
Posts: 2053
Joined: Sun Jan 29, 2006 3:43 am
Location: Oklahoma
Database User Name: GrnMarvl14

Re: Help with formatting links & plain text

Postby echoes » Fri Mar 05, 2010 11:44 pm

GrnMarvl14 wrote:You're trying to do that in the first appearance section of a character template, right?


yes.

GrnMarvl14 wrote:If so, the reason it's still showing is because that area is set up to auto-link comics, which can, occasionally, cause issues with non-comics. What it's doing is automatically adding the brackets to your input as it would a comic. I honestly don't know how to fix that (I know there IS a way, though). Sorry that that's not exactly helpful, but I'm sure one of the people better versed at this than me will come along before too long and solve things.


ah-ha! i knew there was something fishy about that. i was wondering why brackets kept showing up even though i hadn't typed them, i was beginning to think there was a gremlin in the wiki! i was aware of the auto-linking to comics feature but the end result confused/still confuses me.

oh, and don't apologize. you just saved me some time and frustration by telling me there is a solution, even if you don't know it. i'll just wait for someone that knows to respond.

btw, thanks for the help.

EDIT/UPDATE:
to clarify: i tried to find a page that had links & plain text in the first appearance field. i happen to come across apocalypse's (earth-616) article. the first appearance field IS displayed/formatted correctly there. the only difference in the code i can tell is that apocalypse's contains a "comic:" prefix in the link. if this is the "auto-link to comics" you menionted, then it would seem that it is predisposed/biased to comics and no other types of articles.
which leads me back to wishing i knew the workaround, if there really is one...
User avatar
echoes
Corporal
Corporal
 
Posts: 271
Joined: Mon Feb 04, 2008 7:22 am
Database User Name: echoes~

Re: Help with formatting links & plain text

Postby m1shawhan » Tue Mar 09, 2010 6:26 am

I think I get what you are trying to accomplish, but what page are you editing that is not allowing this? Can you post a link to it here and we can check out the template that it is using. I know when we did the character and comic templates we coded a LOT of background coding to get those links available, but it CAN be done. Just might take a moment or two to get it. From what I gathered, it seemed to be in the episode or film template anyhow and that one has not been as *ahem* kept up as the rest. ;)
User avatar
m1shawhan
Captain
Captain
 
Posts: 2118
Joined: Sun Aug 27, 2006 1:03 am
Location: Texas
Database User Name: m1shawhan

Re: Help with formatting links & plain text

Postby echoes » Tue Mar 09, 2010 6:52 pm

m1shawhan wrote:I think I get what you are trying to accomplish, but what page are you editing that is not allowing this? Can you post a link to it here and we can check out the template that it is using. I know when we did the character and comic templates we coded a LOT of background coding to get those links available, but it CAN be done. Just might take a moment or two to get it. From what I gathered, it seemed to be in the episode or film template anyhow and that one has not been as *ahem* kept up as the rest. ;)


Here:
http://marvel.wikia.com/Edward_Brock_(Earth-194111)
User avatar
echoes
Corporal
Corporal
 
Posts: 271
Joined: Mon Feb 04, 2008 7:22 am
Database User Name: echoes~

Re: Help with formatting links & plain text

Postby m1shawhan » Thu Mar 11, 2010 12:32 am

Here's the link... http://marvel.wikia.com/Edward_Brock_(Earth-194111)

I made a couple of changes to the template. I had forgotten that we assumed all first appearances of a character were comics. :( We did plan for the remaining part of having the parentheses for noted appearances "(as so-and-so) [[link]] (then as so-and-so)". We decided to use the First2 = section. I changed it (a little) to allow for non-comic appearances (for the first appearance at least...)

What you'll want to do is add the information for these 'non-comic appearance' characters to put ALL the appearance info in the First2 = section. I made this change on the page and you can see the differences I made, on this link here. I also linked directly to the episodes, but you can change it back to the main series page if wanted/needed.

Let me know if you find any problems from my change on other pages too.......... :shock:
User avatar
m1shawhan
Captain
Captain
 
Posts: 2118
Joined: Sun Aug 27, 2006 1:03 am
Location: Texas
Database User Name: m1shawhan

Re: Help with formatting links & plain text

Postby echoes » Thu Mar 11, 2010 1:47 am

why would i want to change it? that is much more descriptive and happens to be exactly what i was trying to do in the first place.

thanks m1shawhan.
User avatar
echoes
Corporal
Corporal
 
Posts: 271
Joined: Mon Feb 04, 2008 7:22 am
Database User Name: echoes~


Return to Wiki Help Forum

Who is online

Users browsing this forum: No registered users and 1 guest