Difference between revisions of "Template:UserCharacterChecklist"

Jump to navigation Jump to search
Removed sorting since it brings no benefit; used wiki tags to reduce to one page.
m (removed the spacers since it would shift with the sorting mechanic)
(Removed sorting since it brings no benefit; used wiki tags to reduce to one page.)
Line 1: Line 1:
<includeonly>
{| class="wikitable sortable" style="width: 50%; text-align: center;"
{| class="wikitable sortable" style="width: 50%; text-align: center;"
!Characters
!Characters
Line 31: Line 32:
}}
}}
|}
|}
</includeonly>
<noinclude>
=Template Usage=
The template is fairly simple to use, you just have to make sure that the variables are CASE-SENSITIVE; otherwise you will end up with a broken template.
This template is only used to checklist the characters you do have in the game, unlike any other PAD/Gacha styled games, this can be a collect-a-thon.
==To call the template==
<nowiki>
{{UserCharacterChecklist
<<< stuff >>>
}}
</nowiki>
==The defined variables==
All attributes has to start with "c", any attribute that does not start with "c" will be ignored based on the args loop.
<nowiki>
|c<character name>=<do have>/<don't have>
eg.
|cYoul=34
|cSitri=3/4
|cMoritaka=4/35
|cJebb=/35
----------
|cGroupColor<type>=<color>
eg.
|cGroupColorFire=red
</nowiki>
==Setting up the group colors==
<nowiki>
{{UserCharacterChecklist
|cGroupColorFire=lightcoral
}}
</nowiki>
This will set any future character the set group color. To set a new color for other characters, it has to be placed before the characters are defined.
<nowiki>
eg.
|cGroupColorWater=blue
|cSomeCharacter=345
|cGroupColorWhatever=...
</nowiki>
* Do notice that '''#''' will break the format when being parsed, so either use '''Color(r, g, b)''' or '''BY THE NAME COLOR''' by using a html color code table at whatever page it has.
== Additional Notes ==
* This template has no way of verifying if the character name is typed correctly. You are responsible to type the names correctly.
* This template has no way of verifying if the color is correctly set. If wrong, the template will break.
* This template has no way of adding the characters automatically. Make sure to update properly when needed
</noinclude>
359

edits

Navigation menu