Module:Similar Vars: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

12 October 2024

  • curprev 00:2700:27, 12 October 2024Alex talk contribs 1,235 bytes +1,235 Created page with "local navbox = require('Module:Navbox') local VariablesLua = mw.ext.VariablesLua local p = {} -- Create a link the the varb/varp page with the text 'NAME(index)' local function generatePagelink(t) if t['Variable index'] and t['Variable name'] then return '*[['..t[1]..'|'..t['Variable name']..'('..t['Variable index']..')]]' end -- If missing any of the required SMW data, just return the pagelink return '*[['..t[1]..']]' end local function getRelatedVars(content)..."