Template:Note

From Flexible Survival
Revision as of 17:05, 31 October 2019 by Inutt (talk | contribs) (Change parameter names)
Jump to navigationJump to search

A template for short notes.

Usage

{{Note
| Icon = <type>
| Content = Content of the note, which can be as long as you like really, but this template is intended for notes of a few sentences in length really.
}}

Examples

<css> div.note {

   position: relative;
   min-height: 3.1em;
   display: flex;
   align-items: center;
   box-shadow: 0 12px 18px -12px #373737;

} div.note img:first-of-type {

   position: absolute;
   width: 2em;
   height: 2em;
   left: 2em;
   top: 0.6em;
   transform: translatex(-50%);
   opacity: 60%

} </css>

[[File:icon_note_template:icon.png|frameless|link=]] Template:Content