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:Tile
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 1: | Line 1: | ||
− | <noinclude><div style="float: right; padding: 0.5em; margin: 0.25em; border: 1px solid #ccc; background: #eee"></noinclude><code style="color: {{fgcolor|{{{2}}}}} | + | <noinclude><div style="float: right; padding: 0.5em; margin: 0.25em; border: 1px solid #ccc; background: #eee"></noinclude><code style="color: {{fgcolor|{{{2}}}}}; background: {{bgcolor|{{{2}}}|{{{3|#000}}}}}; font-size:{{{4|135%}}}; font-weight: bold; font-family: 'Courier New', 'Quicktype Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', 'Lucida Sans Typewriter', monospace; padding: 0.05em 0.15em; font-weight:bold">{{{1}}}</code><noinclude> |
− | {{ | + | </div> |
+ | |||
+ | '''Template:Tile''' can be used to display tiles close to what they appear as in Dwarf Fortress. It is designed to be used for free-standing tiles. There is a [[:Template:Raw_Tile|padding-free variant]] for use in grids and other places where padding between the tiles is not desirable. The [[:Template:Dwarf|Dwarf template]] can be used to insert dwarf faces. | ||
+ | |||
+ | == Usage == | ||
+ | |||
+ | <nowiki>{{Tile|<character>|<#color>|<#background>|<size>}}</nowiki> | ||
+ | <nowiki>{{Tile|<character>|<#color>|<#background>}}</nowiki> | ||
+ | <nowiki>{{Tile|<character>|<x:y:z>}}</nowiki> | ||
+ | <nowiki>{{Tile|<character>|<x:y:z>||<size>}}</nowiki> | ||
+ | |||
+ | === Special characters === | ||
+ | |||
+ | Special characters can be copied from the [[character table]]. Characters used in the template syntax (e.g. | or =) need to be escaped. | ||
+ | |||
+ | === Examples === | ||
+ | |||
+ | Using <code><nowiki>{{Tile|*|#090|#fff}}</nowiki></code> and <code><nowiki>{{Tile|÷|0:6:0}}</nowiki></code> will insert ore chunks {{Tile|*|#090|#fff}} and barrels {{Tile|÷|0:6:0}} into text. | ||
+ | |||
[[Category:Inline formatting templates]] | [[Category:Inline formatting templates]] | ||
</noinclude> | </noinclude> |