You are not logged in.

#1 2011-03-10 19:33:59

jwhendy
Member
Registered: 2010-04-01
Posts: 621

[SOLVED] Inquiry about the {{Note | }} environment and url links

Recently I've added some notes to the wiki and tend to like to link to sources where possible. I've tried to do this with forum posts, but because of the url syntax:

https://bbs.archlinux.org/viewtopic.php?id=#####

the note environment doesn't like it and results in this:

{{{1}}}

Specifically, I've tracked it down to the equals sign ("="). Could anyone chime in on:

- the preferred method of linking to an external url inside of a note (or if that is discouraged)
- if I've overlooked some syntax that would allow this for the url format above (like putting it in quotations or something like that?)
- if it's possible to change why the "=" in a url will prevent such linking

It's a bummer... I love linking to the forums from the wiki because a lot of the answers originate here during problem solving. I don't have to use the note environment, but I find lately that some of the main article will be quasi correct but potentially misunderstood and so I've create a note and linked here. Since I can't directly link, I've been adding the forum post urls in the "Additional Resources" section at the bottom of articles and just linking to that via the [[wikiURL#Additioanal_Resources]] syntax.

To be able to directly input a url would simply things, I think.

Last edited by jwhendy (2011-03-11 01:12:55)

Offline

#2 2011-03-11 01:08:26

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: [SOLVED] Inquiry about the {{Note | }} environment and url links

See Help:Template

Note: If you use the equal sign ( = ) inside a template with numbered parameters, MediaWiki will break the template's output. You need to enclose the equal sign (or the entire block of text) in <nowiki> tags like so:

{{Codeline|<nowiki>variable = value</nowiki>}}

Alternatively, treat the parameter number as a named parameter, as in:

{{Codeline|1=variable = value}}

This is a technical limitation that you should keep in mind while using templates.


M*cr*s*ft: Who needs quality when you have marketing?

Offline

#3 2011-03-11 01:12:41

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: [SOLVED] Inquiry about the {{Note | }} environment and url links

@pointone: dangit. Should have figured something already existed and I've seen the editing help, but not that particular page. Thanks!

Offline

Board footer

Powered by FluxBB