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:Fgcolor"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(rmv duplicate returns, add #default)
m (Edited #default value to reflect most recent color values in colors.txt)
Line 1: Line 1:
 
<includeonly>{{#tag:nowiki|{{#switch:{{{1}}}
 
<includeonly>{{#tag:nowiki|{{#switch:{{{1}}}
 
|0:0|0:0:0|0:1:0|0:2:0|0:3:0|0:4:0|0:5:0|0:6:0|0:7:0=#000000
 
|0:0|0:0:0|0:1:0|0:2:0|0:3:0|0:4:0|0:5:0|0:6:0|0:7:0=#000000
|1:0|1:0:0|1:1:0|1:2:0|1:3:0|1:4:0|1:5:0|1:6:0|1:7:0=#000080
+
|1:0|1:0:0|1:1:0|1:2:0|1:3:0|1:4:0|1:5:0|1:6:0|1:7:0=#207DF1
|2:0|2:0:0|2:1:0|2:2:0|2:3:0|2:4:0|2:5:0|2:6:0|2:7:0=#008000
+
|2:0|2:0:0|2:1:0|2:2:0|2:3:0|2:4:0|2:5:0|2:6:0|2:7:0=#A2DC34
|3:0|3:0:0|3:1:0|3:2:0|3:3:0|3:4:0|3:5:0|3:6:0|3:7:0=#008080
+
|3:0|3:0:0|3:1:0|3:2:0|3:3:0|3:4:0|3:5:0|3:6:0|3:7:0=#71BBB0
|4:0|4:0:0|4:1:0|4:2:0|4:3:0|4:4:0|4:5:0|4:6:0|4:7:0=#800000
+
|4:0|4:0:0|4:1:0|4:2:0|4:3:0|4:4:0|4:5:0|4:6:0|4:7:0=#FF113A
|5:0|5:0:0|5:1:0|5:2:0|5:3:0|5:4:0|5:5:0|5:6:0|5:7:0=#800080
+
|5:0|5:0:0|5:1:0|5:2:0|5:3:0|5:4:0|5:5:0|5:6:0|5:7:0=#A73CD5
|6:0|6:0:0|6:1:0|6:2:0|6:3:0|6:4:0|6:5:0|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6:5:1|6:6:1|6:7:1=#FFE111
 
|7:1|7:0:1|7:1:1|7:2:1|7:3:1|7:4:1|7:5:1|7:6:1|7:7:1=#FFFFFF
 
|7:1|7:0:1|7:1:1|7:2:1|7:3:1|7:4:1|7:5:1|7:6:1|7:7:1=#FFFFFF
 
|#default={{{1}}}}}}}</includeonly><noinclude>
 
|#default={{{1}}}}}}}</includeonly><noinclude>
Line 30: Line 30:
 
{|
 
{|
 
|-
 
|-
|style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:{{fgcolor|#00FFFF}}; background: black; text-align:center;"|M
+
|style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:{{fgcolor|#12FECF}}; background: black; text-align:center;"|M
 
|-
 
|-
 
|style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:{{fgcolor|3:3:1}}; background: black; text-align:center;"|M
 
|style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:{{fgcolor|3:3:1}}; background: black; text-align:center;"|M
Line 36: Line 36:
  
 
<table>
 
<table>
<tr><td style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:{{fgcolor|#00FFFF}}; background: black; text-align:center;">M</td><tr>
+
<tr><td style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:{{fgcolor|#12FECF}}; background: black; text-align:center;">M</td><tr>
 
<tr><td style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:{{fgcolor|3:3:1}}; background: black; text-align:center;">M</td><tr>
 
<tr><td style="border:1px #AAA solid;padding:0.2em;font-size: 200%;font-weight: bold; color:{{fgcolor|3:3:1}}; background: black; text-align:center;">M</td><tr>
 
</table>
 
</table>
  
 
</noinclude>
 
</noinclude>

Revision as of 03:13, 26 December 2022


A

A

A

A

"Test inline string - 4:6:0 becomes #FF113A and #D79B2D."

M
M
M
M