Template:Note: Difference between revisions

From Alpine Linux
m (Protected "Template:Note" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
m (Protected "Template:Note": Template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
====Usage====
====Usage====


{{Codeline|1=<nowiki>{{Note|This text should be noted.}}</nowiki>}}
{{Codeline|1=<nowiki>{{Note|This text should be noted, with a [[link to nowhere]] or a [[Special:Version| link to that works]].}}</nowiki>}}


====Example====
====Example====


{{Note|This text should be noted.}}</noinclude><includeonly>{{Box BLUE|Note:|{{{1}}}}}</includeonly>
{{Note|This text should be noted, with a [[link to nowhere]] or a [[Special:Version| link to that works]].}}</noinclude><includeonly>{{Box BLUE|1=Note:|2=<span class='Alp-Note'>{{{1}}}</span>}}</includeonly><noinclude>
 
==== Alpine Linux Customizations ====
 
This template uses the 'Alp-Note' class to make sure the anchors are underlined.  The Alp-Note class is defined in common/shared.css as
 
<pre>
/* For the Note class */
.Alp-Note a { text-decoration: underline; }
</pre>

Latest revision as of 08:43, 30 May 2017

Template Documentation for Note

This page is a template and should only be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

A 'Note' box used to emphasize important information.

Usage

{{Note|This text should be noted, with a [[link to nowhere]] or a [[Special:Version| link to that works]].}}

Example

Note: This text should be noted, with a link to nowhere or a link to that works.

Alpine Linux Customizations

This template uses the 'Alp-Note' class to make sure the anchors are underlined. The Alp-Note class is defined in common/shared.css as

/* For the Note class */
.Alp-Note a { text-decoration: underline; }