Template:RefactorTileset
|- | (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>/data/maps/tileset/<dir>/<filename> <branch>] || [https://github.com/arianne/stendhal/blob/<old>/data/maps/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>(data/maps/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|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}}
|}
Output:
Folder
(data/maps/tileset)Filename # of
MapsGit 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 bb79b9f BarUser done ✓ All done. item/corpse hanging_skeleton.png 4 N/A f0d1393 deleted plant/flower vines_2.png 2 N/A bb79b9f replaced ✓ plant/flower vines_2.png 2 N/A bb79b9f removed ✓