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.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 1: |
Line 1: |
| See usage on [[user:imahero/test]].<noinclude> | | See usage on [[user:imahero/test]]. |
| | |
| ==Embed Code Example==
| |
| Example of embedding code on a page (this code does nothing and is just for show):
| |
| <syntaxhighlight lang="lua" line='line'>
| |
| local p = {} --p stands for package
| |
| | |
| function p.test( frame )
| |
| return frame
| |
| end
| |
| | |
| langObject = mw.getLanguage( 'simple' )
| |
| | |
| function p.language( frame )
| |
| return langObject:getCode()
| |
| end
| |
| | |
| function p.arrow( frame )
| |
| return langObject:getArrow( frame.args.direction )
| |
| end
| |
| | |
| return p
| |
| </syntaxhighlight></noinclude>
| |