Template talk:Problems/Wii Balance Board Required: Difference between revisions

no edit summary
No edit summary
Line 4: Line 4:
:: OK, I like not having a completely independently defined template, but at the same time this seems a bit fragile. Might want to generate a category if the regex fails to make it easier to pay attention to that. [[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 07:55, 4 January 2018 (CET)
:: OK, I like not having a completely independently defined template, but at the same time this seems a bit fragile. Might want to generate a category if the regex fails to make it easier to pay attention to that. [[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 07:55, 4 January 2018 (CET)
:::Might be nicer to just have one template, and add a <code>|Required</code> to the end of the template call for pages that need the balance board, and not have that on the other pages. Then just do an <code><nowiki>{{#if:{{{1|}}}</nowiki></code> or an #ifeq wrapped around the text. That would consolidate changes to the one template. - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 16:29, 4 January 2018 (CET)
:::Might be nicer to just have one template, and add a <code>|Required</code> to the end of the template call for pages that need the balance board, and not have that on the other pages. Then just do an <code><nowiki>{{#if:{{{1|}}}</nowiki></code> or an #ifeq wrapped around the text. That would consolidate changes to the one template. - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 16:29, 4 January 2018 (CET)
::::If the phrase in template is ever changing then yes, just have one template is better, as the regex would either no longer able to find the matching phrase, or will not relay changes because it's replacing to the end of line. On the other hand two templates are nice, they will segregrate required/non-required games into their own list. Not sure if that matters though. [[User:Lucario|Lucario]] ([[User talk:Lucario|talk]]) 21:19, 4 January 2018 (CET)
::::If the phrase in template is ever changing then yes, just have one template is better, as the regex would either no longer able to find the matching phrase, or will not relay changes because it's replacing to the end of line. On the other hand two templates are nice, they will segregate required/non-required games into their own list. Not sure if that matters though. [[User:Lucario|Lucario]] ([[User talk:Lucario|talk]]) 21:19, 4 January 2018 (CET)
:::::Nah one template should be fine. Just generate a category for pages that require a balance board and pages that don't from within the template and put that in an #if as well. Categories should be easier to work with than a template finding DPL anyways since you can also access categories with DPL the same way. - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 21:34, 4 January 2018 (CET)
:::::Nah one template should be fine. Just generate a category for pages that require a balance board and pages that don't from within the template and put that in an #if as well. Categories should be easier to work with than a template finding DPL anyways since you can also access categories with DPL the same way. - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 21:34, 4 January 2018 (CET)
::::::Okay, that'd be better then. [[User:Lucario|Lucario]] ([[User talk:Lucario|talk]]) 22:33, 4 January 2018 (CET)
::::::Okay, that'd be better then.
::::::Well, after looking at the name "Used By" section I feel bad about renaming it into something else or having another list meant to segregate required vs non-required. I understand it's totally possible and better maintained if there's a single template to work on but I can see advantages with having two templates still. However again, idk if having list of required and non-required even matters. [[User:Lucario|Lucario]] ([[User talk:Lucario|talk]]) 22:33, 4 January 2018 (CET)
6,576

edits