Changes
Jump to navigation
Jump to search
Followed table name change.
-- This is used by {{doi}} to create DOI links in the style used in citations.
function pz.doi(frame)
local pframe = frame:getParent()
local id = pframe.args.id or pframe.args[1] or ""
-- This is used by {{ISSN}} to create ISSN links in the style used in citations.
function pz.ISSN(frame)
local pframe = frame:getParent()
local Name = pframe.args[1] or ""
-- This is used by templates such as {{SfnRef}} to create the (encoded) anchor name for a Harvard cross-reference hyperlink.
function pz.SFNID(frame)
local pframe = frame:getParent()
return anchorid(pframe.args)
-- This is used by templates such as {{Harvard citation}} to create the Harvard cross-reference text.
function pz.Harvard(frame)
local pframe = frame:getParent()
return crossref(frame, pframe.args)
-- This is used by templates such as {{cite book}} to create the actual citation text.
function pz.citation(frame)
local pframe = frame:getParent()
return citation0(frame, pframe.args)
-- This is used by templates such as {{sfn}} to create the entire cross-reference.
function pz.sfn(frame)
local pframe = frame:getParent()
local content = crossref(frame, pframe.args)
-- This is used by template {{r}}.
function pz.r(frame)
local pframe = frame:getParent()
local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself
-- This is used by template {{reflabel}}.
function pz.reflabel(frame)
local pframe = frame:getParent()
local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself