Template:RefactorAsset
Template Output
|- | (top-level) || || 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:RefactorAsset
This template is for listing assets that need refactoring. Each call to it should be inside a properly formatted wikitable.
Usage
- {{RefactorAsset|dir|filename|[branch]|[old]|[assigned]|[status]|[notes]}}
Parameters
Name Required Description dir ✓ Relative directory where file is located. filename ✓ Filename of file, including extension (e.g., "png"). branch Git branch/commit on which current revision is located. old Git branch/commit on which previous revision is located. assigned User to which refactoring responsibilities are reserved. status Current status of refactoring process. notes Extra notes.
Examples
Raw
Input | Output |
---|---|
{{RefactorAsset|dir|filename|branch|old|assigned|status|notes}} | |- | <dir> || <filename> || [https://github.com/arianne/stendhal/blob/<branch>/<dir>/<filename> <branch>] || [https://github.com/arianne/stendhal/blob/<old>/<dir>/<filename> <old>] || <assigned> || <status> || <notes> |
Note: Text after the call to this template will be placed in "Notes" column.
Formatted within Table
Input:
{| class="wikitable"
! Folder<br>(data/sprites) || Filename || Git || Previous || Assigned || Status || Notes
{{RefactorAsset|data/sprites/monsters/minotaur|minotaur.png|master|f69e08e|FooUser|WIP|Work-in-progress}}
{{RefactorAsset|data/sprites|chest.png|284580e||||Needs assigned.}}
{{RefactorAsset|data/sprites/npc/animal|cat.png||2ccdaaf|BarUser|done|}} All done.
{{RefactorAsset|data/sprites/npc/animal|cat.png||2ccdaaf|NA|removed|}}
|}
Output:
Folder (data/sprites) |
Filename | Git | Previous | Assigned | Status | Notes |
---|---|---|---|---|---|---|
data/sprites/monsters/minotaur | minotaur.png | current | f69e08e | FooUser | WIP | Work-in-progress |
data/sprites | chest.png | 284580e | N/A | Needs assigned. | ||
data/sprites/npc/animal | cat.png | N/A | 2ccdaaf | BarUser | done ✓ | All done. |
data/sprites/npc/animal | cat.png | N/A | 2ccdaaf | NA | removed ✓ |