模块:Citation/CS1:修订间差异
imported>Liangent 无编辑摘要 |
imported>Liangent 无编辑摘要 |
||
| 第1,182行: | 第1,182行: | ||
local PPPrefix = A['PPPrefix'] | local PPPrefix = A['PPPrefix'] | ||
if is_set( A['NoPP'] ) then PPPrefix = "" PPrefix = "" end | if is_set( A['NoPP'] ) then PPPrefix = "" PPrefix = "" end | ||
-- LOCAL | |||
local PSuffix = A['PSuffix'] | |||
local PPSuffix = A['PPSuffix'] | |||
if ( nil ~= A['NoPP'] ) then PPSuffix = "" PSuffix = "" end | |||
-- END LOCAL | |||
-- Pick out the relevant fields from the arguments. Different citation templates | -- Pick out the relevant fields from the arguments. Different citation templates | ||
| 第1,478行: | 第1,484行: | ||
local Month = A['Month']; | local Month = A['Month']; | ||
if is_set(Month) then | if is_set(Month) then | ||
Date = | Date = Date .. '.' .. Month; -- LOCAL | ||
local Day = A['Day'] | local Day = A['Day'] | ||
if is_set(Day) then Date = | if is_set(Day) then Date = Date .. '.' .. Day end -- LOCAL | ||
end | end | ||
elseif is_set(PublicationDate) then -- use PublicationDate when |date= and |year= are not set | elseif is_set(PublicationDate) then -- use PublicationDate when |date= and |year= are not set | ||