Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Domino Unicode
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
local getArgs = require('Module:Arguments').getArgs local p = {} local hStart = tonumber('0x1f030'); local vStart = hStart + 50; local function output(direction, num1, num2) direction = string.lower(direction); num1 = tonumber(num1); num2 = tonumber(num2); local start = hStart; if direction == 'h' or direction == 'horizontal' then start = hStart; elseif direction == 'v' or direction == 'vertical' then start = vStart; else return ''; end local charNum = start; if num1 == nil and num2 == nil then charNum = start; else if num2 == nil then num2 = num1; end charNum = start + 1 + (num1 * 7 + num2); end return string.format("%X", charNum); end function p.output(frame) local args = getArgs(frame); return output(args[1], args[2], args[3]); end return p;
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Module:Arguments
(
edit
)
Module:Domino Unicode
(
edit
)
Module:Domino Unicode/doc
(
edit
)