Template:Doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 70: Line 70:
| zh = 这是 [[:{{{page|{{SUBJECTSPACE}}:{{ROOTPAGENAME}}}}}]] 的文档子页面。
| zh = 这是 [[:{{{page|{{SUBJECTSPACE}}:{{ROOTPAGENAME}}}}}]] 的文档子页面。
}}
}}
&nbsp;</div><div style="display:flex; align-items:center; justify-content:center; margin-left:auto"><div>[{{fullurl:{{NAMESPACE}}:{{ROOTPAGENAME}}|action=purge}} <font style="display:inline-flex; background:#36C; border-radius:3px; color:#FFF; font-weight:bold; white-space:nowrap; position:relative; z-index:10; padding:6px 10px">{{Language subpage/strings|Purge}}</font>]</div></div></div>
&nbsp;</div><div class="plainlinks" style="display:flex; align-items:center; justify-content:center; margin-left:auto"><div>[{{fullurl:{{NAMESPACE}}:{{ROOTPAGENAME}}|action=purge}} <font style="display:inline-flex; background:#36C; border-radius:3px; color:#FFF; font-weight:bold; white-space:nowrap; position:relative; z-index:10; padding:6px 10px">{{Language subpage/strings|Purge}}</font>]</div></div></div>
[[Category:Template documentation pages]]}}
[[Category:Template documentation pages]]}}
| 1 = {{messagebox|borderstyle=|image=[[File:Sandbox.png|40px|link=]]
| 1 = {{messagebox|borderstyle=|image=[[File:Sandbox.png|40px|link=]]

Revision as of 02:37, 19 July 2023

Tip.pngIdea:https://developer.valvesoftware.com/w/index.php?title=Template:Doc/sandbox&oldid=290395
Todo: Exclude Sandbox subpage and other from this template. Also do some code cleanup.
[[Template:Doc/docTemplate:Uselang|View]] [{{fullurl:Template:Doc/docTemplate:Uselang|action=edit}} Edit] [{{fullurl:Template:Doc/docTemplate:Uselang|action=history}} Page history]
Curly brackets white.png
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
English (en)Esperanto (eo)Русский (ru)中文 (zh)

{{:Template:Doc/docTemplate:Uselang}}