Module:TemplateHelpers: Difference between revisions
// via Wikitext Extension for VSCode |
// via Wikitext Extension for VSCode |
||
| Line 405: | Line 405: | ||
-- If achievement support is needed, use AchievementSystem | -- If achievement support is needed, use AchievementSystem | ||
if options.achievementSupport then | if options.achievementSupport then | ||
return require('Module:AchievementSystem').renderTitleBlockWithAchievement( | |||
args, titleClass, titleText, | |||
options.achievementClass or "", | |||
options.achievementId or "", | |||
options.achievementName or "" | |||
) | ) | ||
else | else | ||
-- Otherwise use the basic title block from TemplateStructure | -- Otherwise use the basic title block from TemplateStructure | ||
return require('Module:TemplateStructure').renderTitleBlock(args, titleClass, titleText) | |||
end | end | ||
end | end | ||