Template:RefactorEnemySprite: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Create Template:RefactorEnemySprite
imported>AntumDeluge
Link to creature's page on stendhalgame.org
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''Template output:'''
|-
<blockquote></noinclude>|-
| {{#if: {{{1|}}} | {{{1|}}} | <span style="font-style:italic;">(top-level)</span> }} || {{{2|}}} || style="text-align:center;"{{!}}{{{3|}}} || style="text-align:center;"{{!}}{{{4|}}} || {{#if: {{{5|}}} | [https://github.com/arianne/stendhal/blob/{{{5|}}}/data/sprites/monsters{{#if: {{{1|}}} | /{{{1|}}} | }}/{{{2|}}} {{#ifeq: {{{5|}}} | master | current | {{{5|}}} }}] | | }} || {{#if: {{{6|}}} | [https://github.com/arianne/stendhal/blob/{{{6|}}}/data/sprites/monsters{{#if: {{{1|}}} | /{{{1|}}} | }}/{{{2|}}} {{{6|}}}] | {{Status|NA}} }} || {{#if: {{{7|}}} | {{status|assigned|{{{7|}}}}} | {{status|unassigned}} | }} || {{#ifeq: {{{8|}}} | done | {{status|done}} | {{{8|}}} | }} || {{{9|}}}<noinclude>
| {{#if: {{{1|}}} | {{{1|}}} | <span style="font-style:italic;">(top-level)</span> }} || {{{2|}}} {{#if: {{{10|}}} | ({{{10|}}}) | }} || {{#ifeq: {{{3|}}} | unused | {{Status|unused}} | style="text-align:center;"{{!}}{{#if:
{{{3|}}}|[https://stendhalgame.org/creature/{{#if:{{{10|}}}|{{#replace:{{{10|}}}||_}}|{{#replace:{{{2|}}}|.png|}}}}.html {{{3|}}}]|}} }} || style="text-align:center;"{{!}}{{{4|}}} || {{#if: {{{5|}}} | [https://github.com/arianne/stendhal/blob/{{{5|}}}/data/sprites/monsters{{#if: {{{1|}}} | /{{{1|}}} | }}/{{{2|}}} {{#ifeq: {{{5|}}} | master | current | {{{5|}}} }}] | {{Status|NA}} | }} || {{#if: {{{6|}}} | [https://github.com/arianne/stendhal/blob/{{{6|}}}/data/sprites/monsters{{#if: {{{1|}}} | /{{{1|}}} | }}/{{{2|}}} {{{6|}}}] | {{Status|NA}} }} || {{#if: {{{7|}}} | {{status|assigned|{{{7|}}}}} | {{status|unassigned}} | }} || {{#ifeq: {{{8|}}} | done | {{status|done}} | {{{8|}}} | }} || {{{9|}}}<noinclude></blockquote>


== Description ==
== Description ==
Line 6: Line 8:
<span style="font-weight:bold;">Template:{{PAGENAME}}</span>
<span style="font-weight:bold;">Template:{{PAGENAME}}</span>


This template is for listing sprites that need refactoring. Each call to it should be inside a wikitable.
This template is for listing enemy sprites that need refactoring. Each call to it should be inside a wikitable.

<i><b>FIXME:</b> Would be nice if entire table could be created using template.</i>


== Usage ==
== Usage ==
Line 15: Line 15:
! Input || Output
! Input || Output
|-
|-
| <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|dir|filename|level|dimensions|branch|old|assigned|status|notes}}</nowiki> || <nowiki>|-</nowiki><br><nowiki>| <dir> || <filename> || level || dimensions || [https://github.com/arianne/stendhal/blob/<branch>/data/sprites/<dir>/<filename> <branch>] || [https://github.com/arianne/stendhal/blob/<old>/data/sprites/<dir>/<filename> <old>] || <assigned> || <status> || <notes></nowiki>
| <nowiki>{{</nowiki>{{PAGENAME}} <nowiki>| dir | filename | level | dimensions | branch | old | assigned | status | notes | alt. name}}</nowiki> || <nowiki>|-</nowiki><br><nowiki>| <dir> || <filename> (<alt. name>) || level || dimensions || [https://github.com/arianne/stendhal/blob/<branch>/data/sprites/<dir>/<filename> <branch>] || [https://github.com/arianne/stendhal/blob/<old>/data/sprites/<dir>/<filename> <old>] || <assigned> || <status> || <notes></nowiki>
|}
|}


Line 33: Line 33:
| 4 || Dimensions
| 4 || Dimensions
|-
|-
| 4 || Link to location in Git repository
| 5 || Git (Link to location in Git repository)
|-
|-
| 5 || Link to previous sprite in Git repository
| 6 || Previous (Link to previous sprite in Git repository)
|-
|-
| 6 || User assigned
| 7 || Assigned (User assigned)
|-
|-
| 7 || Status
| 8 || Status
|-
|-
| 8 || Notes
| 9 || Notes
|-
| 10 || Alt. Name
|}
|}


Line 53: Line 55:
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|mythical_being|centaur.png|56|48x64|master|4086c9c|AntumDeluge|done|All done.}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|mythical_being|centaur.png|56|48x64|master|4086c9c|AntumDeluge|done|All done.}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|minotaur|minotaur.png|45|48x64|master|f69e08e|FooUser|WIP|Work-in-progress}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|minotaur|minotaur.png|45|48x64|master|f69e08e|FooUser|WIP|Work-in-progress}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|orc|orc.png|10|48x64|}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|dwarf|deep_guardian_dwarf.png|unused|48x64||4086c9c}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|gnome|woman_gnome.png|2|48x64|master|4086c9c|JOeJOe|done|Based on <i>gnome</i> sprite.|mage gnome}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|human|armored_leader.png|140|x|master|f96dd38|||notes|blordrough corporal}}</nowiki><br>
|}
|}
</blockquote>
</blockquote>
Line 63: Line 69:
{{RefactorEnemySprite|mythical_being|centaur.png|56|48x64|master|4086c9c|AntumDeluge|done|All done.}}
{{RefactorEnemySprite|mythical_being|centaur.png|56|48x64|master|4086c9c|AntumDeluge|done|All done.}}
{{RefactorEnemySprite|minotaur|minotaur.png|45|48x64|master|f69e08e|FooUser|WIP|Work-in-progress}}
{{RefactorEnemySprite|minotaur|minotaur.png|45|48x64|master|f69e08e|FooUser|WIP|Work-in-progress}}
{{RefactorEnemySprite|orc|orc.png|10|48x64|}}
{{RefactorEnemySprite|dwarf|deep_guardian_dwarf.png|unused|48x64||4086c9c}}
{{RefactorEnemySprite|gnome|woman_gnome.png|2|48x64|master|4086c9c|JOeJOe|done|Based on <i>gnome</i> sprite.|mage gnome}}
{{RefactorEnemySprite|human|armored_leader.png|140|x|master|f96dd38|||notes|blordrough corporal}}
|}
|}
</blockquote>
</blockquote>

== TODO ==

* Find a way to parse ''.png'' extension.
* '''''FIXME:''' Would be nice if entire table could be created using template.''


== See Also ==
== See Also ==
Line 73: Line 88:
[[Category:Stendhal]]
[[Category:Stendhal]]
[[Category:Development]]
[[Category:Development]]
[[Category:RefactoringTemplates]]