Difference between revisions of "Template:Info"

From Nottinghack Wiki
Jump to navigation Jump to search
(add date parameter)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Ambox
 
{{Ambox
 
| type  = notice
 
| type  = notice
| text  = {{{1}}}
+
| text  = {{{1}}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
}}
+
}}<noinclude>
  
<noinclude>
 
 
==Documentation==
 
==Documentation==
Shortcut to indicate some info.
+
Shortcut to indicate some info in a box with an exclamation mark! icon.
 
<pre>
 
<pre>
{{info|This is some info.}}
+
{{info|This is some info.|date=December 2018}}
 
</pre>
 
</pre>
  
 
[[Category:Page Action Templates]]
 
[[Category:Page Action Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:45, 18 December 2018

Documentation

Shortcut to indicate some info in a box with an exclamation mark! icon.

{{info|This is some info.|date=December 2018}}