-
Forum to wiki link
I made my first simple little mod. It's BB code to wrap a word that may be in your wiki... when you post in the forum.
http://tvlampforum.com/content/wikimod.jpg
or see in this post http://tvlampforum.com/sarsaparilla/...a.html#post552
Create a new custom BB code
I called mine: TLN Wiki Reference
BB Code Tag Name: lampwiki
Replacement
Code:
<span style="background-color: White; border: 1px dashed Purple; padding: 3px; text-decoration: none;"><img src="images/misc/wikiicon.png" alt="TNL Wiki Reference" align="absmiddle" border="0"><a href="http://tvlampforum.com/showwiki.php?lampwiki={param}" target="new">{param}</a></span>
Use your own wiki image and links
Example: [lampwiki]kron[/lampwiki]
Description: Enter a Keyword
Button Image: mine is here: images/misc/wikiicon.png
Remove Tag if Empty: Yes
-
Here are some questions maybe to help you describe your mod some more. Is this intended as a replacement for wiki links throughout the forum? What alternatives or features does this provide that are not already available with standard links?
-
Yes more descriptive is better.
Well, it is not intended as a replacement for a site internal wiki link, just a supplement to it, to spice it up. Since the stock wiki link automatically shows up, but does not have the look that this bbcode tag provides.
A wiki work and show as a somewhat drab link. My bbcode will just enhance/spice it up.
One could change the stock wiki bbcode? Instead of adding this one.
The link code can be changed (height, width, background color, border, text size, icon etc...)
Note my editor also has this wiki code http://tvlampforum.com/images/misc/wikipedia.gifwhich is to wikipedia.com