Template:RefactorNPCSprite

From Arianne
Jump to navigation Jump to search

|- | || style="text-align:center;background-color:#e6e6fa;"|N/A || style="text-align:center;background-color:#e6e6fa;"|N/A || style="text-align:center;background-color:#e6e6fa;"|N/A || style="text-align:center;background-color:#ff0000;"| || ||

Description

Template:RefactorNPCSprite

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

FIXME: Would be nice if entire table could be created using template.

Usage

Input Output
{{RefactorNPCSprite|filename|sources|branch|old|assigned|status|notes}} |-
| <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>

Note: Text after the call to this template will be placed in "Notes" column.

Example

Input:

{| class="wikitable"
! Filename<br>(data/sprites/npc) || Source(s) || Git || Previous || Assigned || Status || Notes
{{RefactorNPCSprite|adosbankassistantnpc.png|{{NPCSource|ados/bank/BankNPC|Rachel}}|0209e35||||Needs assigned.}}
{{RefactorNPCSprite|blacksmithnpc.png|{{NPCSource|semos/blacksmith/BlacksmithNPC||Xoderos}}|8178fd1||FooUser|WIP|Work-in-progress}}
{{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}}|
{{PAGENAME}}|woman_001_npc.png|unused||||removed}} }}
|}

Output:

Filename
(data/sprites/npc)
Source(s) Git Previous Assigned Status Notes
adosbankassistantnpc.png Rachel 0209e35 N/A Needs assigned.
blacksmithnpc.png semos/blacksmith/BlacksmithNPC(Xoderos) 8178fd1 N/A FooUser WIP Work-in-progress
animal/puppy.png semos/city/PuppyNPC current N/A BarUser done ✓ All done.
animal/cat.png N/A current 2ccdaaf
youngsoldiernpc.png semos/kanmararn/CowardSoldierNPC(Henry)
ados/swamp/DeathmatchRecruiterNPC(Thonatus)
quests/revivalweeks/SoldierNPCs(Hibitus & Lucanus)
N/A N/A
woman_001_npc.png UNUSED N/A N/A removed ✓

See Also