Template:RefactorNPCSprite: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge Fix description |
imported>AntumDeluge Use "Template:Status|removed" |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
|- |
|- |
||
| {{{1|}}} || {{#if: {{{2|}}} | {{{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|}}} | {{status|assigned|{{{ |
| {{{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 == |
||
'''Template:{{PAGENAME}}''' |
|||
This template is for listing NPC sprites 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. |
||
'''''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|branch|assigned|status|notes}}</nowiki> || <nowiki>|-</nowiki><br><nowiki>| <filename> || <sources> || [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> |
||
|} |
|} |
||
'''''Note:''' Text after the call to this template will be placed in "Notes" column.'' |
|||
== Example == |
== Example == |
||
<p |
<p>'''Input:'''</p> |
||
<blockquote> |
|||
<nowiki>{|</nowiki> class="wikitable"<br> |
<nowiki>{|</nowiki> class="wikitable"<br> |
||
<nowiki>! Filename<br>(data/sprites/npc) || Source(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|{{NPCSource|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|{{NPCSource|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|{{NPCSource|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}}</nowiki><br> |
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|animal/cat.png||master|2ccdaaf}}</nowiki><br> |
||
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|youngsoldiernpc.png| |
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|youngsoldiernpc.png| |
||
{{NPCSource|semos/kanmararn/CowardSoldierNPC||Henry}}<br>{{NPCSource|ados/swamp/DeathmatchRecruiterNPC||Thonatus}}<br>{{NPCSource|quests/revivalweeks/SoldierNPCs||Hibitus & Lucanus}}| |
{{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> |
}}</nowiki><br> |
||
|} |
|} |
||
</blockquote> |
|||
<p |
<p>'''Output:'''</p> |
||
<blockquote> |
|||
{| class="wikitable" |
{| class="wikitable" |
||
! Filename<br>(data/sprites/npc) || Source(s) || Git || Assigned || Status || Notes |
! Filename<br>(data/sprites/npc) || Source(s) || Git || Previous || Assigned || Status || Notes |
||
{{RefactorNPCSprite|adosbankassistantnpc.png|{{NPCSource|ados/bank/BankNPC|Rachel}}|0209e35|||Needs assigned.}} |
{{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|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/puppy.png|{{NPCSource|semos/city/PuppyNPC}}|master||BarUser|done|}} All done. |
||
{{RefactorNPCSprite|animal/cat.png||master}} |
{{RefactorNPCSprite|animal/cat.png||master|2ccdaaf}} |
||
{{RefactorNPCSprite|youngsoldiernpc.png| |
{{RefactorNPCSprite|youngsoldiernpc.png| |
||
{{NPCSource|semos/kanmararn/CowardSoldierNPC||Henry}}<br>{{NPCSource|ados/swamp/DeathmatchRecruiterNPC||Thonatus}}<br>{{NPCSource|quests/revivalweeks/SoldierNPCs||Hibitus & Lucanus}}| |
{{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]] |
|||