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.
Editing Template:C/doc
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 67: | Line 67: | ||
|} | |} | ||
− | For example, '''<nowiki>{{c|f|3}}</nowiki>''' produces '''style="color:#fff;background-color:#008080 | + | For example, '''<nowiki>{{c|f|3}}</nowiki>''' produces '''style="color:#fff;background-color:#008080"''', '''<nowiki>{{c|7}}</nowiki>''' produces '''style="color:#c0c0c0;"''', and '''<nowiki>{{c||D}}</nowiki>''' produces '''style="background-color:#f0f"'''. Styles like this can be used in many places. In fact, this template was used to color the table rows above. '''<nowiki><span {{c|f|0}}>white text on a black background</span></nowiki>''' can be used to color small amounts of text, but the major use is in coloring tables, table rows, and table cells for ASCII diagrams. |
Additional style can be added as a third parameter. E.g., '''<nowiki>{{c|8|0|font-family: Courier New, monospace}}</nowiki>'''. | Additional style can be added as a third parameter. E.g., '''<nowiki>{{c|8|0|font-family: Courier New, monospace}}</nowiki>'''. | ||
[[Category:Formatting Templates]] | [[Category:Formatting Templates]] |