Module:AampIndexedParam: Difference between revisions

no edit summary
imported>Leoetlino
No edit summary
imported>Leoetlino
No edit summary
 
Line 7: Line 7:
   local start_idx = tonumber(frame.args.start_idx) or 0
   local start_idx = tonumber(frame.args.start_idx) or 0
    
    
   return "e.g.:<br>"
   return string.format("<b>Note: Indexes start at <i>%u</i></b>", start_idx) .. "<br>Examples:<br>"
     .."<code>" .. string.format(key, start_idx) .. "</code><br>"
     .."<code>" .. string.format(key, start_idx) .. "</code><br>"
     .."<code>" .. string.format(key, start_idx + 1) .. "</code><br><br>"
     .."<code>" .. string.format(key, start_idx + 1) .. "</code>"
    .. string.format("Note: Indexes start at %u", start_idx)
end
end


return pack
return pack
Anonymous user