Module:T-LibraryInterview: Difference between revisions
// via Wikitext Extension for VSCode |
// via Wikitext Extension for VSCode |
||
| Line 111: | Line 111: | ||
-- Add preprocessor for semantic property extraction | -- Add preprocessor for semantic property extraction | ||
Blueprint.addPreprocessor(template, function(template, args) | Blueprint.addPreprocessor(template, function(template, args) | ||
-- | -- Store the plain text version for semantic properties | ||
if args.Interviewee and args.Interviewee ~= "" then | if args.Interviewee and args.Interviewee ~= "" then | ||
args._semanticInterviewee = | args._semanticInterviewee = args.Interviewee | ||
end | end | ||
if args.Interviewer and args.Interviewer ~= "" then | if args.Interviewer and args.Interviewer ~= "" then | ||
args._semanticInterviewer = | args._semanticInterviewer = args.Interviewer | ||
end | end | ||