Template:RefactorTileset

From Arianne
Jump to navigation Jump to search

|- | (top-level) || || style="text-align:center;background-color:#ff4500;"|UNUSED || 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:RefactorTileset

This template is for listing tilesets 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
{{RefactorTileset|dir|filename|maps|branch|old|assigned|status|notes}} |-
| <dir> || <filename> || <maps> || [https://github.com/arianne/stendhal/blob/<branch>/tiled/tileset/<dir>/<filename> <branch>] || [https://github.com/arianne/stendhal/blob/<old>/tiled/tileset/<dir>/<filename> <old>] || <assigned> || <status> || <notes>

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

Example

Input:

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

Output:

Folder
(tiled/tileset)
Filename # of
Maps
Git Previous Assigned Status Notes
item/textile blankets.png 3 1b49133 N/A Needs assigned.
ground brown.png UNUSED ab7c9df N/A FooUser WIP Work-in-progress
building/door closed_with_notice.png 3 current 12d51cd BarUser done ✓ All done.
item/corpse hanging_skeleton.png 4 N/A f0d1393 deleted
plant/flower vines_2.png 2 N/A f4632d6 replaced ✓
plant/flower vines_2.png 2 N/A f4632d6 removed ✓

See Also