Difference between revisions of "Template:Info"

From Nottinghack Wiki
Jump to navigation Jump to search
(basic helper template for me being efficient / lazy)
 
(add date parameter)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Ambox
+
{{Ambox
 
| type  = notice
 
| type  = notice
| text  = {{{text}}}
+
| text  = {{{1}}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
}}</includeonly>
+
}}<noinclude>
  
<noinclude>[[Category:Page Action Templates]]
+
==Documentation==
 
+
Shortcut to indicate some info in a box with an exclamation mark! icon.
Shortcut to indicate some info.
 
 
<pre>
 
<pre>
{{info text=This is some info.}}
+
{{info|This is some info.|date=December 2018}}
 
</pre>
 
</pre>
  
 +
[[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}}