Module:File link/doc: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content added Content deleted
(start the documentation)
 
m (→‎Usage: fix language)
Line 13: Line 13:
Then, create the object using the <code>fileLink.new</code> function. The first parameter is the filename, and is optional.
Then, create the object using the <code>fileLink.new</code> function. The first parameter is the filename, and is optional.


<source lang="lua>
<source lang="lua">
local obj = fileLink.new('Example.png')
local obj = fileLink.new('Example.png')
</source>
</source>