FANDOM


local Source = {}
 
local HF = require('Module:HF')
 
function Source.Link( frame )
  local pagename = HF.trim( frame.args[1] )
  local action   = ""
 
  if type( frame.args[2] ) ~= nil then
    action = HF.trim( frame.args[2] )
  else
    action = nil
  end
 
  local output = '<div style="float: right; clear: right; margin: 1em;">[[File:Code-source.png|150px|link=http://dev.wikia.com/wiki/' .. pagename
 
  if type( action ) == "string" then
    output = output .. '?action=' .. action
  end
 
  output = output .. ']]</div>'
 
  return output
end
 
return Source

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.