menu menu_open
  • edit Edit

    description Contents

    • 1 Usage
      • 1.1 Template parameters
      • 1.2 Additional information
    • 2 Example
    • 3 ⧼Seealso⧽
    • 4 Localization
    • 5 Styles

    Navigation

    • Main page
    • All pages
    • Recent changes
    • Random page
    • Help

    Tools

    • What links here
    • Related changes
    • Special pages
    • Printable version
    • Permanent link
    • Page information

    Variants

The Lab Rats 2 - Reformulate Wiki

Template:Tmbox

14 article Pages
18 photo Files
2128 edit Edits
22 person Users
timeline photo_library leaderboard file_upload
palette
  • computer
code
  • computer
pages api security app_shortcut
more_vertical
  • timeline Recent changes
  • photo_library New Files
  • leaderboard Statistics
  • file_upload Upload file
  • palette CSS expand_more
    • computer
  • code JS expand_more
    • computer
  • pages All pages
  • apisandbox API sandbox
  • security System messages
  • app_shortcut Special pages
grid_view double_arrow forum file_download extension file_upload visibility book category delete_sweep
settings
contrast

  • brightness_auto hdr_auto
  • brightness_7 brightness_1
  • brightness_6 brightness_2
  • brightness_5 brightness_3
  • brightness_4
  • brightness_3 brightness_5
  • brightness_2 brightness_6
  • brightness_1 brightness_7
hdr_auto
  • brightness_auto
  • hdr_auto
  • light_mode
  • dark_mode

  • palette
  • tonality

  • brightness_auto hdr_auto
  • gradient gradient
  • thermostat thermostat
  • ac_unit storm
  • Duo
  • Solo
format_paint
  • emergency deployed_code
  • emergency opacity
  • square
  • contrast

  • deployed_code build square contrast
  • 1
  • 2
  • 3
  • 4
palette
  • brightness_auto
  • hdr_auto
  • light_mode
  • dark_mode

  • build
  • emergency invert_colors_off
  • contrast
  • format_paint
  • android
  • colorize
colorize
  • brightness_auto
  • hdr_auto
  • bedtime_off
  • bedtime

  • build
  • square
  • computer
  • invert_colors
  • brush
  • filter_b_and_w
  • contrast
  • smart_toy
  • 1
  • 2
  • 3
  • 4
brush
  • A
  • B
  • C
  • D
  • E
  • F
  • G
  • H
  • Welcome to the Lab Rats 2 - Reformulate Wiki.
  • Stay tuned here for news and changes...
  • This wiki is currently being built. Feel free to contribute to it and discuss any suggestions or changes.
  • Visit the Lab Rats 2 Discord to discuss any missing information!
  • Template
  • Discussion
  • Read
  • View source
  • View history

Template:Tmbox

From The Lab Rats 2 - Reformulate Wiki

Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:Tmbox/doc.
Lua logoUses Lua:
  • Module:Message box

This is the talk message box meta-template, mainly used by other templates to create consistent message boxes for discussion pages.

Contents

  • [+]1 Usage
    • 1.1 Template parameters
    • 1.2 Additional information
  • 2 Example
  • 3 ⧼Seealso⧽
  • 4 Localization
  • 5 Styles

Usage

{{Tmbox
 |type =
 |image =
 |imageright =
 |class =
 |style =
 |textstyle =
 |text =
 |small =
 |lang =
}}

Template parameters

ParameterDescriptionDefaultStatus
typetypeType of the box (speedy, delete, content, style, move, protection or notice), affects the colors and the default image of the boxnoticeoptional
image
smallimage
main imageThe image that appears on the left of the template (on the right in right-to-left context), using full image syntax (e.g. [[File:Some image.svg|40px]]), or the special value none to completely hide the image. The default image depends on the box type (see below).emptyoptional
imageright
smallimageright
secondary imageThe image that appears on the right of the template (on the left in right-to-left context), using full image syntax (e.g. [[File:Some image.svg|40px]]), by default nothing.emptyoptional
classCSS classSpace-separated list of additional CSS classes for the whole boxemptyoptional
styleCSS styleSemicolon-separated list of additional inline CSS rules for the whole boxemptyoptional
textstyletext CSS styleSemicolon-separated list of additional inline CSS rules for the text cellemptyoptional
text
smalltext
textThe message itselfemptyrequired
smallsmallSet to “yes” to make the box smaller and right-alignedemptyoptional
langlanguageLanguage of the box’s content, affects layout e.g. for right-to-left or East Asian languagesemptysuggested
Template data
 Parameter text is empty
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateData • Commons-specific information

This is the talk message box meta-template, mainly used by other templates to create consistent message boxes for discussion pages.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
CSS classclass

Space-separated list of additional CSS classes for the whole box

Lineoptional
main imageimage smallimage

The image that appears on the left of the template (on the right in right-to-left context), using full image syntax (e.g. [[File:Some image.svg|40px]]), or the special value “none” to completely hide the image. The default image depends on the box type (see on the template page).

Contentoptional
secondary imageimageright smallimageright

The image that appears on the right of the template (on the left in right-to-left context), using full image syntax (e.g. [[File:Some image.svg|40px]]), by default nothing.

Contentoptional
languagelang

Language of the box’s content, affects layout e.g. for right-to-left or East Asian languages

Linesuggested
smallsmall

Set to “yes” to make the box smaller and right-aligned

Lineoptional
CSS stylestyle

Semicolon-separated list of additional inline CSS rules for the whole box

Lineoptional
texttext smalltext

The message itself

Contentrequired
text CSS styletextstyle

Semicolon-separated list of additional inline CSS rules for the text cell

Lineoptional
typetype

Type of the box (speedy, delete, content, style, move, protection or notice), affects the colors and the default image of the box

Default
notice
Lineoptional

Additional information

The template is intended to be used in the following namespaces: all talk namespaces and noticeboards

The template is intended to be used by the following user groups: all users

Relies on:
{{Tmbox/core}}

Example

{{Tmbox|type = speedy
 |image = [[File:Example en.svg|30px]]
 |imageright = [[File:Example.svg|30px]]
 |style = border-style:dotted
 |textstyle = font-style:italic
 |text = This is the text
 |small = yes
}}

renders as:

This is the text

⧼Seealso⧽

  • {{Talkbox}}
  • For extensive documentation, see w:Template:Tmbox/doc.

Localization

This template is not intended to be localized.

Styles

Possible styles of the template with their default images:

notice (default)
speedy
delete
content
style
move
protection
Retrieved from "https://lr2wiki.porn-organizer.org/index.php?title=Template:Tmbox&oldid=886"
Categories:
  • Lua-based templates
  • Templates using TemplateData
  • Templates not requiring internationalization
  • Infobox templates
  • Message box templates
  • Privacy policy
  • About The Lab Rats 2 - Reformulate Wiki
  • Disclaimers
    • This page was last edited on 27 December 2021, at 04:33.
    • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
    • Creative Commons Attribution-ShareAlike
    • Powered by MediaWiki

    timeline Recent changes
    arrow_forward_ios

    No changes during the given period match these criteria.

    info About The Lab Rats 2 - Reformulate Wiki
    edit

    The wiki for the adult sandbox game Lab Rabs 2 - Reformulate

    search saved_search
    search saved_search Search
    apps
    • live_help
    • hive
    • insert_link
    • timeline
    • visibility
    • shuffle
    • build
    • help
    • file_download
    • attachment
    public_off Not logged inReady
    widgets
    public StandardReady
    hive MirahezeReady
    Qora QoreReady
    • Privacy policy
    • About The Lab Rats 2 - Reformulate Wiki
    • Disclaimers
    insert_link timeline visibility shuffle build help file_download attachment
    account_circle
    • refresh

    • Create account
    • Log in
    refresh