Difference between revisions of "Template:Notice"

From Team Fortress Wiki
Jump to: navigation, search
m (Image name consistency.)
(modernized)
Line 1: Line 1:
 
{{Ambox
 
{{Ambox
| type = {{{type|notice-2}}}
+
| type     = notice-2
| image = {{{image|Pictogram info.png}}}
+
| image   = Pictogram_info.png|64x64px
| imagewidth = {{{imagewidth|56px}}}
+
| contents = {{ambox/message
| imagealt = {{{imagealt|}}}
+
| 2 = Notice:
| image2 = {{{image2|}}}
+
| 3 = <i>{{{1|No notice provided.}}}</i>}}}}
| image2width = {{{image2width|56px}}}
+
<noinclude>{{doc begin}}
| image2alt = {{{image2alt|}}}
 
 
 
| style = {{{style|}}}
 
| class = {{{class|}}}
 
 
 
| contents = {{{contents|{{{text|{{{1|}}}}}}}}}
 
}}<noinclude>
 
{{doc begin}}
 
Simple wrapper template for {{tl|Ambox}} with some predefined values. It also supports the exact same parameters.
 
 
 
 
=== Usage ===
 
=== Usage ===
* {{tlx|notice|2=text='''Lorem ipsum''' dolor sit amet.}} generates:
+
* Place {{tl|notice}} on pages to leave a note. Leaving it blank gives no notice.
 
+
* Place {{tlx|notice|''your notice''}} to give a specific notice.
{{Notice|text='''Lorem ipsum''' dolor sit amet.}}
 
 
 
 
[[Category:Formatting templates|Notice]]
 
[[Category:Formatting templates|Notice]]
 
</noinclude>
 
</noinclude>

Revision as of 20:39, 20 December 2019

Documentation for Notice

Usage

  • Place {{notice}} on pages to leave a note. Leaving it blank gives no notice.
  • Place {{notice|your notice}} to give a specific notice.