Template:Callout: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 58: | Line 58: | ||
<span class="callout-icon"> | <span class="callout-icon"> | ||
{{#switch: {{{type|note}}} | {{#switch: {{{type|note}}} | ||
| tip = | | tip = 💡Important Tip {{{title|Your title goes here}}} | ||
| warning = ⚠️ | | warning = ⚠️ Warning {{{title|Your title goes here}}} | ||
| protip = ⭐ | | protip = ⭐ Pro Tip {{{title|Your title goes here}}} | ||
| note = 📝 | | note = 📝 Note {{{title|Your title goes here}}} | ||
| #default = 📝 | | #default = 📝 Note {{{title|Your title goes here}}} | ||
}} | }} | ||
</span> | </span> | ||
</span> | </span> | ||
<div class="callout-body"> | <div class="callout-body"> | ||
{{{text|Your text goes here}}} | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | |||
| Line 93: | Line 81: | ||
<span class="callout-icon"> | <span class="callout-icon"> | ||
{{#switch: {{{type|note}}} | {{#switch: {{{type|note}}} | ||
| tip = 💡Important | | tip = 💡Important Tip | ||
| warning = ⚠️ Warning | | warning = ⚠️ Warning | ||
| protip = ⭐ Pro | | protip = ⭐ Pro Tip | ||
| note = 📝 Note | | note = 📝 Note | ||
| #default = 📝 Note | | #default = 📝 Note | ||
}} <span class="callout-title">{{{title|Your title goes here}}}</span> | }} <span class="callout-title">{{{title|Your title goes here}}}</span></span><p class="callout-body"> | ||
{{{text|Your callout text goes here}}}</p> | |||
</span> | </span> | ||
</div> | </div> | ||
</div> | </div> | ||
--> | --> | ||