Difference between revisions of "Template:Tech/doc"

From Stellaris Wiki
Jump to navigation Jump to search
(Updated)
(Expanded to include more options)
Line 1: Line 1:
 
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
     <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
     <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
This template bolds and colors the parameter to sigify that it is a rare technology.
+
This template bolds and colors the parameter to signify that it is different from other technologies.
  
 
== Usage ==
 
== Usage ==
  
 
;Syntax:
 
;Syntax:
:<code><nowiki>{{rare|technology}}</nowiki></code> or <code><nowiki>{{rare|technology|yes}}</nowiki></code>
+
:<code><nowiki>{{tech|style|Technology_Name}}</nowiki></code>
  
;Example:
+
{| class="wikitable"
:<code><nowiki>{{rare|Sentient AI}}</nowiki></code> will generate {{rare|Sentient AI}}.
+
! Style !! Used for !! Example
:<code><nowiki>{{rare|Cloud Lightning Conduits|yes}}</nowiki></code> will generate {{rare|Cloud Lightning Conduits|yes}}.
+
|-
 +
| rare1 || Rare technology || {{tech|rare1|Sentient AI}}
 +
|-
 +
| rare2 || Rare technology which is also remains valid || {{tech|rare2|Sentient AI}}
 +
|-
 +
| repeat || Repeatable technology (end tech) || {{tech|repeat|Sentient AI}}
 +
|-
 +
| valid || Constant technology (remains as a valid option until researched) || {{tech|valid|Sentient AI}}
 +
|}

Revision as of 23:25, 28 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 signify that it is different from other technologies.

Usage

Syntax
{{tech|style|Technology_Name}}
Style Used for Example
rare1 Rare technology Sentient AI
rare2 Rare technology which is also remains valid Sentient AI
repeat Repeatable technology (end tech) Sentient AI
valid Constant technology (remains as a valid option until researched) Sentient AI