Jump to content
Main menu
Main menu
move to sidebar
hide
Nabegasion
Fanhaluman
Fanhaluman komunida
Tinilaika siha gi halacha
Maseha håfa na påhina
Ayuda
Manespesiat na påhina
Aligao
Aligao
Appearance
Nina'i siha
Fa'tinas kuenta-hu
Log in
Ramientan petsonat
Nina'i siha
Fa'tinas kuenta-hu
Log in
Pages for logged out editors
learn more
Contributions
Kuentusiyi i IP este
Tumulaika
Module:Babel
Add languages
Module
Diskuti
English
Read
Edit source
View history
Kåhon ramienta
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
Håfa ha na'chetton guini
Umachetton na tinilaika siha
Na'kåtga hulu' i atkibu
Page information
Get shortened URL
Download QR code
Appearance
move to sidebar
hide
Adahi:
Ti ma log-in hao. Mausa iyo-mu IP address sempre para tumulaika i historian påhina este.
Anti-spam check. Do
not
fill this in!
local p = {} local getArgs function p.main(frame) if not getArgs then getArgs = require('Module:Arguments').getArgs end local args = getArgs(frame, {wrappers = 'Template:Babel'}) local ret = mw.html.create('table') :addClass('userboxes') :css( { float = args.align or 'right', ['margin-left'] = (args.left or '1') .. 'em', ['margin-bottom'] = (args.bottom or '0') .. 'em', width = (args.width or '248') .. 'px', clear = args.align or 'right', color = args.textcolor or '#000000', border = (bordercolor or '#99B3FF') .. ' solid ' .. (args.solid or 1)..'px' } ) if args.shadow and string.lower(args.shadow) == 'yes' then ret:css({ ['box-shadow'] = '0 2px 4px rgb(0,0,0,0.2)', ['-mox-box-shadow'] = '0 2px 4px rgb(0,0,0,0.2)', ['-webkit-box-shadow'] = '0 2px 4px rgb(0,0,0,0.2)' }) end ret:cssText( args['extra-css'] or '' ) local color = args.color or 'inherit' local row1 = ret:tag('tr') local row2 = ret:tag('tr') local row3 = ret:tag('tr') local body_cells = row2:tag('td') :css('vertical-align', 'middle !important') local userboxes -- Special message for when first argument is blank; otherwise treat it as normal if args[1] and args[1]:find('%S') then userboxes = frame:preprocess('{{User '..args[1]..'}}') else userboxes = args.noboxestext or "''You haven't set up any languages. Please see [[Template:Babel/doc]] for help.''" end body_cells:wikitext(userboxes) -- "remove" args[1] so it isn't looked at in the loop -- table.remove(args,1) doesn't produce desired result args[1] = '' -- Keep track of how many columns are in this table local col_span = 1 for _, v in ipairs( args ) do -- ! indicates a new cell should be created if v:find('%S') and v ~= '!' then body_cells:wikitext( frame:preprocess('{{User '..v..'}}') ) -- Recycling body_cells for <td> elseif v and v == '!' then col_span = col_span + 1 body_cells:done() body_cells = row2:tag('td') end end row1:tag('th') :css({ ['background-color'] = color, ['text-align'] = 'center' }) :attr('colspan',col_span) :wikitext( args.header or '[[Wikipedia:Babel]]' ) :done() row3:tag('td') :css({ ['background-color'] = color, ['text-align'] = 'center' }) :attr('colspan',col_span) :wikitext( args.footer or '[[:Category:Wikipedians by language|Search user languages]]' ) :done() if args['special-boxes'] then body_cells:wikitext(args['special-boxes']) end body_cells:done() return tostring(ret) end return p
Sumaria:
By saving changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Kansela
Ayudo tumulaika
(para u baba gi nuebu na bentåna)
Preview page with this template
Wikidata entities used in this page
Module:Babel
: Sitelink, Description: en
I plantiyas siha ni ma'usa gi påhina:
Template:Module other
(
tulaika
)
Template:Module rating
(
tulaika
)
Template:Ombox
(
tulaika
)
Module:Arguments
(
tulaika
)
Module:Babel/doc
(
tulaika
)
Module:Category handler
(
tulaika
)
Module:Category handler/blacklist
(
tulaika
)
Module:Category handler/config
(
tulaika
)
Module:Category handler/data
(
tulaika
)
Module:Category handler/shared
(
tulaika
)
Module:Effective protection level
(
tulaika
)
Module:Message box
(
tulaika
)
Module:Message box/configuration
(
tulaika
)
Module:Namespace detect/config
(
tulaika
)
Module:Namespace detect/data
(
tulaika
)
Module:No globals
(
tulaika
)
Module:Yesno
(
tulaika
)
Aligao
Aligao
Tumulaika
Module:Babel
Add languages
Add topic