[ewiki] Custom link formats

I'm working on a wiki that will be used in the browser sidebar as a 
cross-platform, multi-computer bookmark & notekeeping tool. To make this 
work, I need to add two custom link formats. 

First, I need to be able to specify that certain links will include a 
'target="_SELF"' attribute. My plan is to use a syntax such as [!WikiWord] 
for these links (these will usually be wikiwords, but may occasionally be 
external links). The second format would tell the wiki to retrieve the site 
icon for external links and display it. 

I can code these, but I'm somewhat baffled as to where to begin. Are there any 
plugins that do anything similar that I can use as an example of how to do 
this? If not, can someone give me any pointers?

Thanks!

Other related posts: