Template:Aside: Difference between revisions
Appearance
Add proper sections |
No edit summary |
||
Line 1: | Line 1: | ||
{{Notice | |||
{{ | |color=var(--color-base) | ||
|background=var(--background-color-neutral-subtle) | |||
== | |borderColor=var(--border-color-base) | ||
|small=yes | |||
|'''{{{leading|{{{title|{{{heading|Sidenote}}}}}}}}}:''' {{{text|{{{1|}}}}}} | |||
}}<noinclude>{{Documentation}}</noinclude> | |||
{{ | |||
Revision as of 19:13, 5 June 2025
Sidenote:
Template Documentation [edit source| uses| help]
This is a template for displaying related information, that is not essential to the main body of the article.
Sidenote: Templates are generally useful for reusing bits of code across different pages, as well as standardising formatting across the wiki.
Usage
You can simply include this template alongside a message to display. The notice above can be replicated as such:
{{aside|Templates are generally useful for reusing bits of code across different pages, as well as standardising formatting across the wiki.}}
You can also customise the "Sidenote" text:
{{aside|leading=For your information:|You can change the leading text}}
For your information:: You can change the leading text