Template:RefactorTileset: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Use Template:Status to color table cells
imported>AntumDeluge
Remove non-functioning "span" tags
Line 1: Line 1:
|-
|-
| {{{1|}}} || {{{2|}}} || <span style="text-align:center;">{{{3|}}}</span> || {{#if: {{{4|}}} | [https://github.com/arianne/stendhal/blob/{{{4|}}}/tiled/tileset/{{{1|}}}/{{{2|}}} {{{4|}}}] | | }} || {{#if: {{{5|}}} | {{status|assigned|{{{5|}}}}} | {{status|unassigned}} | }} || {{#ifeq: {{{6|}}} | done | {{status|done}} | {{{6|}}} | }} || {{{7|}}}<noinclude>
| {{{1|}}} || {{{2|}}} || {{{3|}}} || {{#if: {{{4|}}} | [https://github.com/arianne/stendhal/blob/{{{4|}}}/tiled/tileset/{{{1|}}}/{{{2|}}} {{{4|}}}] | | }} || {{#if: {{{5|}}} | {{status|assigned|{{{5|}}}}} | {{status|unassigned}} | }} || {{#ifeq: {{{6|}}} | done | {{status|done}} | {{{6|}}} | }} || {{{7|}}}<noinclude>


== Description ==
== Description ==

Revision as of 01:35, 16 November 2017

|- | || || || || 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.

Usage

Input Output
{{RefactorTileset|dir|filename|maps|branch|assigned|status|notes}} |-
| <dir> || <filename> || <maps> || [https://github.com/arianne/stendhal/blob/<branch>/<dir>/<filename> <branch>] || <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 || Assigned || Status || Notes
{{RefactorTileset|item/textile|blankets.png|3|1b49133|||Needs assigned.}}
{{RefactorTileset|ground|brown.png|3|ab7c9df|FooUser|WIP|Work-in-progress}}
{{RefactorTileset|building/door|closed_with_notice.png|3|master|BarUser|done|}} All done.
|}

Output:

Folder
(tiled/tileset)
Filename # of
Maps
Git Assigned Status Notes
item/textile blankets.png 3 1b49133 Needs assigned.
ground brown.png 3 ab7c9df FooUser WIP Work-in-progress
building/door closed_with_notice.png 3 master BarUser done ✓ All done.