Template:AVAILABLEDOCPAGENAME: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{PROTECTIONEXPIRY:edit| {{DOCPAGENAME|{{{1|}}}}} }}
{{#ifeq: {{intlang}} | en <!-- just go ahead and return english if we have english -->
| {{DOCPAGENAME|{{{1|}}}}}  
| {{#if: {{PROTECTIONEXPIRY:edit| {{BASEDOCPAGENAME|{{{1|}}}}} }} | {{BASEDOCPAGENAME|{{{1|}}}}} }}
| {{#if: {{PROTECTIONEXPIRY:edit| {{{1|{{FULLPAGENAME/doc}}}}} }}
| {{#if: {{PROTECTIONEXPIRY:edit| {{DOCPAGENAME|{{{1|}}}}} }}
| {{{1|{{FULLPAGENAME/doc}}}}}
 
<!-- if doc for current language exists -->
| {{DOCPAGENAME|{{{1|}}}}}
<!-- if doc for current language doesn't exists -->
| {{#if:{{{translated|}}} <!-- translated=1 means we want only translated doc page name to be returned and no default base -->
|
| {{#if: {{PROTECTIONEXPIRY:edit| {{BASEDOCPAGENAME|{{{1|}}}}} }}
| {{BASEDOCPAGENAME|{{{1|}}}}}
}}
}}
}}
}}
}}
}}<!-- this is confusing AS FUCK fuck me *%&#&*#&-->

Latest revision as of 06:56, 14 August 2024