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:Diagram"
Jump to navigation
Jump to search
m |
m |
||
Line 16: | Line 16: | ||
║..║..║..║..║}}</nowiki></pre> | ║..║..║..║..║}}</nowiki></pre> | ||
− | {{diagram| | + | {{diagram| |
− | ╔══╦══╦══╦══╗ | + | ╔══╦══╦══╦══╗ |
− | ║..║..║..║..║ | + | ║..║..║..║..║ |
− | ║.┼╩┼.║.┼╩┼.║ | + | ║.┼╩┼.║.┼╩┼.║ |
− | ╠═╣X╠═╬═╣X╠═╣ | + | ╠═╣X╠═╬═╣X╠═╣ |
− | ║.┼╦┼.║.┼╦┼.║ | + | ║.┼╦┼.║.┼╦┼.║ |
− | ║..║..║..║..║}} | + | ║..║..║..║..║}} |
Revision as of 07:45, 12 November 2009
Easy to use color diagram template. Newlines are converted to new table rows. Spaces are cropped. Use [#color]x to change the color of a tile. Use [#color][#bgcolor]x to change both the color and background of a tile.
Usage:
{{diagram| ╔══╦══╦══╦══╗ ║..║..║..║..║ ║.┼╩┼.║.┼╩┼.║ ╠═╣X╠═╬═╣X╠═╣ ║.┼╦┼.║.┼╦┼.║ ║..║..║..║..║}}
{{diagram| ╔══╦══╦══ ╦══╗ ║..║..║..[#f00] ║..║ ║.┼╩┼.║.┼ ╩┼.║ ╠═╣X╠═╬═╣[#000][#fff]X╠═╣ ║.┼╦┼.║.┼ ╦┼.║ ║..║..║.. ║..║}}