SMF Community Helpers > SMF Documentation Help

Bulletin board code HELP TAB page

(1/3) > >>

Doctor Deejay:
I've tried to add some extra information to the bulletin board code page, but I can't get the last link displayed correctly:

--- Code: ---==Arguments==
Some tags require arguments to be filled in. Some don't, but they might support them. Why would you want to use arguments? Well, let's take a look at the example below.
{{code|[url]http://google.com[/url]}}
That doesn't look so pretty, does it? Well, let's say you want to have a word that links to the Google site. Then you would do something like this:
{{code|[url=http://google.com]Google[/url]}}
--- End code ---
The first one works, but the second one just displays an empty code box.

Yoshi:
MediaWiki sees it as this:

variable "[url" = "http://google.com]Google[/url]"

Doctor Deejay:
Ah ok, thanks for the explanation. :) So I basically need to use HTML entities rather than '=' itself?

Yoshi:
Guess so, see what it does :)

Doctor Deejay:
Ok I've got it working now. Thanks AngelinaBelle! :)

Navigation

[0] Message Index

[#] Next page

Go to full version