pavement

Template:Yhl

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m
(yellow highlight)
Line 1: Line 1:
<span style="color-bg:yellow">{{{1}}}</span><noinclude>
+
<span style="background-color:yellow">{{{1}}}</span><noinclude>
  
 
'''Usage:'''
 
'''Usage:'''
  
Used to highlight. Can be used to highlight. Use is also for other purposes. Don't use for console, port-tree listings, manpages, files and directories, because they have their own templates.
+
Used to highlight. Don't use for console, port-tree listings, manpages, files and directories, because they have their own templates.
  
 
'''Example:'''
 
'''Example:'''
  
 
<nowiki>{{btxt|(BSD)}}</nowiki> produces {{btxt|(BSD)}}.
 
<nowiki>{{btxt|(BSD)}}</nowiki> produces {{btxt|(BSD)}}.
 +
 +
==other templates==
 +
* [[template:code]] - can used for console output, or file contents simple enough to fit in paragraph flow
 +
* [[template:cmd]] - can be used for simple commands to fit in a paragraph
 +
* [[template:file]] - used for files and directories/
 +
* [[template:port]] - used for ports; it links to their page at freshports.org; license information can optionally be displayed
 +
* [[template:man]] - manpages
 +
 
</noinclude>
 
</noinclude>

Revision as of 17:23, 1 November 2015

{{{1}}}

Usage:

Used to highlight. Don't use for console, port-tree listings, manpages, files and directories, because they have their own templates.

Example:

{{btxt|(BSD)}} produces delete.

other templates

  • template:code - can used for console output, or file contents simple enough to fit in paragraph flow
  • template:cmd - can be used for simple commands to fit in a paragraph
  • template:file - used for files and directories/
  • template:port - used for ports; it links to their page at freshports.org; license information can optionally be displayed
  • template:man - manpages


Personal tools