Difference between revisions of "Template:Highlight/doc"

From eRepublik Official Wiki
Jump to: navigation, search
m
 
 
Line 1: Line 1:
{{documentation subpage}}
+
{{Documentation subpage}}
  
 
This is a '''highlight template''' which can be used to bring attention to certain sections. For example, it can be used in conjunction with {{Tl|Ref}} to highlight particular phrases to be sourced.
 
This is a '''highlight template''' which can be used to bring attention to certain sections. For example, it can be used in conjunction with {{Tl|Ref}} to highlight particular phrases to be sourced.
Line 17: Line 17:
  
 
==Examples==
 
==Examples==
 
+
<pre>
 +
*{{Highlight|Example 1}}
 +
*{{Highlight|Example 2|lightblue}}
 +
*{{Highlight|Example 3|Darkred|White}}
 +
</pre>
 
*{{Highlight|Example 1}}
 
*{{Highlight|Example 1}}
 
*{{Highlight|Example 2|lightblue}}
 
*{{Highlight|Example 2|lightblue}}
 
*{{Highlight|Example 3|Darkred|White}}
 
*{{Highlight|Example 3|Darkred|White}}

Latest revision as of 12:43, 13 April 2014

edit

Edit-copy green.png Documentation subpage

This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:Highlight.


This is a highlight template which can be used to bring attention to certain sections. For example, it can be used in conjunction with {{Ref}} to highlight particular phrases to be sourced.

Usage

{{Highlight|'text'|'highlight colour'|'text colour'}}

Variables

This template has these variables:

  • text
  • highlight colour (Optional, default cornsilk)
  • text colour (Optional, default black)

Examples

*{{Highlight|Example 1}}
*{{Highlight|Example 2|lightblue}}
*{{Highlight|Example 3|Darkred|White}}
  • Example 1
  • Example 2
  • Example 3