25
edits
(→PBR Box Sprites: new section) |
(→Cleaner Template Code: new section) |
||
Line 22: | Line 22: | ||
May I ask an admin to add a parameter to this template to use the [[a:Category:Pokémon Battle Revolution box sprites|Pokémon Battle Revoultion Box Sprites]] similar to how {{tl|Pokémon/3}} uses the Box Sprites from Pokémon Colosseum and XD? Thanks. [[User:Adamws|Adamws]] ([[User talk:Adamws|talk]]) 01:17, 5 January 2018 (UTC) | May I ask an admin to add a parameter to this template to use the [[a:Category:Pokémon Battle Revolution box sprites|Pokémon Battle Revoultion Box Sprites]] similar to how {{tl|Pokémon/3}} uses the Box Sprites from Pokémon Colosseum and XD? Thanks. [[User:Adamws|Adamws]] ([[User talk:Adamws|talk]]) 01:17, 5 January 2018 (UTC) | ||
== Cleaner Template Code == | |||
Hey, I have been going through the various 'mega templates' and noticed that a lot of them are using complex links rather than templates that already are in place. some examples for this template would include: | |||
<br>'''''<nowiki>[[{{{type2|Unknown}}} (type)|{{color|FFFFFF|'''{{{type2|Unknown}}}'''}}]]</nowiki>''''' | |||
<br>Rather than using the more concise and readable: | |||
<br> | |||
'''''<nowiki>{{tcolor|{{{type2|Unknown}}}|FFFFFF|'''{{{type2|Unknown}}}'''}}</nowiki>''''' | |||
<br>when put into the template both look exactly the same. | |||
<br> | |||
{| style="background: #000;" | |||
|[[{{{type2|Unknown}}} (type)|{{color|FFFFFF|'''{{{type2|Unknown}}}'''}}]] | |||
|} | |||
{| style="background: #000;" | |||
|{{tcolor|{{{type2|Unknown}}}|FFFFFF|'''{{{type2|Unknown}}}'''}} | |||
|} | |||
I have almost this entire template redone in that way and I am working on some of the others. If anyone able to edit the major templates is interested in seeing how I have changed the code for this template and others please let me know. |
edits