Difference between revisions of "Template:Tech/doc"

From Stellaris Wiki
Jump to navigation Jump to search
(Created template documentation)
 
(Updated)
Line 6: Line 6:
  
 
;Syntax:
 
;Syntax:
:<code><nowiki>{{rare|technology}}</nowiki></code>
+
:<code><nowiki>{{rare|technology}}</nowiki></code> or <code><nowiki>{{rare|technology|yes}}</nowiki></code>
  
 
;Example:
 
;Example:
 
:<code><nowiki>{{rare|Sentient AI}}</nowiki></code> will generate {{rare|Sentient AI}}.
 
:<code><nowiki>{{rare|Sentient AI}}</nowiki></code> will generate {{rare|Sentient AI}}.
 +
:<code><nowiki>{{rare|Cloud Lightning Conduits|yes}}</nowiki></code> will generate {{rare|Cloud Lightning Conduits|yes}}.

Revision as of 10:13, 18 April 2016

This is the documentation page for Template:Tech.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

This template bolds and colors the parameter to sigify that it is a rare technology.

Usage

Syntax
{{rare|technology}} or {{rare|technology|yes}}
Example
{{rare|Sentient AI}} will generate Template:Rare.
{{rare|Cloud Lightning Conduits|yes}} will generate Template:Rare.