Template:Ref/doc

Sometimes, the basic tags do not do everything an editor may desire. This template is an alternate method. The raw tags are still preferred when possible so the page doesn't have to parse a new template call.

Stolen Borrowed from Wikipedia's "refn" template. The decision to #if on name but not group is apparently because a blank name is not okay but a blank group is the default, or something.