Jump to content

Template:Aside: Difference between revisions

From NixOS Wiki
DoggoBit (talk | contribs)
No edit summary
DoggoBit (talk | contribs)
No edit summary
Line 4: Line 4:
   |borderColor=var(--border-color-base)
   |borderColor=var(--border-color-base)
   |small=yes
   |small=yes
   |'''{{{leading|{{{title|{{{heading|Sidenote}}}}}}}}}:''' {{{text|{{{1|}}}}}}
   |'''{{{leading|{{{title|{{{heading|Sidenote:}}}}}}}}}''' {{{text|{{{1|}}}}}}
}}<noinclude>{{Documentation}}</noinclude>
}}<noinclude>{{Documentation}}</noinclude>

Revision as of 19:17, 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