Template:RefactorTileset: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge Clean up template a little (still needs BG coloring fixed for 'assigned' & 'status' columns) |
imported>AntumDeluge Use Template:Status to color table cells |
||
| Line 1: | Line 1: | ||
|- |
|||
<noinclude> |
|||
| ⚫ | | {{{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> |
||
== Description == |
|||
<span style="font-weight:bold;">Template:{{PAGENAME}}</span> |
|||
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. |
||
== Usage == |
|||
{| class="wikitable" |
{| class="wikitable" |
||
! Input || Output |
! Input || Output |
||
| Line 6: | Line 15: | ||
| <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|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> |
||
|} |
|} |
||
</noinclude>|- |
|||
<i><b>Note:</b> Text after the call to this template will be placed in "Notes" column.</i> |
|||
| ⚫ | | {{{1|}}} || {{{2|}}} || {{{3|}}} || {{#if: {{{4|}}} | [https://github.com/arianne/stendhal/blob/{{{4|}}}/tiled/tileset/{{{1|}}}/{{{2|}}} {{{4|}}}] | | }} || {{#if: {{{5|}}} | {{{5|}}} | |
||
<noinclude> |
|||
== Example == |
|||
Testing: |
|||
<p style="font-weight:bold;">Input:</p> |
|||
<nowiki>{|</nowiki> class="wikitable"<br> |
|||
<nowiki>! Folder<br>(tiled/tileset) || Filename || # of<br>Maps || Git || 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>{{RefactorTileset|building/door|closed_with_notice.png|3|master|BarUser|done|}} All done.</nowiki><br> |
|||
|} |
|||
<p style="font-weight:bold;">Output:</p> |
|||
{| class="wikitable" |
{| class="wikitable" |
||
! Folder<br>(tiled/tileset) || Filename || # of |
! Folder<br>(tiled/tileset) || Filename || # of<br>Maps || Git || Assigned || Status || Notes |
||
{{RefactorTileset|item/textile|blankets.png|3| |
{{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. |
|||
|} |
|} |
||
</noinclude> |
|||