Module:RfP header

From Test Wiki
Revision as of 10:31, 16 May 2022 by Q8j (talk | contribs) (Created page with "local p = {} function p.Main( frame ) local m_body = '' if mw.allToString( mw.title.getCurrentTitle() ) == 'Test Wiki:Request permissions' then m_body = m_body .. '{| style="width: 100%; border: 3px double #662; padding: .3em; background-color: darkgreen; color: #EEE"\n| colspan="3" style="background-color: #888" align="center" | ' .. "'''Request permissions'''" .. '\n|-\n|<center>You can request administrator or other permissions below. You must already be an admini...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:RfP header/doc

local p = {}
function p.Main( frame )
	local m_body = ''
	if mw.allToString( mw.title.getCurrentTitle() ) == 'Test Wiki:Request permissions' then
		m_body = m_body .. '{| style="width: 100%; border: 3px double #662; padding: .3em; background-color: darkgreen; color: #EEE"\n| colspan="3" style="background-color: #888" align="center" | ' .. "'''Request permissions'''" .. '\n|-\n|<center>You can request administrator or other permissions below. You must already be an administrator to be eligible for Bureaucrat. Interface administrator rights may only be granted by the stewards and are only given to highly trusted users. Rights may be removed after 3 months of [[Test Wiki:Inactivity policy|<span style="color:#FFFFFF; text-decoration:underline">inactivity</span>]].<br/>\nOther Permissions: Bot,  translate administrator, interwiki admin,  autopatrol,  <br>\nFor Steward or System Administrator, a vote should take place on the [[Test_Wiki:Community_portal|<span style="color:#FFFFFF; text-decoration:underline">community portal</span>]].<br/>\nBureaucrats, you can use the [[Special:Preferences#mw-prefsection-gadgets|<span style="color:#FFFFFF; text-decoration:underline">userRightsManagerTW gadget</span>]] to easily handle requests.\n</center>'
		
		
	else
		
	end
end
return p