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
(spelling, + default values for parameters) |
(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) |
||
Line 1: | Line 1: | ||
− | {| | + | <includeonly>{| |
| style="padding: 0.5em 2em 0 0;" valign="top" | {{{image|}}} | | style="padding: 0.5em 2em 0 0;" valign="top" | {{{image|}}} | ||
| valign="top" | | | valign="top" | | ||
{| | {| | ||
+ | |- {{#if:{{{download link|}}}||style="display:none;"}} | ||
| style="padding-right: 1em;" | '''Download:''' | | style="padding-right: 1em;" | '''Download:''' | ||
− | | {{{download link| | + | | {{{download link|}}} |
|- | |- | ||
| style="padding-right: 1em;" | '''Author:''' | | style="padding-right: 1em;" | '''Author:''' | ||
Line 11: | Line 12: | ||
| style="padding-right: 1em;" | '''Tile Size:''' | | style="padding-right: 1em;" | '''Tile Size:''' | ||
| {{{sprite|-}}} | | {{{sprite|-}}} | ||
− | |- | + | |- {{#if:{{{resolution|}}}||style="display:none;"}} |
| style="padding-right: 1em;" | '''Resolution:''' | | style="padding-right: 1em;" | '''Resolution:''' | ||
− | | {{{resolution| | + | | {{{resolution|}}} |
− | |- | + | |- {{#if:{{{current version|}}}||style="display:none;"}} |
| style="padding-right: 1em;" | '''Current Version:''' | | style="padding-right: 1em;" | '''Current Version:''' | ||
− | | {{{current version| | + | | {{{current version|}}} |
|- | |- | ||
| style="padding-right: 1em;" | '''DF Compatibility:''' | | style="padding-right: 1em;" | '''DF Compatibility:''' | ||
− | | {{{df compatible|-}}} | + | | {{#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:''' | | style="padding-right: 1em;" | '''Installation:''' | ||
− | | {{{installation| | + | | {{{installation|}}} |
|- | |- | ||
| style="padding: 0.5em 1em 0 2em;" colspan="2" | ''{{{comments| }}}'' | | style="padding: 0.5em 1em 0 2em;" colspan="2" | ''{{{comments| }}}'' | ||
|} | |} | ||
− | |}<noinclude> | + | |}</includeonly><noinclude> |
− | + | ==Usage== | |
− | <pre><nowiki> | + | ===Copy & Paste Code=== |
+ | <pre style="overflow: auto;"><nowiki> | ||
{{GraphicsSet | {{GraphicsSet | ||
| image = | | image = | ||
Line 36: | Line 38: | ||
| resolution = | | resolution = | ||
| current version = | | current version = | ||
− | | | + | | compatible-min = |
+ | | compatible-max = | ||
| installation = | | installation = | ||
| comments = | | comments = | ||
Line 42: | Line 45: | ||
</nowiki></pre> | </nowiki></pre> | ||
− | + | ===Examples=== | |
− | <pre><nowiki> | + | ====Using "compatible-min" and "compatible-max" params==== |
+ | <pre style="overflow: auto;"><nowiki> | ||
+ | {{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). | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | =====Output===== | ||
+ | |||
+ | {{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). | ||
+ | }} | ||
+ | |||
+ | ====Using "df compatible" parameter==== | ||
+ | <pre style="overflow: auto;"><nowiki> | ||
{{GraphicsSet | {{GraphicsSet | ||
| image = [[Image:Dorfs_800x300.png]] | | image = [[Image:Dorfs_800x300.png]] | ||
Line 50: | Line 85: | ||
| sprite = 10x12 | | sprite = 10x12 | ||
| resolution = 800x300 | | resolution = 800x300 | ||
− | + | | df compatible = 0.28.181.40d | |
− | | df compatible = | ||
| installation = 1. Change it to .bmp instead of .png.<br/>2. Put it in your \raw\graphics\example folder. | | installation = 1. Change it to .bmp instead of .png.<br/>2. Put it in your \raw\graphics\example folder. | ||
| comments = For those oldschool people. | | comments = For those oldschool people. | ||
Line 57: | Line 91: | ||
</nowiki></pre> | </nowiki></pre> | ||
− | + | =====Output===== | |
{{GraphicsSet | {{GraphicsSet | ||
Line 65: | Line 99: | ||
| sprite = 10x12 | | sprite = 10x12 | ||
| resolution = 800x300 | | resolution = 800x300 | ||
− | + | | df compatible = 0.28.181.40d | |
− | | df compatible = | ||
| installation = 1. Change it to .bmp instead of .png.<br/>2. Put it in your \raw\graphics\example folder. | | installation = 1. Change it to .bmp instead of .png.<br/>2. Put it in your \raw\graphics\example folder. | ||
| comments = For those oldschool people. | | comments = For those oldschool people. |
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]
|