Difference between revisions of "Notice box"
From InfoTechPedia
TomHutchison (talk | contribs) (icon color corrected variable) |
TomHutchison (talk | contribs) (information as title) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="panel radius notice-{{#switch:{{{type|}}} | + | <includeonly><div class="panel radius notice-{{#switch:{{{type|}}} |
| hint = hint | | hint = hint | ||
| see-also = see-also | | see-also = see-also | ||
| warning = warning | | warning = warning | ||
+ | | info = info | ||
| blank = blank | | blank = blank | ||
|#default = note | |#default = note | ||
Line 8: | Line 9: | ||
<div class="row"> | <div class="row"> | ||
<div class="large-1 columns center notice-icon">{{#switch:{{{image|{{{type|}}}}}} | <div class="large-1 columns center notice-icon">{{#switch:{{{image|{{{type|}}}}}} | ||
− | | hint = {{icon|lightbulb-o|4x}} | + | | hint = {{icon|lightbulb-o|4x|3=#f9f9f9}} |
− | | see-also = {{icon|eye|4x}} | + | | see-also = {{icon|eye|4x|3=#191970}} |
− | | warning = {{icon|exclamation-triangle|4x|3=# | + | | warning = {{icon|exclamation-triangle|4x|3=#ffffff}} |
+ | | info = {{icon|info-circle|4x|3=#191970}} | ||
| blank = <!--blank--> | | blank = <!--blank--> | ||
|#default = {{icon|sticky-note-o|4x}} | |#default = {{icon|sticky-note-o|4x}} | ||
Line 20: | Line 22: | ||
| see-also = {{{title|See Also}}} | | see-also = {{{title|See Also}}} | ||
| warning = {{{title|Warning}}} | | warning = {{{title|Warning}}} | ||
+ | | info = {{{title|Information}}} | ||
| none = <!-- none --> | | none = <!-- none --> | ||
| #default = {{{title|Note}}} | | #default = {{{title|Note}}} | ||
Line 27: | Line 30: | ||
</div> | </div> | ||
</div> | </div> | ||
− | </div> | + | </div></includeonly><noinclude> |
+ | Notice boxes for wiki use. Do not link directly to this template. It is designed to as a sub template from the following templates. | ||
+ | <pre> | ||
+ | {{note|.... | ||
+ | {{warning|.... | ||
+ | {{hint|.... | ||
+ | {{see also|.... | ||
+ | </pre> | ||
+ | Here is how they look when in use. | ||
+ | |||
+ | {{Note|This is a note box.}} | ||
+ | {{Warning|This is a warning box!}} | ||
+ | {{Hint|Need a hint, here is a hint box so here is a hint. To use these templates use the following code: | ||
+ | <code><nowiki>{{note|some text|subject=Title Besides Note}}</nowiki></code>}} | ||
+ | {{See also|Need to let someone know there is more to it? See also box.}} | ||
+ | {{Notice|This is a notice.}}</noinclude> |
Latest revision as of 17:52, 16 February 2018
Notice boxes for wiki use. Do not link directly to this template. It is designed to as a sub template from the following templates.
{{note|.... {{warning|.... {{hint|.... {{see also|....
Here is how they look when in use.
Note
This is a note box.
Warning
This is a warning box!
Hint
Need a hint, here is a hint box so here is a hint. To use these templates use the following code:
{{note|some text|subject=Title Besides Note}}
See Also
Need to let someone know there is more to it? See also box.
Information
This is a notice.