Open main menu

Changes

Module:Citation

5 bytes added, 14:23, 8 November 2012
use HTML for bold and italic instead of wikicode
if ( Language ~= nil ) then Language = " (in " .. Language .. ")" else Language = "" end
if ( Edition ~= nil ) then Edition = " (" .. Edition .. " edition)" else Edition = "" end
if ( Volume ~= nil ) then Volume = " '''<b>" .. Volume .. "'''</b>" else Volume = "" end
if ( Issue ~= nil ) then Issue = " (" .. Issue .. ")" else Issue = "" end
if ( Series ~= nil ) then Series = " " .. Series .. "." else Series = "" end
if ( nil ~= LaySummary ) then
if ( LayDate ~= nil ) then LayDate = " (" .. LayDate .. ")" else LayDate = "" end
if ( LaySource ~= nil ) then LaySource = " &ndash; ''<i>" .. LaySource .. "''</i>" else LaySource = "" end
Lay = " [" .. LaySummary .. " lay summary]" .. LaySource .. LayDate
else
if arrow ~= "" then
local sup_arrow = z.mw.text.tag({name="sup",contents=arrow,params={}})
contents = "[[#ref_" .. id .. arrow .. "|'''<b>" .. sup_arrow .. "'''</b>]]" .. postscript
if "none" == arrow then arrow = "^" end -- Change this AFTER using it in the ID parameter and the contents.
else
Anonymous user