v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Colorlinks/doc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Examples)
 
m (Update documentation)
Line 9: Line 9:
 
{{colorlinks|blue|[[Main Page|Link to Main Page]]}}
 
{{colorlinks|blue|[[Main Page|Link to Main Page]]}}
  
Suffixes are not colored, unfortunately, but will still act as part of the link:
+
Suffixes are colored too:
 
<pre>{{colorlinks|#f60|[[Cat]]s are in [[DF2012:cat|v0.34]] and [[23a:cat|the 23a version]]}}</pre>
 
<pre>{{colorlinks|#f60|[[Cat]]s are in [[DF2012:cat|v0.34]] and [[23a:cat|the 23a version]]}}</pre>
 
{{colorlinks|#f60|[[Cat]]s are in [[DF2012:cat|v0.34]] and [[23a:cat|the 23a version]]}}
 
{{colorlinks|#f60|[[Cat]]s are in [[DF2012:cat|v0.34]] and [[23a:cat|the 23a version]]}}

Revision as of 21:01, 15 June 2013

This template changes the color of all links in {{{2}}} to {{{1}}}.

Examples

{{colorlinks|red|[[DF2012:Cat]]}}

DF2012:Cat

{{colorlinks|blue|[[Main Page|Link to Main Page]]}}

Link to Main Page

Suffixes are colored too:

{{colorlinks|#f60|[[Cat]]s are in [[DF2012:cat|v0.34]] and [[23a:cat|the 23a version]]}}

Cats are in v0.34 and the 23a version