Module:CRTModel: Difference between revisions
Updated chassis link to prefill manufacturer and chassis_family when creating new chassis pages (via update-page on MediaWiki MCP Server) Tag: Reverted |
Reverted chassis link to use standard #formredlink without prefill (via update-page on MediaWiki MCP Server) Tag: Manual revert |
||
| Line 55: | Line 55: | ||
else | else | ||
fullDiv:wikitext(valueHtmlOrWikitext) | fullDiv:wikitext(valueHtmlOrWikitext) | ||
end | end | ||
end | end | ||
| Line 245: | Line 222: | ||
if chassis then | if chassis then | ||
local chassisWikitext = string.format( | |||
local | '{{#formredlink: target=%s |form=Chassis |existing page link text=%s }}', | ||
chassis, chassis | |||
) | |||
chassisDisplay = frame:preprocess(chassisWikitext) | |||
chassisDisplay = | |||
end | end | ||