Template:Doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(metanotice test for doc/subpage.)
Line 57: Line 57:
{{:{{{docpage|{{FULLPAGENAME}}/doc}}}}}}}}}}}}}
{{:{{{docpage|{{FULLPAGENAME}}/doc}}}}}}}}}}}}}
</div></div> <!-- doc/subpage translations -->
</div></div> <!-- doc/subpage translations -->
| 0 = {{messagebox|borderstyle=|image=[[File:Edit-copy.png|40px|link=]]
| 0 = {{Metanotice
|text=<div style="display:flex"><div style="display:flex; align-items:center">{{autolang
| id = [[File:Edit-copy.png|40px|link=]]
| rgb = 255, 255, 255
| text = {{autolang
| 1 = This is a documentation subpage for&nbsp;[[:{{{page|{{SUBJECTSPACE}}:{{ROOTPAGENAME}}}}}]]. </br></br><small>If you have created or edit the content of the subpage, please don't forget to purge the page.</small>
| 1 = This is a documentation subpage for&nbsp;[[:{{{page|{{SUBJECTSPACE}}:{{ROOTPAGENAME}}}}}]]. </br></br><small>If you have created or edit the content of the subpage, please don't forget to purge the page.</small>
| de = Dies ist eine Unterseite zur Dokumentation für&nbsp;[[:{{{page|{{SUBJECTSPACE}}:{{ROOTPAGENAME}}}}}]].
| de = Dies ist eine Unterseite zur Dokumentation für&nbsp;[[:{{{page|{{SUBJECTSPACE}}:{{ROOTPAGENAME}}}}}]].
Line 68: Line 70:
| zh = 这是&nbsp;[[:{{{page|{{SUBJECTSPACE}}:{{ROOTPAGENAME}}}}}]]&nbsp;的文档子页面。
| zh = 这是&nbsp;[[:{{{page|{{SUBJECTSPACE}}:{{ROOTPAGENAME}}}}}]]&nbsp;的文档子页面。
}}
}}
&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>[[Category:Template documentation pages]]}}
&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>
[[Category:Template documentation pages]]}}
| 1 = {{messagebox|borderstyle=|image=[[File:Sandbox.png|40px|link=]]
| 1 = {{messagebox|borderstyle=|image=[[File:Sandbox.png|40px|link=]]
|text= {{autolang
|text= {{autolang

Revision as of 02:31, 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}}