Jump to content

Template:Aside/Doc: Difference between revisions

From Official NixOS Wiki
DoggoBit (talk | contribs)
Created page with "This is a template for displaying related information, that is not essential to the main body of the article. {{aside|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: {{bc|<nowiki>{{aside|Templates are generally useful for reusing bits of code across differe..."
 
DoggoBit (talk | contribs)
No edit summary
 
Line 11: Line 11:
You can also customise the ''"Sidenote"'' text:
You can also customise the ''"Sidenote"'' text:


{{bc|<nowiki>{{aside|leading=For your information|You can change the leading text}}</nowiki>}}
{{bc|<nowiki>{{aside|leading=For your information:|You can change the leading text}}</nowiki>}}


{{aside|leading=For your information:|You can change the leading text}}
{{aside|leading=For your information:|You can change the leading text}}

Latest revision as of 19:17, 5 June 2025

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