Attention : vous n’êtes pas connecté(e). Votre adresse IP sera visible de tout le monde si vous faites des modifications. Si vous vous connectez ou créez un compte, vos modifications seront attribuées à votre propre nom d’utilisateur(rice) et vous aurez d’autres avantages.
Cette modification va être annulée.
Veuillez vérifier les différences ci-dessous, puis publier l’annulation si c’est bien ce que vous voulez faire.
Version actuelle |
Votre texte |
Ligne 1 : |
Ligne 1 : |
− | <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.1em 0.2em; font-weight:bold">{{{1}}}</code><noinclude>
| + | <code style="color: {{{2}}}; background: {{{3}}}; font-size: 135%; font-family: 'Quicktype Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', 'Lucida Sans Typewriter', monospace; padding: 0.1em 0.2em">'''{{{1}}}'''</code> |
− | </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. | + | <noinclude>Modèle à utiliser pour afficher ''une seule'' case telle qu'elle apparaît dans le jeu. |
| | | |
− | =Utilisation=
| + | Exemple: {{Tile|%|#000|#990}} |
− | | |
− | <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>
| |
− | | |
− | =Caractères Spéciaux=
| |
− | | |
− | Special characters can be copied from the [[character table]]. Characters used in the template syntax (e.g. | or =) need to be escaped.
| |
− | | |
− | =Exemple=
| |
− | | |
− | 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:Templates]]
| |
| </noinclude> | | </noinclude> |