Difference between revisions of "Template:Ambox/message"

From Team Fortress Wiki
Jump to: navigation, search
(+)
 
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%;">''"{{{1|Quote here}}}"''</span><br />|}}<!--
* <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>
+
-->{{#if:{{{2|}}}|<span style="font-size: 100%;">'''{{{2|This article needs fixing.}}}'''</span><br />|}}<!--
 +
-->{{#if:{{{3|}}}|<span style="font-size: 95%;">{{{3|You can help Team Fortress Wiki by editing it.}}}</span>|}}<noinclude>
 +
== Usage ==
 +
* All 3 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 </nowiki>[[Help:Style guide|Team Fortress Wiki style guide]] for information on how to improve this article.
 +
}}
 +
</pre>
  
 
... produces (when used inside {{tl|ambox}}):
 
... produces (when used inside {{tl|ambox}}):
  
{{ Ambox | image = Information.png | type = content
+
{{ Ambox | image = Information.png | type = notice
| 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 </nowiki>[[Help:Style guide|Team Fortress Wiki style guide]] for information on how to improve this article.
 +
}}
 
}}
 
}}
 
[[Category:Formatting templates]]
 
[[Category:Formatting templates]]
 
</noinclude>
 
</noinclude>

Revision as of 05:14, 1 August 2010

Usage

  • All 3 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}}):