Template:Note: Difference between revisions

From Alpine Linux
(Make a new class Alp-Note for css)
No edit summary
Line 9: Line 9:
====Example====
====Example====


{{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>
{{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>

Revision as of 01:49, 26 November 2012

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; }