Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Mbox/doc: Difference between revisions

Template page
+ type notice, sometimes used
LaDez
Line 1: Line 1:
<div style="float:right>{{Redirects| TS/cmbox| TS/gibox| TS/ombox| Ambox|Gibox|mbox|Ombox}}
You can share more easily.
<includeonly>{{Heavily used template|3=+}}</includeonly></div>
{{TemplateBox
|1        = text
|1label-en = text
|1label-ru = текст
|1d-en    = The text to be displayed.
|1d-ru    = Отображаемый текст.
|1type    = content
|1def      = <!-- default value for the parameter -->
|1stat    = required


|2        = type
○ Connect contacts
|2label-en = type
Find your friends in your contacts that use a Samsung account using their phone number or Samsung account ID on all devices logged in using the same Samsung account. Easily share content with your friends on Samsung account-based services and see your friends’ profile pictures.
|2label-ru = тип
|2d-en    = Changes the color depending on the message needed. Each has its own preset image, see [[#{{int:Apisandbox-examples}}]]
  |2d-td-en = Changes the color depending on the message needed. Each has its own preset image, see the template documentation.
|2d-ru    = Меняет цвет в зависимости от нужного сообщения. Каждое сообщение имеет своё предустановленное изображение, посмотрите [[#{{int:Apisandbox-examples}}]]
  |2d-td-ru = Меняет цвет в зависимости от нужного сообщения. Каждое сообщение имеет своё предустановленное изображение, посмотрите документацию шаблона.
|2type    = line
|2def      = notice
|2stat    = optional


|3        = image
※ Additional information on changing settings
|3label-en = left image
You can delete a connected contact using the delete contact menu in the group sharing settings menu of Samsung account.
|3label-ru = изображение слева
|3d-en    = Override the image (“none” for no image). Use format: <nowiki>[[File:Commons-emblem-urgent.svg|class=noviewer|48px]]</nowiki>. The default depends on the type.
|3d-ru    = Изменяет изображение ("none" чтобы не было изображения). Используйте формат: <code><nowiki>[[File:Commons-emblem-urgent.svg|class=noviewer|48px]]</nowiki></code>. Значение по умолчанию зависит от типа.
|3type    = content
|3def      =
|3stat    = optional


|4        = imageright
Your data will be handled and processed in accordance with our 
|4label-en = right image
|4label-ru = изображение справа
|4d-en    = Show an image on the right side, similar to the left one (but empty by default).
|4d-ru    = Показывает изображение с правой стороны, как и с левой (но является пустым по умолчанию).
|4type    = content
|4def      = <!-- default value for the parameter -->
|4stat    = optional-


|5        = textstyle
{|class="mw-content-ltr" border="0" cellspacing="0" cellpadding="0" width="100%" style="margin:.6em 0;background:none"
|5label-en = text style
|-valign="top"<!--
|5label-ru = стиль текста
|5d-en    = Override/augment default style of text cell (e.g. alignment — text-align:left; / text-align:right; / text-align:center;).
|5d-ru    = Изменяет/расширяет стиль текстового поля по умолчанию (например, выравнивание — <code>text-align:left;</code> / <code>text-align:right;</code> / <code>text-align:center;</code>)
|5type    = line
|5stat    = optional-


|6        = style
CONTRIBUTORS: if your test wiki is active, you are allowed to add it to the appropriate section; but only up to 10 projects should be featured per column at the same time.
|6label-en = box style
|6label-ru = стиль бокса
|6d-en    = Override/augment default style of the whole message box.
|6d-ru    = Изменяет/расширяет стиль по умолчанию всего бокса с уведомлением.
|6type    = line
|6stat    = optional-
|7        = class
|7label-en = box class
|7label-ru = класс бокса
|7d-en    = Augment default CSS classes of the whole message box. Particularly useful if your template uses TemplateStyles.
|7d-ru    = Расширяет CSS-классы по умолчанию всего бокса с уведомлением. Особенно полезно, если ваш шаблон использует TemplateStyles.
|7type    = line
|7stat    = optional-


|8        = lang
TRANSLATORS: please do not mark this page for translation, as it is a frequently updated page.
|8label-en = language
The messages used within it can be translated on Translatewiki: https://translatewiki.net/wiki/Special:Translate/ext-wikimediaincubator-onwiki
|8label-ru = язык
|8d-en    = Set the language of the text – it's important for right-to-left languages: their image is on the right and imageright is on the left. It helps assistive software (e.g. screen readers) even in left-to-right languages.
|8d-ru    = Устанавливает язык текста — это важно для языков с написанием справа налево: изображение у них располагается справа, а imageright — слева. Это помогает вспомогательному программному обеспечению (например, программам чтения с экрана) даже при использовании языков с написанием слева направо.
|8type    = line
|8stat    = optional-


|9        = width
-->
|9label-en = box width
|width="25%"| [[Incubator:Site creation log|{{int:wminc-custom-featuredwikis-approved}}]]
|9label-ru = ширина бокса
<!-- {|border="0" cellspacing="0" cellpadding="0" width="100%" style="margin:0;background:none;"
|9d-en    = Set the width of the box (avoid using it, 80% for example is too large as it leaves only 10% of the page content width for the left/right margins where there may be floating elements generally large of about 250px: if this occurs the Mbox will be displayed at a much lower position on the page, as if there was a "clear:both", so Mbox may not be immediately visible without scrolling down the page with a huge blank space in the middle and all the rest of the page after the Mbox will be also invisible without scrolling). Instead, use the "margin" parameter to set horizontal margins.
|-valign="top"
To avoid the centering, and/or the thick left border, modify e.g. “style=margin-left:0;border-left:2px solid #F4C430”
| -->
|9d-ru    = Устанавливает ширину бокса (избегайте его использования, например, 80% — это слишком много, так как остаётся только по 10 % от ширины содержимого страницы для левого и правого полей, где могут быть плавающие элементы размером около 250px: в этом случае Mbox будет отображаться гораздо ниже на странице, как если бы было использовано <code>"clear:both"</code>, поэтому Mbox может быть не сразу видим без долгой прокрутки страницы с огромным пустым пространством посередине, как и вся остальная часть страницы после Mbox будет также невидима без прокрутки). Вместо этого используйте параметр "margin" для установки горизонтальных полей.
* '''{{localised wiki name|Wp|bew|Betawi}}'''
Чтобы избежать выравнивания по центру и/или толстой левой границы, внесите изменение, например, <code>"style=margin-left:0;border-left:2px solid #F4C430"</code>.
* '''{{localised wiki name|Wp|kus|Kusaal}}'''
|9type    = line
|style="min-width:1em"|&nbsp;<!--larger separator-->
|9def      = auto
|width="50%"| {{int:wminc-custom-featuredwikis-active}}
|9stat    = optional-
{|border="0" cellspacing="0" cellpadding="0" width="100%" style="margin:0;background:none;"
|-valign="top"
|
{{int:Wikibase-sitelinks-wikipedia}}<!--please sort languages alphabetically per ISO code-->
* '''{{localised wiki name|Wp|bdr|West Coast Bajau}}'''
* '''{{localised wiki name|Wp|btm|Mandailing}}'''
* '''{{localised wiki name|Wp|dtp|Kadazandusun}}'''
* '''{{localised wiki name|Wp|igl|Igala}}'''
* '''{{localised wiki name|Wp|kge|Komering}}'''
* '''{{localised wiki name|Wp|knc|Central Kanuri}}'''
* '''{{localised wiki name|Wp|mos|Moore}}'''
* '''{{localised wiki name|Wp|nup|Nupe}}'''
* '''{{localised wiki name|Wp|kri|Krio}}'''
* '''{{localised wiki name|Wp|syl|Sylheti}}'''
|
{{int:Wikibase-sitelinks-wiktionary}}
* '''{{localised wiki name|Wt|kaa|Karakalpak}}'''
* '''{{localised wiki name|Wt|mad|Madurese}}'''
* '''{{localised wiki name|Wt|syl|Sylheti}}'''
{{int:Wikibase-sitelinks-wikibooks}}
* '''{{localised wiki name|Wb|syl|Sylheti}}'''
{{int:Wikibase-sitelinks-wikinews}}
* '''{{localised wiki name|Wn|shn|Shan}}'''
* '''{{localised wiki name|Wn|syl|Sylheti}}'''
{{int:Wikibase-sitelinks-wikiquote}}
* '''{{localised wiki name|Wq|syl|Sylheti}}'''
{{int:Wikibase-sitelinks-wikivoyage}}
* '''{{localised wiki name|Wy|id|Indonesian}}'''
* '''{{localised wiki name|Wy|syl|Sylheti}}'''
* '''{{localised wiki name|Wy|diq|Zazaki}}'''
|}


|10        = margin
|10label-en = horizontal margin
|10label-ru = поля по краям<!--Oh, I'm hoping that I'm not wrong with this translation!-->
|10d-en    = Set the horizontal margin of the box (by default it is "auto" if a legacy width is specified, otherwise it is "10%").
|10d-ru    = Установливает горизонтальное поле бокса (по умолчанию — "auto", если указана наследуемая ширина, в противном случае — "10%").
|10type    = line
|10def      = 10%
|10stat    = optional-


|name = Mbox
|style="min-width:1em"|&nbsp;<!--larger separator-->
|desc = This is used to create message boxes.
|width="25%"| {{int:wminc-custom-featuredwikis-permanent}}
|namespace = all
* '''{{localised wiki name|Wp|grc|Ancient Greek}}'''
|usergroup = all
|}<noinclude>
|placement =
|usage-notes =
|type =
|example =
|example-value =
|i18n-method = -
|i18n-desc =
|i18n-mediawiki-msg =
|i18n-subpage =
|seealso =
* {{t|NoteBox}}
|setscats =
|print = multi
|shorthand =
|relieson =
|mustbesubst =
|useTemplateData = 1
}}


== {{int:Note}} ==
[[Category:Incubator:(all)|Featured wikis]]
{{LangSwitch
</noinclude>
| en = The icon displayed in the message box is clickable and drives to Commons (to see its attributions), but only when the message box is displayed in a "Template:" page (including their talk pages). When the template is displayed in a page belonging to all other namespaces, no link is generated, only the icon is visible directly.
Check If You’ve Been CompromisedConnect with Google to scan your browsing history.
| ru = Иконка, отображаемая в окне сообщения, является кликабельной и ведёт на Викисклад (для просмотра её атрибуций), но только когда окно сообщения отображается на странице «Шаблон:» (включая его страницу обсуждения). Когда шаблон отображается на странице, принадлежащей всем остальным пространствам имен, ссылка не генерируется, отображается только иконка.
}}


== {{int:Apisandbox-examples}} ==
Connect with
=== All possible values for parameter "type" ===
{{mbox
|text=<code><nowiki>type=</nowiki></code>''(empty)'' → default ''(synonym to'' <code>notice</code>'')''
}}


{{mbox
Discounts & Savings
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''notice'''</span></code> → for informative messages only
|type=notice
}}


{{mbox
Click to plant trees with your purchase
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''message'''</span></code> → for informative messages only
|type=message
}}


{{mbox
Coupon Codes
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''query'''</span></code> → for minor issues
|type=query
}}


{{mbox
1 Available
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''style'''</span></code> → for cleanup ''(synonym to'' <code>query</code>, ''only different icon)''
|type=style
}}


{{mbox
If codes don’t pop up automatically at checkout, copy the codes below
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''issue'''</span></code> → for larger issues
|type=issue
}}


{{mbox
Apply all
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''content'''</span></code> → for content issues ''(synonym to'' <code>issue</code>'')''
|type=content
}}


{{mbox
GS24SERIES
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''serious'''</span></code> → for serious notices
|type=serious
}}
{{mbox
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''delete'''</span></code> → for deletion notices ''(synonym to'' <code>serious</code>'')''
|type=delete
}}


{{mbox
Get additional ₱2,500 discount at checkout on the Galaxy S24 Series.
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''stop'''</span></code> → for stop and other caution notices, such as frequent issues ''(synonym to'' <code>serious</code>, ''only different icon)''
|type=stop
}}


{{mbox
Copy
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''speedy'''</span></code> → for speedy deletion notices
|type=speedy
}}


{{mbox
i
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''warning'''</span></code> → for urgent notices ''(synonym to'' <code>speedy</code>'')''
|type=warning
}}


{{mbox
Click here to view the T&C’s
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''move'''</span></code> → for move requests
|type=move
}}


{{mbox
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''protection'''</span></code> → for protection notices ''(synonym to'' <code>message</code>, ''only different icon)''
|type=protection
}}


{{mbox
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''license'''</span></code> → for licenses
|type=license
}}


{{mbox
As seen on
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''legal'''</span></code> → for legal disclaimers such as {{tl|Trademark}}
|type=legal
}}


{{mbox
By signing in, you agree to data collection and use as described in our Terms Of Use and Privacy Policy
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''honor'''</span></code> → for honors such as featured image
|type=honor
}}


{{mbox
Information Resources
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''growth'''</span></code> → for other "good" notices
File:Tlh-wiki-logo.png - Wikimedia Commons
|type=growth
}}
 
{{mbox
|text=<code><nowiki>type=</nowiki><span style="font-size:110%">'''shit'''</span></code> → for fun ... or for maintenance affairs :) <!-- In loving memory of user:sarang [[Special:Diff/353375588]] Let's keep his humor alive! -->
|type=shit
}}
 
=== Examples with more parameters ===
{{mbox
|text=<code>'''<nowiki>type = </nowiki>'''</code>''(empty)'' and <code>'''<nowiki>style = </nowiki>'''background:#DFF</code>
|type=
|style=background:#DFF
}}
 
{{Mbox
|text = <code>'''<nowiki>type = </nowiki>'''query</code> and <code>'''<nowiki>image = </nowiki>'''<nowiki>[[File:OOjs UI icon alert-yellow.svg|alt=Exclamation mark|40px|class=noviewer]]</nowiki></code>
|type = query
|image = [[File:OOjs UI icon alert-yellow.svg|alt=Exclamation mark|40px|class=noviewer]]
}}
 
{{Mbox
|text = &#8198;<code>'''<nowiki>type = </nowiki>'''query</code> and <code>'''<nowiki>image = </nowiki>'''<nowiki>[[File:Lol exclam.png|alt=Exclamation mark|38px|class=noviewer]]</nowiki></code>
|type = query
|image = [[File:Lol exclam.png|alt=Exclamation mark|38px|class=noviewer]]
}}
 
{{Mbox
|text = <code>'''<nowiki>type = </nowiki>'''issue</code>, <code>'''<nowiki>image = </nowiki>'''<nowiki>[[File:Commons-emblem-hand-orange.svg|alt=Stop hand|45px|class=noviewer]]</nowiki></code> and <code>'''<nowiki>style = </nowiki>'''background:#f7f7f7;</code>
|type = issue
|style = background:#f7f7f7;
|image = [[File:Commons-emblem-hand-orange.svg|alt=Stop hand|45px|class=noviewer]]
}}
 
{{Mbox
|text=<code>'''<nowiki>type = </nowiki>'''message</code>, <code>'''<nowiki>image = </nowiki>'''<nowiki>[[File:Pictogram voting info.svg|20px|class=noviewer]]</nowiki></code> and <code>'''<nowiki>margin =</nowiki> '''0em</code>
|type=message
|image=[[File:Pictogram voting info.svg|20px]]
|margin=0em
|}}
 
{{Mbox
|text=<code>'''<nowiki>type = </nowiki>'''growth</code>, <code>'''<nowiki>image = </nowiki>'''none</code> and <code>'''<nowiki>style = </nowiki>'''margin:10px 0 10px 0</code> <small>(top right bottom left)</small>
|type=growth
|image=none
|style=margin:10px 0 10px 0
|}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
[[Category:Style formatting templates]]
[[Category:Message box templates]]
}}</includeonly>

Revision as of 03:08, 18 March 2024

You can share more easily.

○ Connect contacts Find your friends in your contacts that use a Samsung account using their phone number or Samsung account ID on all devices logged in using the same Samsung account. Easily share content with your friends on Samsung account-based services and see your friends’ profile pictures.

※ Additional information on changing settings You can delete a connected contact using the delete contact menu in the group sharing settings menu of Samsung account.

Your data will be handled and processed in accordance with our 

⧼wminc-custom-featuredwikis-approved⧽   ⧼wminc-custom-featuredwikis-active⧽

⧼Wikibase-sitelinks-wikipedia⧽

Wiktionary

Wikibooks

Wikinews

Wikiquote

Wikivoyage


  ⧼wminc-custom-featuredwikis-permanent⧽

Check If You’ve Been CompromisedConnect with Google to scan your browsing history.

Connect with

Discounts & Savings

Click to plant trees with your purchase

Coupon Codes

1 Available

If codes don’t pop up automatically at checkout, copy the codes below

Apply all

GS24SERIES

Get additional ₱2,500 discount at checkout on the Galaxy S24 Series.

Copy

i

Click here to view the T&C’s


As seen on

By signing in, you agree to data collection and use as described in our Terms Of Use and Privacy Policy

Information Resources File:Tlh-wiki-logo.png - Wikimedia Commons

Cookies help us deliver our services. By using our services, you agree to our use of cookies.