Difference between revisions of "Template:Notice"

From Team Fortress Wiki
Jump to: navigation, search
(Easier to display notices)
 
m (Added Romanian translation)
 
(10 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{{Ambox
 
{{Ambox
 
| type = {{{type|notice-2}}}
 
| type = {{{type|notice-2}}}
| image = {{{image|Information.png}}}
+
| image = {{{image|Pictogram info.png}}}
 
| imagewidth = {{{imagewidth|56px}}}
 
| imagewidth = {{{imagewidth|56px}}}
 
| imagealt = {{{imagealt|}}}
 
| imagealt = {{{imagealt|}}}
Line 11: Line 11:
 
| class = {{{class|}}}
 
| class = {{{class|}}}
  
| contents = {{{contents|{{{text|{{{1|}}}}}}}}}
+
| contents = {{ambox/message
}}<noinclude>
+
| 2 = {{lang
 +
    | en = Notice:
 +
    | es = Aviso:
 +
    | pl = Notatka:
 +
    | pt-br = Aviso:
 +
    | ro = Observație:
 +
    | ru = Уведомление:
 +
    | zh-hans = 注意:
 +
    }}
 +
| 3 = {{{contents|{{{text|{{{1|{{lang
 +
    | en = <i>No notice provided.</i>
 +
    | es = <i>No se ha proporcionado ningún aviso.</i>
 +
    | pl = <i>Nie załączono informacji.</i>
 +
    | pt-br = <i>Nenhum aviso fornecido.</i>
 +
    | ro = <i>Nu a fost inclusă nicio observație.</i>
 +
    | ru = <i>Уведомление не предоставлено.</i>
 +
    | zh-hans = 未写入提示消息。
 +
    }}}}}}}}}}}
 +
}}}}
 +
<noinclude>
 +
{{Translation switching|en, es, pl, pt-br, ro, ru, zh-hans}}
 
{{doc begin}}
 
{{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.}}
+
It also supports some {{tl|Ambox}} parameters.
  
 
[[Category:Formatting templates|Notice]]
 
[[Category:Formatting templates|Notice]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:10, 18 October 2023

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.

It also supports some {{Ambox}} parameters.