Difference between revisions of "Template:Ambox/message"

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