User:Ruse/Templates/Vanquish/All

{{#ifeq: {{{collapsed|n}}} | y | {{{!}} class="expandable" style="width:850px; background:none" align="center" {{!}} style="background-color:{{{{{profession|x}}}-color|background}}" align="left" {{!}} Vanquishing Progress | {{{!}} style="width:864px; background-color:{{{background|none}}}" align="center" cellspacing="5" {{!}} class="plainlinks" style="background-color:{{{{{profession|x}}}-color|background}}; border:1px solid black; font-size:12pt" align="left" {{!}} link  {{{name|Character Name}}} [{{fullurle:User:{{{username|Ruse}}}/Characters/{{{name|Character Name}}}/Vanquish Progress|action=edit}} + ]}}
 * style="background-color:{{{{{profession|x}}}-color|background}}; {{#ifeq: {{{collapsed|n}}} | y | | border:1px solid black}}" align="center" |
 * }
 * }

Usage


Parameters

 * username
 * Your username on the wiki


 * background
 * Use to change the background colour outside the table


 * collapsed
 * set to y if you use the template in either my main character template or in my character expansion template linked below


 * prophecies /factions/nightfall/gwen
 * set to y if you want that sections vanquish list to stay expanded


 * Vanquish progress values
 * For these there are 2 possible values: 0 or 1
 * 0 - Area Not Vanquished
 * 1 - Area Vanquished
 * Default value is 0

Code almost entirely by Kakarot with very minor tweaks by me.