Template:Aside: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Notice | <includeonly>{{Notice | ||
|color=var(--color-base) | |color=var(--color-base) | ||
|background=var(--background-color-neutral-subtle) | |background=var(--background-color-neutral-subtle) | ||
|borderColor=var(--border-color-base) | |borderColor=var(--border-color-base) | ||
|small=yes | |small=yes | ||
|'''{{{leading|{{{title|{{{heading|Sidenote}}}}}}}}} | |'''{{{leading|{{{title|{{{heading|Sidenote:}}}}}}}}}''' {{{text|{{{1|}}}}}} | ||
}}<noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 19:17, 5 June 2025
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