Template:Info: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
ce
add date parameter
 
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 in a box with an exclamation mark!
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}}