Home
Random
Log in
Settings
About ESU Wiki
Disclaimers
Search
Editing
Module:Affiliation
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 p = {} local affiliationData = mw.loadData('Module:Affiliation/data') local noArgMsg = '<span style="color: #ff0000">No argument provided.</span>' local invalidArgMsg = '<span style="color: #ff0000">Invalid argument provided.</span>' p.affiliation = function(frame) local args = frame:getParent().args if args[1] == nil then return noArgMsg .. '[[Category:Pages with script errors]]' elseif affiliationData[args[1]] == nil then return invalidArgMsg .. '[[Category:Pages with script errors]]' end return affiliationData[args[1]] end return p
Summary:
Please note that all contributions to ESU Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
ESU Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, 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.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Module:Affiliation/doc
(
edit
)