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:Userbox/doc
Add languages
Module
Diskuti
Chamoru
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!
{{high-risk|190,000+}} This module does the processing for three userbox templates, {{tl|userbox}}, {{tl|userbox-2}} and {{tl|userbox-r}}. {| class="wikitable" |- ! Template ! Description ! Examples |- | {{tl|userbox}} | Makes userboxes with an id on the left-hand side, or with no id. | {{userbox|id=id}} {{clear}} {{userbox}} |- | {{tl|userbox-2}} | Makes userboxes with an id on both the left- and right-hand sides. | {{userbox-2}} |- | {{tl|userbox-r}} | Makes userboxes with an id on the right-hand side. | {{userbox-r}} |} To use any of these templates from a wiki page, please see the individual template pages for documentation. To generate userboxes directly from Lua, read on. == Generating userboxes from Lua == To generate a userbox directly from Lua, first load the module. <syntaxhighlight lang="lua"> local userbox = require('Module:Userbox') </syntaxhighlight> You can then run any of the three templates with the code: <syntaxhighlight lang="lua"> userbox.main(functionName, args) </syntaxhighlight> For {{tl|userbox}} use the function name "<code>_userbox</code>"; for {{tl|userbox-2}} use the function name "<code>_userbox-2</code>"; and for {{tl|userbox-r}} use the function name "<code>_userbox-r</code>". The <code>args</code> parameter is a table of arguments to pass to the different userbox functions. To see a list of valid arguments, please consult the individual template pages.
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
I plantiyas siha ni ma'usa gi påhina:
Template:Clear
(
tulaika
)
Template:High-risk
(
tulaika
)
Template:Ombox
(
tulaika
)
Template:Tl
(
tulaika
)
Template:Userbox
(
tulaika
)
Template:Userbox-2
(
tulaika
)
Template:Userbox-r
(
tulaika
)
Module:Arguments
(
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:Color contrast
(
tulaika
)
Module:Color contrast/colors
(
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:Userbox
(
tulaika
)
Module:Yesno
(
tulaika
)
Aligao
Aligao
Tumulaika
Module:Userbox/doc
Add languages
Add topic