Template:RefactorTileset: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Link to special page displaying which pages use Template:RefactorTileset
imported>AntumDeluge
update for migrated tilesets directory
 
(57 intermediate revisions by the same user not shown)
Line 1: Line 1:
|-
|-
| {{{1|}}} || {{{2|}}} || {{{3|}}} || {{#if: {{{4|}}} | [https://github.com/arianne/stendhal/blob/{{{4|}}}/tiled/tileset/{{{1|}}}/{{{2|}}} {{#ifeq: {{{4|}}} | master | current | {{{4|}}} }}] | | }} || {{#if: {{{5|}}} | {{status|assigned|{{{5|}}}}} | {{status|unassigned}} | }} || {{#ifeq: {{{6|}}} | done | {{status|done}} | {{{6|}}} | }} || {{{7|}}}<noinclude>
| {{#if: {{{1|}}} | {{{1|}}} | <span style="font-style:italic;">(top-level)</span> }} || {{{2|}}} || {{#if: {{{3|}}} | style="text-align:center;"{{!}}{{{3|}}} | {{Status|unused}} }} || {{#if: {{{4|}}} | [https://github.com/arianne/stendhal/blob/{{{4|}}}/data/maps/tileset/{{{1|}}}/{{{2|}}} {{#ifeq: {{{4|}}} | master | current | {{{4|}}} }}] | {{Status|NA}} | }} || {{#if: {{{5|}}} | [https://github.com/arianne/stendhal/blob/{{{5|}}}/data/maps/tileset/{{{1|}}}/{{{2|}}} {{{5|}}}] | {{Status|NA}} }} || {{#if: {{{6|}}} | {{status|assigned|{{{6|}}}}} | {{status|unassigned}} | }} || {{#ifeq: {{{7|}}} | done | {{status|done}} | {{#ifeq: {{{7|}}} | deleted | {{Status|deleted}} | {{#ifeq: {{{7|}}} | replaced | {{Status|replaced}} | {{#ifeq: {{{7|}}} | removed | {{Status|removed}} | {{{7|}}} }} }} }} | }} || {{{8|}}}<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 tilesets 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>{{RefactorTileset|dir|filename|maps|branch|assigned|status|notes}}</nowiki> || <nowiki>|-</nowiki><br><nowiki>| <dir> || <filename> || <maps> || [https://github.com/arianne/stendhal/blob/<branch>/<dir>/<filename> <branch>] || <assigned> || <status> || <notes></nowiki>
| <nowiki>{{RefactorTileset|dir|filename|maps|branch|old|assigned|status|notes}}</nowiki> || <nowiki>|-</nowiki><br><nowiki>| <dir> || <filename> || <maps> || [https://github.com/arianne/stendhal/blob/<branch>/data/maps/tileset/<dir>/<filename> <branch>] || [https://github.com/arianne/stendhal/blob/<old>/data/maps/tileset/<dir>/<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 ==
Line 24: Line 24:
<p style="font-weight:bold;">Input:</p>
<p style="font-weight:bold;">Input:</p>


<blockquote>
<nowiki>{|</nowiki> class="wikitable"<br>
<nowiki>{| class="wikitable"</nowiki><br>
<nowiki>! Folder<br>(tiled/tileset) || Filename || # of<br>Maps || Git || Assigned || Status || Notes</nowiki><br>
<nowiki>! Folder<br>(data/maps/tileset) || Filename || # of<br>Maps || Git || Previous || Assigned || Status || Notes</nowiki><br>
<nowiki>{{RefactorTileset|item/textile|blankets.png|3|1b49133|||Needs assigned.}}</nowiki><br>
<nowiki>{{RefactorTileset|ground|brown.png|3|ab7c9df|FooUser|WIP|Work-in-progress}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|item/textile|blankets.png|3|1b49133||||Needs assigned.}}</nowiki><br>
<nowiki>{{RefactorTileset|building/door|closed_with_notice.png|3|master|BarUser|done|}} All done.</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>||brown.png|3|ab7c9df||FooUser|WIP|Work-in-progress}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|building/door|closed_with_notice.png|3|master|bb79b9f|BarUser|done|}} All done.</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|item/corpse|hanging_skeleton.png|4||f0d1393||deleted}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|plant/flower|vines_2.png|2||bb79b9f||replaced}}</nowiki><br>
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|plant/flower|vines_2.png|2||bb79b9f||removed}}</nowiki><br>
|}
|}
</blockquote>


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


<blockquote>
{| class="wikitable"
{| class="wikitable"
! Folder<br>(tiled/tileset) || Filename || # of<br>Maps || Git || Assigned || Status || Notes
! Folder<br>(data/maps/tileset) || Filename || # of<br>Maps || Git || Previous || Assigned || Status || Notes
{{RefactorTileset|item/textile|blankets.png|3|1b49133|||Needs assigned.}}
{{RefactorTileset|item/textile|blankets.png|3|1b49133||||Needs assigned.}}
{{RefactorTileset|ground|brown.png|3|ab7c9df|FooUser|WIP|Work-in-progress}}
{{RefactorTileset|ground|brown.png||ab7c9df||FooUser|WIP|Work-in-progress}}
{{RefactorTileset|building/door|closed_with_notice.png|3|master|BarUser|done|}} All done.
{{RefactorTileset|building/door|closed_with_notice.png|3|master|bb79b9f|BarUser|done|}} All done.
{{RefactorTileset|item/corpse|hanging_skeleton.png|4||f0d1393||deleted}}
{{RefactorTileset|plant/flower|vines_2.png|2||bb79b9f||replaced}}
{{RefactorTileset|plant/flower|vines_2.png|2||bb79b9f||removed}}
|}
|}
</blockquote>


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


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


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