Template talk:Uselangflags: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
 
No edit summary
 
Line 3: Line 3:
It kept bugging me that lots of template pages that have {{T|Ulf}} are always in the Title line, I tested the template and I saw that this fixes the problem, but i'm not sure if it breaks other pages.
It kept bugging me that lots of template pages that have {{T|Ulf}} are always in the Title line, I tested the template and I saw that this fixes the problem, but i'm not sure if it breaks other pages.


This is the only thing that i changed: {{code|<nowiki>top:calc(-{{#ifeq:{{ROOTPAGENAME}}|{{PAGENAME}}|</nowiki><span style{{=}}"color:yellow">35</span><nowiki>|26}}px - 0px);</nowiki>}}; Although it can be changed to {{code|<nowiki>top:-{{#ifeq:{{ROOTPAGENAME}}|{{PAGENAME}}|35|26}}px;</nowiki>}} as the - 0px doesn't do anything. --[[User:N0one|N0one]] ([[User talk:N0one|talk]]) 13:52, 19 March 2025 (PDT)
This is the only thing that i changed: {{code|<nowiki>top:calc(-17px - {{#ifeq: {{ROOTPAGENAME}} | {{PAGENAME}} | 18 | 9 }}px);</nowiki>}} --[[User:N0one|N0one]] ([[User talk:N0one|talk]]) 14:08, 19 March 2025 (PDT)

Latest revision as of 14:09, 19 March 2025

Fixing the template

It kept bugging me that lots of template pages that have {{Ulf}} are always in the Title line, I tested the template and I saw that this fixes the problem, but i'm not sure if it breaks other pages.

This is the only thing that i changed: top:calc(-17px - {{#ifeq: {{ROOTPAGENAME}} | {{PAGENAME}} | 18 | 9 }}px); --N0one (talk) 14:08, 19 March 2025 (PDT)