Difference between revisions of "User:Alex95/Sandbox"

1,578 bytes added ,  05:36, 17 August 2023
m
Line 1: Line 1:
==Templates within Templates that could just be one Template==
==Templates that should be integrated/removed==
*{{t|Infobox Begin}}
*{{t|tablebegin}} - Just <tt>{|</tt> in "includeonly" tags. Outdated. Only works if templates are in pieces, which is something that should be avoided.
*{{t|Infobox Table}}
*{{t|Infobox Begin}} - Used to define infobox type, color, picture, etc. Starts expanded.
*{{t|Infobox-External}}
*{{t|Infobox Table}} - Used to define details of the subject. Parameters are not fully fleshed out and have a limit scope. Any additional parameters (like Chronology) need to be hand-coded in. Starts collapsed.
*{{t|Infobox End}}
*{{t|Infobox-External}} - Used to define external links. Boarder is not set up properly, resulting in an oddity with the rest of the template. Starts collapsed.
*{{t|Game color border}}
*{{t|Infobox End}} - Just <tt>|}</tt> in "includeonly" tags. Outdated. Only works if templates are in pieces, which is something that should be avoided.
*{{t|Game color 1}}
*{{t|Game color border}}, {{t|Character color border}}, etc. - Templates that are never used outside of their intended infobox, and are never defined outside of the template itself. It's easier to just type out the color.
*{{t|Game color 2}}
*{{t|Game color 1}}, {{t|Character color 1}}, etc. - "
*{{t|Game color 2}}, {{t|Character color 2}}, etc. - "


===Ignored parameters===
===Parameters that should be integrated/removed===
*class
*class - There's no default to parameters like templates have, so this should just be written out anyway. Sometimes isn't even properly defined.
*boarder
*boarder - Changed by {{t|Game color border}}, etc. Should just be written out.
*style1
*style1 - Changed by {{t|Game color 1}}, etc. Should just be written out.
*style2
*style2 - Changed by {{t|Game color 2}}, etc. Should just be written out.
*subject
*subject - Irrelevant parameter. Subject is the infobox template type. Parameter is largely ignored.
*style
*style - Repetitive parameter. Could be defined by a unified parameter.
*colors
*colors - Repetitive parameter. Could be defined by a unified parameter.
*Info1name, Info1details, and such
*Info1name, Info1details, and such - Parameters that are specifically meant to call other parameters. Just use the intended parameter.
Ignoring these will not cause the template to break, but will result in leftover code.
Ignoring these will not cause the template to break, but will result in leftover code.
===Additional parameters===
*Interwiki links


=Templates=
=Templates=
448

edits