The Sims Wiki talk:Development Portal: Difference between revisions

imported>Nikel23
imported>LostInRiverview
Line 538:
 
:One thing I'd like to point out is, in Vgseries, it uses <code><nowiki>{{#switch:{{vgcode|{{{1}}}}}</nowiki></code> as its input, while MGL uses simple <code><nowiki>{{#switch: {{{1}}}</nowiki></code>. There is no significant difference at all. The only thing is that, every time we use MGL, we have to explicitly write <code><nowiki>{{MGL|{{Vgcode|{{{game}}}}}}}</nowiki></code> (which is the current style {{T|Sim}} uses because none of the GCTs nor MGL implicitly uses Vgcode), while we can simply write <code><nowiki>{{Vgseries|{{{game}}}}}</nowiki></code> in Vgseries. My point is that Vgseries method encourages practicality and efficiency in using the template so we don't have to write Vgcode over and over. Let the template handle it itself. It's just a design practice that I think is better in maintenance. [[User:Nikel23|'''<span style="color:#007FFF; text-shadow: #ACE5EE 0 4px 4px;">Nikel</span>''']] [[User talk:Nikel23|<span style="color: #30D5C8 ; text-shadow: #00FFEF 0 4px 4px;"><sub>''Talk''</sub></span>]] <sub>–</sub> [[The Sims Wiki:Featured Media/Voting|<span style="color:red ; text-shadow:#E97451 0 4px 4px;"><sub>''Vote!''</sub></span>]] 05:40, September 20, 2015 (UTC)
::I definitely agree with your point about efficiency. The only reason I chose not to implement vgcode within the MGL is because vgcode is already invoked for each of the GCTs on the various infoboxes. I wanted to avoid a scenario where I'd have to edit every template that uses a game color template (spoiler alert: there are several), especially when each template that uses a GCT often uses the templates ''dozens'' of times. For example, {{t|Game}} invokes {{t|Vgcode}} a total of 72 times, for each of the GCTs that appear in that template. I must also admit that I wasn't even aware that {{t|Vgseries}} existed; had I known I probably would've suggested using that instead of making a new template, especially since the whole point of this plan is to reduce the number of templates that need to be edited when a new game is announced. - '''[[User:LostInRiverview|<font color="navy">LostInRiverview</font>]]<sup> [[User_talk:LostInRiverview|<font color="green">talk</font>]] • [[User_blog:LostInRiverview|<font color="green">blog</font>]] • [[Special:Contributions/LostInRiverview|<font color="green">contribs</font>]]</sup>''' 06:47, September 20, 2015 (UTC)