Module:AbilityTable: Difference between revisionsGive feedback
add heavymelee to extra_columns with Base Damage and Heavy Melee Scaling columns (with help from vergir-bot LLM) |
refactor disclaimer: show list name, separate links for editing contents and notes (with help from vergir-bot LLM) |
||
| Line 199: | Line 199: | ||
end) | end) | ||
local | local lists_url = mw.uri.fullUrl("Module:AbilityTable/Lists", { action = "edit" }) | ||
local notes_url = mw.uri.fullUrl("Module:AbilityTable/Notes", { action = "edit" }) | |||
local disclaimer = frame:preprocess( | local disclaimer = frame:preprocess( | ||
'<div class="ability-table-disclaimer">' | '<div class="ability-table-disclaimer">' | ||
.. | .. 'This is a dynamic list ' | ||
.. | .. '<span class="ability-table-list-name">' .. stat .. '</span>. ' | ||
.. | .. '[' .. tostring(lists_url) .. ' Edit contents]' | ||
.. | .. ' · ' | ||
.. '[' .. tostring(notes_url) .. ' Edit notes]' | |||
.. '</div>' | |||
) | ) | ||