「モジュール:Wd」の版間の差分
ナビゲーションに移動
検索に移動
en:Module:Wd 2017年9月30日 (土) 09:42(UTC)より
template>K-iczn (en:Module:Wd 2017年9月20日 (水) 19:46(UTC)より) |
template>K-iczn (en:Module:Wd 2017年9月30日 (土) 09:42(UTC)より) |
||
49行目: | 49行目: | ||
mdy = "mdy", | mdy = "mdy", | ||
single = "single", | single = "single", | ||
sourced = "sourced" | sourced = "sourced" | ||
} | } | ||
1,781行目: | 1,781行目: | ||
citeParams[i18n['cite']['publisher']] = self:getReferenceDetail(statement.snaks, p.aliasesP.publisher, false, self.linked) -- link = true/false | citeParams[i18n['cite']['publisher']] = self:getReferenceDetail(statement.snaks, p.aliasesP.publisher, false, self.linked) -- link = true/false | ||
citeParams[i18n['cite']['quote']] = self:getReferenceDetail(statement.snaks, p.aliasesP.quote, false, false, true) -- anyLang = true | citeParams[i18n['cite']['quote']] = self:getReferenceDetail(statement.snaks, p.aliasesP.quote, false, false, true) -- anyLang = true | ||
citeParams[i18n['cite']['pages']] = self:getReferenceDetail(statement.snaks, p.aliasesP.pages) | |||
for i, v in ipairs(authors) do | for i, v in ipairs(authors) do | ||
1,817行目: | 1,818行目: | ||
-- (2) if "stated in" is present without any parameters not belonging to a "stated in"-source, then use the template that expands the stated-in item | -- (2) if "stated in" is present without any parameters not belonging to a "stated in"-source, then use the template that expands the stated-in item | ||
if statedInRaw and not hasExtraParams and template then | if statedInRaw and not hasExtraParams and template then | ||
citeParams[i18n['cite']['pages']] | citeParams[i18n['cite']['pages-q']] = params[p.aliasesP.pages] | ||
citeParams[i18n['cite']['chapter']] = params[p.aliasesP.chapter] | citeParams[i18n['cite']['chapter']] = params[p.aliasesP.chapter] | ||
citeParams[i18n['cite']['date-q']] = params[p.aliasesP.publicationDate] | citeParams[i18n['cite']['date-q']] = params[p.aliasesP.publicationDate] |