Template:RefactorNPCSprite: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Create Template:RefactorNPCSprite
imported>AntumDeluge
Use "Template:Status|removed"
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
|-
|-
| {{{1|}}} || {{#if: {{{2|}}} | [https://github.com/arianne/stendhal/blob/master/src/games/stendhal/server/maps/{{{2|}}}.java {{{2|}}}] | {{Status|NA}} }} || {{#if: {{{3|}}} | {{{3|}}} | {{Status|NA}} }} || {{#if: {{{4|}}} | [https://github.com/arianne/stendhal/blob/{{{4|}}}/data/sprites/npc/{{{1|}}} {{#ifeq: {{{4|}}} | master | current | {{{4|}}} }}] | | }} || {{#if: {{{5|}}} | {{status|assigned|{{{5|}}}}} | {{status|unassigned}} | }} || {{#ifeq: {{{6|}}} | done | {{status|done}} | {{{6|}}} | }} || {{{7|}}}<noinclude>
| {{{1|}}} || {{#if: {{{2|}}} | {{#ifeq: {{{2|}}} | unused | {{Status|unused}} | {{{2|}}} }} | {{Status|NA}} }} || {{#if: {{{3|}}} | [https://github.com/arianne/stendhal/blob/{{{3|}}}/data/sprites/npc/{{{1|}}} {{#ifeq: {{{3|}}} | master | current | {{{3|}}} }}] | {{Status|NA}} | }} || {{#if: {{{4|}}} | [https://github.com/arianne/stendhal/blob/{{{4|}}}/data/sprites/npc/{{{1|}}} {{{4|}}}] | {{Status|NA}} }} || {{#if: {{{5|}}} | {{status|assigned|{{{5|}}}}} | {{status|unassigned}} | }} || {{#ifeq: {{{6|}}} | done | {{status|done}} | {{#ifeq: {{{6|}}} | removed | {{Status|removed}} | {{{6|}}} }} }} || {{{7|}}}<noinclude>


== Description ==
== Description ==


<span style="font-weight:bold;">Template:{{PAGENAME}}</span>
'''Template:{{PAGENAME}}'''


This template is for listing tilesets that need refactoring. Each call to it should be inside a wikitable.
This template is for listing NPC 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>
'''''FIXME:''' Would be nice if entire table could be created using template.''


== Usage ==
== Usage ==
Line 15: Line 15:
! Input || Output
! Input || Output
|-
|-
| <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|filename|sources|names|branch|assigned|status|notes}}</nowiki> || <nowiki>|-</nowiki><br><nowiki>| <filename> || <sources> || <names> || [https://github.com/arianne/stendhal/blob/<branch>/data/sprites/npc/<filename> <branch>] || <assigned> || <status> || <notes></nowiki>
| <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|filename|sources|branch|old|assigned|status|notes}}</nowiki> || <nowiki>|-</nowiki><br><nowiki>| <filename> || <sources> || [https://github.com/arianne/stendhal/blob/<branch>/data/sprites/npc/<filename> <branch>] || [https://github.com/arianne/stendhal/blob/<old>/data/sprites/npc/<filename> <old>] || <assigned> || <status> || <notes></nowiki>
|}
|}


<i><b>Note:</b> Text after the call to this template will be placed in "Notes" column.</i>
'''''Note:''' Text after the call to this template will be placed in "Notes" column.''


== Example ==
== Example ==


<p style="font-weight:bold;">Input:</p>
<p>'''Input:'''</p>


<blockquote>
<nowiki>{|</nowiki> class="wikitable"<br>
<nowiki>{|</nowiki> class="wikitable"<br>
<nowiki>! Filename<br>(data/sprites/npc) || Source(s) || Name(s) || Git || Assigned || Status || Notes</nowiki><br>
<nowiki>! Filename<br>(data/sprites/npc) || Source(s) || Git || Previous || Assigned || Status || Notes</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|adosbankassistantnpc.png|ados/bank/BankNPC|Rachel|0209e35|||Needs assigned.}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|adosbankassistantnpc.png|{{NPCSource|ados/bank/BankNPC|Rachel}}|0209e35||||Needs assigned.}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|blacksmithnpc.png|semos/blacksmith/BlacksmithNPC|Xoderos|8178fd1|FooUser|WIP|Work-in-progress}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|blacksmithnpc.png|{{NPCSource|semos/blacksmith/BlacksmithNPC||Xoderos}}|8178fd1||FooUser|WIP|Work-in-progress}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|animal/puppy.png|semos/city/PuppyNPC||master|BarUser|done|}} All done.</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|animal/puppy.png|{{NPCSource|semos/city/PuppyNPC}}|master||BarUser|done|}} All done.</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|animal/cat.png||master|2ccdaaf}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|youngsoldiernpc.png|
{{NPCSource|semos/kanmararn/CowardSoldierNPC||Henry}}<br>{{NPCSource|ados/swamp/DeathmatchRecruiterNPC||Thonatus}}<br>{{NPCSource|quests/revivalweeks/SoldierNPCs||Hibitus & Lucanus}}|</nowiki><br>
<nowiki>{{</nowiki>PAGENAME<nowiki>}}|woman_001_npc.png|unused||||removed}}
}}</nowiki><br>
|}
|}
</blockquote>


<p style="font-weight:bold;">Output:</p>
<p>'''Output:'''</p>


<blockquote>
{| class="wikitable"
{| class="wikitable"
! Filename<br>(data/sprites/npc) || Source(s) || Name(s) || Git || Assigned || Status || Notes
! Filename<br>(data/sprites/npc) || Source(s) || Git || Previous || Assigned || Status || Notes
{{RefactorNPCSprite|adosbankassistantnpc.png|ados/bank/BankNPC|Rachel|0209e35|||Needs assigned.}}
{{RefactorNPCSprite|adosbankassistantnpc.png|{{NPCSource|ados/bank/BankNPC|Rachel}}|0209e35||||Needs assigned.}}
{{RefactorNPCSprite|blacksmithnpc.png|semos/blacksmith/BlacksmithNPC|Xoderos|8178fd1|FooUser|WIP|Work-in-progress}}
{{RefactorNPCSprite|blacksmithnpc.png|{{NPCSource|semos/blacksmith/BlacksmithNPC||Xoderos}}|8178fd1||FooUser|WIP|Work-in-progress}}
{{RefactorNPCSprite|animal/puppy.png|semos/city/PuppyNPC||master|BarUser|done|}} All done.
{{RefactorNPCSprite|animal/puppy.png|{{NPCSource|semos/city/PuppyNPC}}|master||BarUser|done|}} All done.
{{RefactorNPCSprite|animal/cat.png||master|2ccdaaf}}
{{RefactorNPCSprite|youngsoldiernpc.png|
{{NPCSource|semos/kanmararn/CowardSoldierNPC||Henry}}<br>{{NPCSource|ados/swamp/DeathmatchRecruiterNPC||Thonatus}}<br>{{NPCSource|quests/revivalweeks/SoldierNPCs||Hibitus & Lucanus}}|
}}
{{RefactorNPCSprite|woman_001_npc.png|unused||||removed}}
|}
|}
</blockquote>


== See Also ==
== See Also ==


* [[Templates|List of templates]]
* [[Special:WhatLinksHere/Template:{{PAGENAME}} | Pages using Template:{{PAGENAME}}]]




[[Category:Stendhal]]
[[Category:Stendhal]]
[[Category:Development]]
[[Category:Development]]
[[Category:RefactoringTemplates]]