Module:AbilitySection: Difference between revisionsGive feedback
Add AbilitySection module |
m rename notes_col => details_col for better readabiliy |
||
| Line 74: | Line 74: | ||
local tabber = build_tabber(wikitext_map) | local tabber = build_tabber(wikitext_map) | ||
local | local details_col = '' | ||
if tabber ~= '' then | if tabber ~= '' then | ||
details_col = '<div class="ability-section-details">' .. tabber .. '</div>' | |||
end | end | ||
return '<div class="ability-section">' | return '<div class="ability-section">' | ||
.. '<div class="ability-section-card">' .. card .. '</div>' | .. '<div class="ability-section-card">' .. card .. '</div>' | ||
.. | .. details_col | ||
.. '</div>' | .. '</div>' | ||
end | end | ||
return p | return p | ||