Module:ElementAchievementHeader: Difference between revisions
// via Wikitext Extension for VSCode |
// via Wikitext Extension for VSCode |
||
| Line 35: | Line 35: | ||
-- Use getTitleAchievement function that specifically checks for type="title" | -- Use getTitleAchievement function that specifically checks for type="title" | ||
-- | -- IMPORTANT: The function returns achievementId, displayName, achievementId | ||
local | -- We need to directly use these return values correctly | ||
local achievementId, displayName, achievementId2 = Achievements.getTitleAchievement(pageId, frame) | |||
-- Include debug information | -- Include debug information | ||