Difference between revisions of "Template talk:UserCharacterChecklist"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
m
m (additional section and notes)
Line 3: Line 3:


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.
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==
==To call the template==
Line 11: Line 12:
</nowiki>
</nowiki>


==The defined attributes==
 
==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.
All attributes has to start with "c", any attribute that does not start with "c" will be ignored based on the args loop.


Line 21: Line 23:
|cSitri=3/4
|cSitri=3/4
|cMoritaka=4/35
|cMoritaka=4/35
|cJebb=/35


----------
----------
Line 29: Line 32:
|cGroupColorFire=red
|cGroupColorFire=red
</nowiki>
</nowiki>


==Setting up the group colors==
==Setting up the group colors==
Line 45: Line 49:
|cGroupColorWhatever=...
|cGroupColorWhatever=...
</nowiki>
</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

Revision as of 04:54, 27 February 2017

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

{{UserCharacterChecklist
<<< stuff >>>
}}


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.

|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


Setting up the group colors

{{UserCharacterChecklist
|cGroupColorFire=lightcoral
}}

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.

eg.
|cGroupColorWater=blue
|cSomeCharacter=345
|cGroupColorWhatever=...

  • 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