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
(hide dated/resolution if they are omitted)
(Add title param for anchors)
Line 4: Line 4:
  
 
{|
 
{|
 +
|- {{#if:{{{title|}}}||style="display:none;"}}
 +
! style="text-align:left; padding:0 2em 0 1em;" | Title
 +
| <span id="{{{title}}}"><a href="#{{{title}}}">{{{title}}}</a></span>
 
|-  
 
|-  
 
! style="text-align:left; padding:0 2em 0 1em;" | Author
 
! style="text-align:left; padding:0 2em 0 1em;" | Author
Line 25: Line 28:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Tileset|
 
{{Tileset|
 +
|title=herrbdog_16x16
 
|image=[[Image:Herrbdog_16x16_tileset.gif]]
 
|image=[[Image:Herrbdog_16x16_tileset.gif]]
 
|author=[[User:Herrbdog|Herrbdog]]
 
|author=[[User:Herrbdog|Herrbdog]]
Line 37: Line 41:
  
 
{{Tileset|
 
{{Tileset|
 +
|title=herrbdog_16x16
 
|image=[[Image:Herrbdog_16x16_tileset.gif]]
 
|image=[[Image:Herrbdog_16x16_tileset.gif]]
 
|author=[[User:Herrbdog|Herrbdog]]
 
|author=[[User:Herrbdog|Herrbdog]]

Revision as of 20:09, 23 July 2014

Title <a href="#{{{title}}}">{{{title}}}</a>
Author -
Dated
Tile Size -
Resolution
Comments -

Usage:

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

Output:

Herrbdog 16x16 tileset.gif
Title <a href="#herrbdog_16x16">herrbdog_16x16</a>
Author Herrbdog
Dated 2007-11-15
Tile Size 16×16
Resolution 1280×400
Comments This is Herrbdog's well-known tileset.