User talk:Hl2awpp: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
 
mNo edit summary
 
Line 3: Line 3:
In the Lang template, it has long been possible to specify subpages so that links to parent articles are in the right language and so that they are subpages of the right pages.
In the Lang template, it has long been possible to specify subpages so that links to parent articles are in the right language and so that they are subpages of the right pages.


instead of writing {{MdCode|1=&#123;&#123;lang&#124;Half-Life: Alyx Workshop Tools<span style=color:red>/</span>Source Filmmaker<span style=color:red>/</span>Getting Started&#124;title=启动Half-Life: Alyx的SFM&#125;&#125;}}  
instead of writing {{Code|1=&#123;&#123;lang&#124;Half-Life: Alyx Workshop Tools<span style=color:red>/</span>Source Filmmaker<span style=color:red>/</span>Getting Started&#124;title=启动Half-Life: Alyx的SFM&#125;&#125;}}  


it's better to write like this {{MdCode|1=&#123;&#123;lang&#124;Half-Life: Alyx Workshop Tools<span style=color:lightgreen>&#124;</span>Source Filmmaker<span style=color:lightgreen>&#124;</span>Getting Started&#124;title=启动Half-Life: Alyx的SFM&#125;&#125;}} and it will take into account every part of the link. So it's time to switch from "Half-Life: Alyx Workshop Tools/Source Filmmaker:zh-cn" to "Half-Life: Alyx Workshop Tools:zh-cn/Source Filmmaker:zh-cn". --[[User:Max34|Max34]] ([[User talk:Max34|talk]]) 01:56, 26 December 2022 (PST)
it's better to write like this {{Code|1=&#123;&#123;lang&#124;Half-Life: Alyx Workshop Tools<span style=color:lightgreen>&#124;</span>Source Filmmaker<span style=color:lightgreen>&#124;</span>Getting Started&#124;title=启动Half-Life: Alyx的SFM&#125;&#125;}} and it will take into account every part of the link. So it's time to switch from "Half-Life: Alyx Workshop Tools/Source Filmmaker:zh-cn" to "Half-Life: Alyx Workshop Tools:zh-cn/Source Filmmaker:zh-cn". --[[User:Max34|Max34]] ([[User talk:Max34|talk]]) 01:56, 26 December 2022 (PST)

Latest revision as of 14:50, 28 January 2023

The situation with subpages

In the Lang template, it has long been possible to specify subpages so that links to parent articles are in the right language and so that they are subpages of the right pages.

instead of writing {{lang|Half-Life: Alyx Workshop Tools/Source Filmmaker/Getting Started|title=启动Half-Life: Alyx的SFM}}

it's better to write like this {{lang|Half-Life: Alyx Workshop Tools|Source Filmmaker|Getting Started|title=启动Half-Life: Alyx的SFM}} and it will take into account every part of the link. So it's time to switch from "Half-Life: Alyx Workshop Tools/Source Filmmaker:zh-cn" to "Half-Life: Alyx Workshop Tools:zh-cn/Source Filmmaker:zh-cn". --Max34 (talk) 01:56, 26 December 2022 (PST)