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:GraphicsSet"
Jump to navigation
Jump to search
(hide omitted params, add compatible-min and compatible-max, along with some parserfunction voodoo to check 'compatible' params against current version and format them nicely without breaking old stuff) |
|||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {| | + | <includeonly>{| |
− | + | | style="padding: 0.5em 2em 0 0;" valign="top" | {{{image|}}} | |
− | | style=" | + | | valign="top" | |
− | + | {| | |
− | {| | + | |- {{#if:{{{download link|}}}||style="display:none;"}} |
− | |- | + | | style="padding-right: 1em;" | '''Download:''' |
− | + | | {{{download link|}}} | |
− | | {{{download link}}} | ||
|- | |- | ||
− | + | | style="padding-right: 1em;" | '''Author:''' | |
− | | {{{author}}} | + | | {{{author|-}}} |
|- | |- | ||
− | + | | style="padding-right: 1em;" | '''Tile Size:''' | |
− | | {{{ | + | | {{{sprite|-}}} |
+ | |- {{#if:{{{resolution|}}}||style="display:none;"}} | ||
+ | | style="padding-right: 1em;" | '''Resolution:''' | ||
+ | | {{{resolution|}}} | ||
+ | |- {{#if:{{{current version|}}}||style="display:none;"}} | ||
+ | | style="padding-right: 1em;" | '''Current Version:''' | ||
+ | | {{{current version|}}} | ||
|- | |- | ||
− | + | | style="padding-right: 1em;" | '''DF Compatibility:''' | |
− | | {{{ | + | | {{#if:{{{compatible-max|{{{df compatible|}}}}}}|{{#ifeq:{{{compatible-max|{{{df compatible|}}}}}}|{{Current/version}}|style="color: #0a0;"|style="color: #a00;"}}|}} | {{#if:{{{compatible-min|}}}{{{compatible-max|}}}| {{{compatible-min|}}} – {{{compatible-max|}}} |{{{df compatible|Unspecified}}}}} |
− | |- | + | |- {{#if:{{{installation|}}}||style="display:none;"}} |
− | + | | style="padding-right: 1em;" | '''Installation:''' | |
− | | {{{installation}}} | + | | {{{installation|}}} |
|- | |- | ||
− | + | | style="padding: 0.5em 1em 0 2em;" colspan="2" | ''{{{comments| }}}'' | |
− | |||
− | |||
− | |||
|} | |} | ||
+ | |}</includeonly><noinclude> | ||
+ | ==Usage== | ||
+ | ===Copy & Paste Code=== | ||
+ | <pre style="overflow: auto;"><nowiki> | ||
+ | {{GraphicsSet | ||
+ | | image = | ||
+ | | download link = | ||
+ | | author = | ||
+ | | sprite = | ||
+ | | resolution = | ||
+ | | current version = | ||
+ | | compatible-min = | ||
+ | | compatible-max = | ||
+ | | installation = | ||
+ | | comments = | ||
+ | }} | ||
+ | </nowiki></pre> | ||
− | + | ===Examples=== | |
− | + | ====Using "compatible-min" and "compatible-max" params==== | |
− | <pre><nowiki> | + | <pre style="overflow: auto;"><nowiki> |
− | {{GraphicsSet | + | {{GraphicsSet |
− | |image=[[Image: | + | | image = [[Image:DFG13.png|270px]] |
− | |download link= | + | | download link = [http://www.bay12forums.com/smf/index.php?topic=53649.0 Official Forum Thread] |
− | |author=[[User: | + | | author = [[User:Mikemayday|Mikemayday]] |
− | |sprite= | + | | sprite = 16×16 |
− | |resolution= | + | | resolution = 1280 horizontal |
− | |installation= | + | | current version = 31_25_a |
− | |comments= | + | | compatible-min = 0.28.181.40d |
+ | | compatible-max = 0.31.25 | ||
+ | | installation = All things pre-packed, just edit init.txt to enter your desired vertical resolution and number of tiles | ||
+ | | comments = Combined with a customized main tileset. Just follow the link, download and enjoy, no need to mess around with files. Credits go to Beefmo, Sphr, DR, Tocky, Herrbdog, Bane18, Dragon Warrior games and me (although I did much more organizing and editing than actually creating). | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
− | + | =====Output===== | |
− | <pre><nowiki> | + | |
− | {{GraphicsSet | + | {{GraphicsSet |
− | |image=[[Image:Dorfs_800x300.png]] | + | | image = [[Image:DFG13.png|270px]] |
− | |download link=http://zarawesome.googlepages.com/dorfs_800x300.png | + | | download link = [http://www.bay12forums.com/smf/index.php?topic=53649.0 Official Forum Thread] |
− | |author=[[User:Zaratustra|Zaratustra]] | + | | author = [[User:Mikemayday|Mikemayday]] |
− | |sprite=10x12 | + | | sprite = 16×16 |
− | |resolution=800x300 | + | | resolution = 1280 horizontal |
− | |installation= 1.Change it to .bmp instead of .png.<br> 2. Put it in your \raw\graphics\example folder. | + | | current version = 31_25_a |
− | |comments=For those oldschool people. | + | | compatible-min = 0.28.181.40d |
+ | | compatible-max = 0.31.25 | ||
+ | | installation = All things pre-packed, just edit init.txt to enter your desired vertical resolution and number of tiles | ||
+ | | comments = Combined with a customized main tileset. Just follow the link, download and enjoy, no need to mess around with files. Credits go to Beefmo, Sphr, DR, Tocky, Herrbdog, Bane18, Dragon Warrior games and me (although I did much more organizing and editing than actually creating). | ||
+ | }} | ||
+ | |||
+ | ====Using "df compatible" parameter==== | ||
+ | <pre style="overflow: auto;"><nowiki> | ||
+ | {{GraphicsSet | ||
+ | | image = [[Image:Dorfs_800x300.png]] | ||
+ | | download link = http://zarawesome.googlepages.com/dorfs_800x300.png | ||
+ | | author = [[User:Zaratustra|Zaratustra]] | ||
+ | | sprite = 10x12 | ||
+ | | resolution = 800x300 | ||
+ | | df compatible = 0.28.181.40d | ||
+ | | installation = 1. Change it to .bmp instead of .png.<br/>2. Put it in your \raw\graphics\example folder. | ||
+ | | comments = For those oldschool people. | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
− | + | =====Output===== | |
− | {{GraphicsSet | + | {{GraphicsSet |
− | |image=[[Image:Dorfs_800x300.png]] | + | | image = [[Image:Dorfs_800x300.png]] |
− | |download link=http://zarawesome.googlepages.com/dorfs_800x300.png | + | | download link = http://zarawesome.googlepages.com/dorfs_800x300.png |
− | |author=[[User:Zaratustra|Zaratustra]] | + | | author = [[User:Zaratustra|Zaratustra]] |
− | |sprite=10x12 | + | | sprite = 10x12 |
− | |resolution=800x300 | + | | resolution = 800x300 |
− | |installation= 1.Change it to .bmp instead of .png.<br> 2. Put it in your \raw\graphics\example folder. | + | | df compatible = 0.28.181.40d |
− | |comments=For those oldschool people. | + | | installation = 1. Change it to .bmp instead of .png.<br/>2. Put it in your \raw\graphics\example folder. |
+ | | comments = For those oldschool people. | ||
}} | }} | ||
− | + | [[Category:Formatting_Templates]] | |
− | [[Category: | ||
</noinclude> | </noinclude> |
Latest revision as of 22:17, 24 May 2011
Usage[edit]
Copy & Paste Code[edit]
{{GraphicsSet | image = | download link = | author = | sprite = | resolution = | current version = | compatible-min = | compatible-max = | installation = | comments = }}
Examples[edit]
Using "compatible-min" and "compatible-max" params[edit]
{{GraphicsSet | image = [[Image:DFG13.png|270px]] | download link = [http://www.bay12forums.com/smf/index.php?topic=53649.0 Official Forum Thread] | author = [[User:Mikemayday|Mikemayday]] | sprite = 16×16 | resolution = 1280 horizontal | current version = 31_25_a | compatible-min = 0.28.181.40d | compatible-max = 0.31.25 | installation = All things pre-packed, just edit init.txt to enter your desired vertical resolution and number of tiles | comments = Combined with a customized main tileset. Just follow the link, download and enjoy, no need to mess around with files. Credits go to Beefmo, Sphr, DR, Tocky, Herrbdog, Bane18, Dragon Warrior games and me (although I did much more organizing and editing than actually creating). }}
Output[edit]
|
Using "df compatible" parameter[edit]
{{GraphicsSet | image = [[Image:Dorfs_800x300.png]] | download link = http://zarawesome.googlepages.com/dorfs_800x300.png | author = [[User:Zaratustra|Zaratustra]] | sprite = 10x12 | resolution = 800x300 | df compatible = 0.28.181.40d | installation = 1. Change it to .bmp instead of .png.<br/>2. Put it in your \raw\graphics\example folder. | comments = For those oldschool people. }}
Output[edit]
|