menu menu_open
  • edit Redigér

    description Indholdsfortegnelse

    Navigation

    • Forside
    • Skribentforside
    • Til brugere fra spademanns.org/Fandom
    • Forum
    • Uaktuelle begivenheder
    • Hjælp til wiki-skrivning

    Uploadværktøjer

    • Upload flere billeder/videoer
    • Upload billede/video/fil (standard)
    • Upload billeder/videoer/filer

    Fællesskaber

    • Spademanns Discord-server
    • Del på Facebook
    • Del på Twitter
    • Send til analfabet.dk
    • Ambassaden

    Værktøjer

    • Hvad henviser hertil
    • Beslægtede ændringer
    • Upload billede/fil
    • Specialsider
    • Udskriftsvenlig udgave
    • Permanent link
    • Sideinformation

    Varianter

Spademanns Leksikon

<span class="mw-page-title-namespace">Skabelon</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Mbox</span>

9944 article sider
11983 photo filer
459142 edit redigeringer
15 person brugere
timeline photo_library leaderboard file_upload
palette
  • computer
code
  • computer
pages api security app_shortcut
more_vertical
  • timeline Seneste ændringer
  • photo_library Nye filer
  • leaderboard Statistik
  • file_upload Upload billede/fil
  • palette CSS expand_more
    • computer
  • code JS expand_more
    • computer
  • pages Alle sider
  • apisandbox API-sandkassen
  • security Alle beskeder
  • app_shortcut Specialsider
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
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
  •  
  • Vi kan se din IP-adresse når du redigerer. Vi ved hvor du bor. Registrer dig nu og bliv en del af fællesskabet - vi bider sjældent.
  • Grundet serverskifte skal du oprette dig igen, hvis du før har været så tosset at skrive artikler for os. Læs mere her.
  • Besøg også vores Discord-server hvis du ellers gider og ikke allerede sover over alle disse beskeder!
  •  
  •  
  • Skabelon
  • Diskussion
  • Læs
  • Vis kilde
  • Se historik

<span class="mw-page-title-namespace">Skabelon</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Mbox</span>

Fra Spademanns Leksikon, den både frie og sande virkelighed

Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.

Indholdsfortegnelse

  • 1 Usage
  • 2 Demospace
  • 3 Parameters
    • 3.1 TemplateData
  • 4 Message boxes
  • 5 See also
⧼tpt-languages-legend/Mbox⧽
English
[[Category:Languages pages{{#translation:}}]]
<translate> Message box templates</translate>
  • {{ambox}}
  • {{cmbox}}
  • {{fmbox}}
  • {{imbox}}
  • {{nmbox}}
  • {{ombox}}
  • {{tmbox}}
This template uses Lua:
  • Module:Message box

Lua-fejl: callParserFunction: function "#translation" was not found.

WarningThis template is used on approximately 15 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.

This is the {{mbox}} or multi namespace message box meta-template.

This meta-template is used to build message box templates that are used on several types of pages and thus need to change style depending on what page they are used on. Based on page type detected it uses one of {{ambox}}, {{tmbox}}, {{imbox}}, {{cmbox}} and {{ombox}}.

Note that this template should only be used for message boxes that really need to adapt their style. Most message boxes do not need this and should use one of {{ambox}}, {{tmbox}}, {{imbox}}, {{cmbox}} or {{ombox}} directly. Using those templates directly means that your template will look the same on its template page and at any other place you show it, which makes it clear on what kind of pages it is supposed to be used. It also gives you access to any extra features those templates offer, and it saves some server load.

Usage

This template takes the same parameters as {{ambox}} and {{imbox}} etc. See full documentation there.

Some of the boxes this template calls only handles images of max 52px width, thus that limitation also applies to this template or you will get ugly padding problems.

Demospace

This template optionally takes the "demospace" parameter to specify a namespace for testing and demonstration purposes. If you want to lock your message box to one style then instead use one of the other mboxes directly.

Namespace "Image:" was renamed to "File:" on 11 December 2008. This template was updated to understand both names well before that, thus it still works fine. For backwards compatibility it still understands "demospace = image" which means the same thing as "demospace = file". But using "demospace = image" is now deprecated.

Namespace "Book:" was added to the English Wikipedia on 28 December 2009. This template uses the {{ombox}} style on "Book:" pages or when "demospace=book". And it uses the {{tmbox}} style on "Book talk:" pages or when "demospace=talk". Note that "demospace=talk" means any talk space, there is no "demospace=book talk".

Parameters

List of all parameters:

{{mbox
| demospace = {{{demospace|}}} / main / talk / file / category / other
| type  = speedy / delete / content / style / notice / move / protection
| image = none / [[File:Some image.svg|40px]]
| imageright = [[File:Some image.svg|40px]]
| style = CSS values
| textstyle  = CSS values
| text  = The message body text.
| small = {{{small|}}} / left / yes
| smallimage = none / [[Image:Some image.svg|30px]]
| smallimageright = none / [[Image:Some image.svg|30px]]
| smalltext  = A shorter message body text.
}}

Note: The small parameters only have effect when the template is on an article, talk page or an "other" page. For documentation on the small parameters see {{ambox}}, {{tmbox}} and {{ombox}}. Using the small parameters when they are not valid has no effect, but also does no harm.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Mbox

This is the {{mbox}} or “multi namespace message box” meta-template.

[Rediger TemplateData]

Skabelonparametre

Denne skabelon foretrækker blok-formatering af parametre (en parameter per linje).

ParameterBeskrivelseTypeStatus
Demo Namespacedemospace

ingen beskrivelse

Foreslåede værdier
main talk file category other
Strengvalgfri
Typetype

ingen beskrivelse

Foreslåede værdier
speedy delete content style notice move protection
Standardværdi
notice
Strengforeslået
Image (left)image

ingen beskrivelse

Foreslåede værdier
none
Standardværdi
Depends on the “type” parameter.
Indholdforeslået
Image (right)imageright

ingen beskrivelse

Indholdvalgfri
CSS Stylestyle

ingen beskrivelse

Strengvalgfri
Text CSS Styletextstyle

ingen beskrivelse

Strengvalgfri
Texttext

ingen beskrivelse

Indholdforeslået
Small?small

ingen beskrivelse

Foreslåede værdier
{{{small|}}} left yes 1
Standardværdi
0
Booleskvalgfri
Small Image (left)smallimage

ingen beskrivelse

Foreslåede værdier
none
Standardværdi
{{{image}}}
Indholdvalgfri
Small Image (right)smallimageright

ingen beskrivelse

Foreslåede værdier
none
Standardværdi
{{{imageright}}}
Indholdvalgfri
Small Textsmalltext

ingen beskrivelse

Standardværdi
{{{text}}}
Indholdvalgfri

Message boxes

Template Description
{{ambox}} Article message box, identifies problems or issues with the article
{{cmbox}} Category message box, {{ambox}} for categories
{{imbox}} Image message box, {{ambox}} for file (image) pages
{{ombox}} Other pages message box, {{ambox}} for pages of the types User, Wikipedia, MediaWiki, Template, Help, Portal and any new future namespaces
{{tmbox}} Talk page message box, {{ambox}} for talk pages
The following templates are not called by Mbox
{{fmbox}} used in system messages

See also

  • w:Wikipedia:Classes in Ambox – Describes how to use the ambox CSS classes directly in wikitables and HTML tables.
  • w:Wikipedia:Manual of Style/Article message boxes – The style guideline for creating article message boxes.
  • w:Wikipedia talk:Manual of Style/Article message boxes – For discussion about these matters.

[[Category:Mbox templates{{#translation:}}]]


Installation Instructions
Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Skabelon:Mbox]] to properly attribute this template's editors.
There is no additional installation instructions for this template. If there is any, you may create it at Skabelon:Mbox/install.
Hentet fra "https://www.spademanns.dk/index.php?title=Skabelon:Mbox&oldid=458307"
Kategorier:
  • Sider med skriptfejl
  • Languages pages without translations
  • Languages pages
  • Lua-based templates
  • Templates using TemplateData
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
Flere oplysninger
  • Privatlivspolitik
  • Om Spademanns Leksikon
  • Forbehold
  • Bryder vi din copyright?
    • Denne side blev senest ændret 8. juli 2022 kl. 15:54 af Spademanns Leksikon-bruger CooperDK.
    • Indholdet er udgivet under Creative Commons Attribution-ShareAlike medmindre andet er angivet.
    • Creative Commons Attribution-ShareAlike
    • Powered by MediaWiki

    timeline Seneste ændringer
    arrow_forward_ios

    <div class="mw-changeslist-empty">Ingen ændringer i den angivne periode matcher disse kriterier.</div>

    info Om Spademanns Leksikon
    edit

    <p>Spademanns er <a href="/wiki/Sted" title="Sted">stedet</a>, hvis <a href="/wiki/Du" class="mw-redirect" title="Du">du</a> har behov for at gøre dig selv <a href="/wiki/Dum" class="mw-redirect" title="Dum">dummere</a> (af og til på andres be<a href="/wiki/Kost" title="Kost">kostning</a>)! Hvem ved, måske er du i virkeligheden narkose<a href="/wiki/L%C3%A6ge" title="Læge">læge</a> eller <a href="/wiki/Astronaut" title="Astronaut">astronaut</a> eller <a href="/wiki/Holger_Bech_Nielsen" title="Holger Bech Nielsen">Holger Bech Nielsen</a>, men du har <a href="/wiki/Liderlig" title="Liderlig">lyst</a> til at lære at grave <a href="/wiki/Hul" title="Hul">huller</a> på <a href="/wiki/Kontanthj%C3%A6lp" title="Kontanthjælp">kontanthjælp</a>? Eller du kunne måske tænke dig at vide, hvordan <a href="/wiki/Christiane_F." title="Christiane F.">Christiane F.</a> <a href="/wiki/Bar" class="mw-redirect" title="Bar">bar</a> sig ad med at tjene <a href="/wiki/Penge" title="Penge">penge</a> som ung <a href="/wiki/Teenager" title="Teenager">teenager</a> i <a href="/wiki/Tyskland" title="Tyskland">Tyskland</a>? </p><p>DET kan Spademanns hjælpe dig med! God fornøjelse! </p>
    search saved_search
    search saved_search Søg
    apps
    • live_help
    • hive
    • insert_link
    • timeline
    • visibility
    • shuffle
    • build
    • help
    • file_download
    • attachment
    public_off Ikke logget påReady
    widgets
    public StandardReady
    hive MirahezeReady
    Qora QoreReady
    • Privatlivspolitik
    • Om Spademanns Leksikon
    • Forbehold
    • Bryder vi din copyright?
    insert_link timeline visibility shuffle build help file_download attachment
    account_circle
    • refresh

    • Opret konto
    • Log på
    refresh
    MediaWiki spam blocked by CleanTalk.