Forum:Template for "ref" tags

I was wondering if anyone managed to make a template for the extension tag. Simply making a template with the optional fiels inside a tag simply doesn't work, as seen here.

Before you ask: The reason I want to make a template, rather than putting the ref tag directly in the article is because it's not editable in visual mode (let's face it, only a very small percentage of wikia contributors are wikigeeks savvy enough to face walls of wikitext), and even then editing them in source mode leads to confusion (it breaks the flow of normal text.) — mfaizsyahmi (talk) 08:32, June 3, 2012 (UTC)


 * You need to use the following magic word in the template instead of normal ref tags.


 * Where 'content' is the normal text you put between the ref tags. The optional attributes allow you to add any parameters within the tag itself.


 * e.g.
 * is equivalent to
 * This renders as a normal ref tag like this.


 * For your template, the basic code is

Example References


 * Thanks. I pretty much figured it out a few seconds after I clicked the publish button. My internet froze immediately after so I couldn't get back to this page soon enough. Thanks again! :D —mfaizsyahmi (talk) 10:19, June 3, 2012 (UTC)