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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(+ default values for parameters)
(hide dated/resolution if they are omitted)
Line 7: Line 7:
 
! style="text-align:left; padding:0 2em 0 1em;" | Author
 
! style="text-align:left; padding:0 2em 0 1em;" | Author
 
| {{{author|-}}}
 
| {{{author|-}}}
|-  
+
|- {{#if:{{{dated|}}}||style="display:none;"}}
 
! style="text-align:left; padding:0 2em 0 1em;" | Dated
 
! style="text-align:left; padding:0 2em 0 1em;" | Dated
| {{{dated|-}}}
+
| {{{dated|}}}
 
|-
 
|-
 
! style="text-align:left; padding:0 2em 0 1em;" | Tile Size
 
! style="text-align:left; padding:0 2em 0 1em;" | Tile Size
 
| {{{size|-}}}
 
| {{{size|-}}}
|-
+
|- {{#if:{{{resolution|}}}||style="display:none;"}}
 
! style="text-align:left; padding:0 2em 0 1em;" | Resolution
 
! style="text-align:left; padding:0 2em 0 1em;" | Resolution
| {{{resolution|-}}}
+
| {{{resolution|}}}
 
|-
 
|-
 
! style="text-align:left; padding:0 2em 0 1em;" valign="top" | Comments
 
! style="text-align:left; padding:0 2em 0 1em;" valign="top" | Comments

Revision as of 21:11, 24 May 2011

Author -
Dated
Tile Size -
Resolution
Comments -

Usage:

{{Tileset|
|image=[[Image:Herrbdog_16x16_tileset.gif]]
|author=[[User:Herrbdog|Herrbdog]]
|dated=2007-11-15
|size=16×16
|resolution=1280×400
|comments=This is Herrbdog's well-known tileset.
}}

Output:

Herrbdog 16x16 tileset.gif
Author Herrbdog
Dated 2007-11-15
Tile Size 16×16
Resolution 1280×400
Comments This is Herrbdog's well-known tileset.