Difference between revisions of "Template:Ambox/message"

From Team Fortress Wiki
Jump to: navigation, search
(+)
 
m (Added Support For Arabic.)
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<span style="font-size: 90%;">''"{{{1|Quote here}}}"''</span><br /><span style="font-size: 100%;">'''{{{2|This article needs fixing.}}}'''</span><br /><span style="font-size: 95%;">{{{3|You can help Team Fortress Wiki by editing it.}}}</span><noinclude>
+
<!--
<hr />
+
-->{{#if:{{{1|}}}|<span style="font-size: 90%; {{{1style|}}}">''{{lang
* <code><nowiki>{{ambox/message|Oh dear, I've made quite a mess.|This page has been marked for general cleanup.|Please see </nowiki>[[Help:Style guide|Team Fortress Wiki style guide]] for information on how to improve this article.}}</code>
+
|en=“
 +
|de=„
 +
|es=«
 +
|fr=« 
 +
|pt-br="
 +
|ru=«
 +
|ar=“
 +
}}{{{1|Quote here}}}{{lang
 +
|en=”
 +
|de=“
 +
|es=»
 +
|fr= »
 +
|pt-br="
 +
|ru=»
 +
|ar=”
 +
}}''</span><br />|}}<!--
 +
-->{{#if:{{{2|}}}|<span style="font-size: 100%; font-weight: bold; {{{2style|}}}">{{{2|This article needs fixing.}}}</span><br />|}}<!--
 +
-->{{#if:{{{3|}}}|<span style="font-size: 95%; {{{3style|}}}">{{{3|You can help Team Fortress Wiki by editing it.}}}</span><br />|}}<!--
 +
-->{{#if:{{{4|}}}|<span style="font-size: 95%; {{{4style|}}}">{{{4|Line 4.}}}</span><br />|}}<!--
 +
-->{{#if:{{{5|}}}|<span style="font-size: 95%; {{{5style|}}}">{{{5|Line 5.}}}</span><br />|}}<!--
 +
-->{{#if:{{{6|}}}|<span style="font-size: 95%; {{{6style|}}}">{{{6|Line 6.}}}</span><br />|}}<noinclude>
 +
{{doc begin}}
 +
=== Usage ===
 +
* All 6 parameters can be used independently.
 +
 
 +
=== Example ===
 +
<pre><nowiki>
 +
{{ambox/message
 +
| 1 = Oh dear, I've made quite a mess.
 +
| 2 = This page has been marked for general cleanup.
 +
| 3 = Please see [[Help:Style guide|Team Fortress Wiki style guide]] for information on how to improve this article.
 +
}}
 +
</nowiki></pre>
  
 
... produces (when used inside {{tl|ambox}}):
 
... produces (when used inside {{tl|ambox}}):
  
{{ Ambox | image = Information.png | type = content
+
{{Ambox | image = Pictogram info.png | type = notice-2
| contents = {{ambox/message|Oh dear, I've made quite a mess.|This page has been marked for general cleanup.|Please see [[Help:Style guide|Team Fortress Wiki style guide]] for information on how to improve this article.}}
+
| contents = {{ ambox/message
 +
| 1 = Oh dear, I've made quite a mess.
 +
| 2 = This page has been marked for general cleanup.
 +
| 3 = Please see [[Help:Style guide|Team Fortress Wiki style guide]] for information on how to improve this article.
 +
}}
 
}}
 
}}
[[Category:Formatting templates]]
+
 
 +
[[Category:Formatting templates|Ambox/message]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:24, 3 November 2022

Documentation for Ambox/message

Usage

  • All 6 parameters can be used independently.

Example

{{ambox/message
| 1 = Oh dear, I've made quite a mess.
| 2 = This page has been marked for general cleanup.
| 3 = Please see [[Help:Style guide|Team Fortress Wiki style guide]] for information on how to improve this article.
}}

... produces (when used inside {{ambox}}):