No edit summary
(Redirect to new and better Template:Notice)
Tag: New redirect
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table style="background-color: {{{background-color|{{{background|}}}}}}; border-color: {{{border-color|{{{border|}}}}}}; {{{style|}}}" class="noprint plainlinks mbox {{#switch:{{{type|}}}
#REDIRECT [[Template:Notice]]
  | protection = mbox-protection
  | serious    = mbox-serious
  | content    = mbox-content
  | style      = mbox-style
  | merge      = mbox-merge
  | growth    = mbox-growth
  | notice    = mbox-notice
  | #default  = mbox-notice
}} {{{class|}}}">
<tr>
<td class="mbox-image" width="40">
{{#ifeq:{{{image}}}|none
  | <!-- Empty cell needed to keep proportions -->
  | {{#switch:{{{image|{{{type|}}}}}}
    | protection = [[File:Commons-emblem-padlock.svg|40px|link=|alt=]]
    | serious    = [[File:Commons-emblem-hand.svg|40px|link=|alt=]]
    | content    = [[File:Commons-emblem-issue.svg|40px|link=|alt=]]
    | style      = [[File:Commons-emblem-copyedit.svg|40px|link=|alt=]]
    | merge      = [[File:Commons-emblem-merge.svg|40px|link=|alt=]]
    | growth    = [[File:Commons-emblem-success.svg|40px|link=|alt=]]
    | notice    = [[File:Commons-emblem-notice.svg|40px|link=|alt=]]
    | empty      = [[File:No image.svg|link=|alt=]]
    | #default  = {{#if:{{{image|}}}|{{#ifexist:Media:{{{image}}}|
      [[File:{{{image}}}|x40px|link=|alt=]]|{{{image}}}}}|
      {{{image|[[File:Commons-emblem-notice.svg|40px|link=|alt=]]}}}
    }}
  }}
}}</td>
<td class="mbox-text"><div class="mbox-text-div">{{#if:{{{headline|{{{head|{{{2|}}}}}}}}}|<strong>{{{headline|{{{head|{{{1}}}}}}}}}</strong>{{#if:{{{content|{{{text|{{{body|{{{2|}}}}}}}}}}}}|<span class="mbox-tap">Tap for more</span><div class="hide-when-compact">{{{content|{{{text|{{{body|{{{2}}}}}}}}}}}}</div>}}|{{{content|{{{text|{{{body|{{{1}}}}}}}}}}}}}}</div>{{#if:{{{foot|}}}|<div class="hide-when-compact"><small>{{{foot}}}</small></div>}}</td>
</tr>
</table><templatestyles src="Mbox/styles.css" /><includeonly>{{#if:{{NAMESPACE}}||{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}}}{{#ifeq:{{NAMESPACE}}|Template|{{#ifeq:{{ROOTPAGENAME}}|Mbox||{{#ifexist:{{FULLPAGENAME}}/doc|{{Documentation}}|{{Documentation|content=
 
This template is a [[Help:Notices|notice]]. You can add it to any page to let others know something about that page.
 
{{#if:{{{category|}}}|It will also categorize pages into the [[:Category:{{{category}}}|{{{category}}}]].}}
 
== Usage ==
 
To add this notice to a page, simply edit the page and add the following wikitext:
 
<nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki>
 
And that's it! Save the changes and see the notice displayed!
 
== See also ==
 
* [[Help:Notices]]
* [[Template:Mbox]]
 
[[Category:Notices]]
}}}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 15:12, 2 November 2021

Redirect to:

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