local p =
-- shortcut box code generatorfunction shortcut(sCuts, sType) local wikicode = '
' local wikilist = '
2 then wikilist = '
' .. wikilist .. '
' end wikicode = wikicode .. '
' wikicode = wikicode .. '' .. shortName if linkcount > 1 then wikicode = wikicode .. 's' end wikicode = wikicode .. ' |
---|
-- normal vertical list of shortcutsfunction p.vertical(frame) return shortcut(frame.args, 1)-- or ''end
-- horizontal list of shortcutsfunction p.horizontal(frame) return shortcut(frame.args, 2)-- or ''end
-- list of policy shortcutsfunction p.policy(frame) return shortcut(frame.args, 3)-- or ''end
-- left-aligned list of shortcutsfunction p.left(frame) return shortcut(frame.args, 4)-- or ''end
return p