2,733
edits
Red Leader (talk | contribs) (Fix createOnlyRef()) |
|||
| Line 778: | Line 778: | ||
function createOnlyRef(data) { | function createOnlyRef(data) { | ||
var wikiText = '<ref>{{cite web\n' + | |||
var wikiText = | '|url = ' + data.url + '\n' + | ||
' | '|title = ' + nowiki(data.title) + '\n' + | ||
' | '|author = ' + nowiki(data.author) + '\n' + | ||
' | '|date = ' + datef(data.date) + '\n' + | ||
' | '}}</ref>'; | ||
' | |||
return wikiText; | return wikiText; | ||
} | } | ||
// Output the text. | // Output the text. | ||