Template:GlobalProblems/sandbox/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 8: Line 8:


Calling the template twice on one page (like this one) should also add it to [[:Category:Pages calling GlobalProblems template improperly]].
Calling the template twice on one page (like this one) should also add it to [[:Category:Pages calling GlobalProblems template improperly]].
Because this template always has to call {{tl|GlobalProblems/Virtual Console}} and display bugs from there, any page that calls GlobalProblems as <code><nowiki>{{GlobalProblems|Virtual Console}}</nowiki></code> (as in just one page, [[Virtual Console]]) causes the template to call {{tl|GlobalProblems/Virtual Console}} twice. This is bad behavior but it's harmless, and trying to avoid it would make it slower. The Virtual Console page's {{tl|GlobalProblems}} call also introduces the possibility of accidentally displaying issues from {{tl|GlobalProblems/Virtual Console}} twice, so extra conditional statements had to be added for that special case.
6,906

edits

Navigation menu