Template:Doc: Difference between revisions
Jump to navigation
Jump to search
{{:Template:Doc/doc
Note:Archived page history
Important:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.}}
mNo edit summary |
mNo edit summary |
||
Line 13: | Line 13: | ||
<td class="mw-customtoggle-doctools" style="padding:8px;background:linear-gradient(0,#323232 10%,transparent 100%);border-left:1px solid;border-right:1px solid;border-image:linear-gradient(to top,#AAA,transparent 100%) 1;height:14px">'''…'''</td> | <td class="mw-customtoggle-doctools" style="padding:8px;background:linear-gradient(0,#323232 10%,transparent 100%);border-left:1px solid;border-right:1px solid;border-image:linear-gradient(to top,#AAA,transparent 100%) 1;height:14px">'''…'''</td> | ||
</tr>|1=}}</table></span>|0=}} | </tr>|1=}}</table></span>|0=}} | ||
<div style="clear:both;margin-top:1em;border:1px solid #AAA;background:#323232;padding:1em;{{#switch:{{{tools|}}}|#default= | <div style="clear:both;margin-top:1em;border:1px solid #AAA;background:#323232;padding:1em;border-radius:{{#switch:{{{tools|}}}|#default=8px 0 8px 8px|0=8px}}"> | ||
<div style="width:100%;margin: 3px 0 10px 0"><div style="justify-content:space-between;display:flex;align-items:flex-end;flex-direction:{{#switch:{{uilang|}}|aeb|aeb-Arab|ar|arc|arq|arz|azb|bcc|bgn|bqi|ckb|dv|fa|glk|he|khw|kk-Arab|kk-CN|ks|ks-Arab|ku-Arab|lki|lrc|luz|mzn|pnb|ps|sd|sdh|skr|skr-Arab|ug|ug-Arab|ur|yi=row-reverse" align=right|#default=row"}}><div style="flex-direction:{{#switch:{{uilang|}}|aeb|aeb-Arab|ar|arc|arq|arz|azb|bcc|bgn|bqi|ckb|dv|fa|glk|he|khw|kk-Arab|kk-CN|ks|ks-Arab|ku-Arab|lki|lrc|luz|mzn|pnb|ps|sd|sdh|skr|skr-Arab|ug|ug-Arab|ur|yi=row-reverse|#default=row}};flex:auto;padding-bottom:4px;display:flex;border-bottom:1px solid #AAA;font-size:125%;line-height:125%;font-weight:bold;align-items:center">{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}} | <div style="width:100%;margin: 3px 0 10px 0"><div style="justify-content:space-between;display:flex;align-items:flex-end;flex-direction:{{#switch:{{uilang|}}|aeb|aeb-Arab|ar|arc|arq|arz|azb|bcc|bgn|bqi|ckb|dv|fa|glk|he|khw|kk-Arab|kk-CN|ks|ks-Arab|ku-Arab|lki|lrc|luz|mzn|pnb|ps|sd|sdh|skr|skr-Arab|ug|ug-Arab|ur|yi=row-reverse" align=right|#default=row"}}><div style="flex-direction:{{#switch:{{uilang|}}|aeb|aeb-Arab|ar|arc|arq|arz|azb|bcc|bgn|bqi|ckb|dv|fa|glk|he|khw|kk-Arab|kk-CN|ks|ks-Arab|ku-Arab|lki|lrc|luz|mzn|pnb|ps|sd|sdh|skr|skr-Arab|ug|ug-Arab|ur|yi=row-reverse|#default=row}};flex:auto;padding-bottom:4px;display:flex;border-bottom:1px solid #AAA;font-size:125%;line-height:125%;font-weight:bold;align-items:center">{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}} | ||
|#default={{autolang|Documentation|de=Dokumentation|es=Documentación|ru=Документация|zh=文档}} | |#default={{autolang|Documentation|de=Dokumentation|es=Documentación|ru=Документация|zh=文档}} | ||
Line 69: | Line 69: | ||
-->{{#ifeq:{{uselang}}|he|<span style="margin:1px;border:1px solid #AAA"><span style=user-select:none;position:relative;top:-1px>[[File:He.png|link=|עִברִית]]</span></span>[[Category:Hebrew]]|{{#if:{{{content/he|}}}|<span style="margin:1px;border:1px solid #323232"><span style=user-select:none;position:relative;top:-1px>[[File:He.png|link={{fullurl:{{FULLPAGENAME}}|uselang=he}}|עִברִית]]</span></span>|{{#if:{{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}}|#default=/doc|User=/about}}}}}/he}}|<span style="margin:1px;border:1px solid #323232"><span style=user-select:none;position:relative;top:-1px>[[File:He.png|link={{fullurl:{{FULLPAGENAME}}|uselang=he}}|עִברִית]]</span></span>}}}}}}</div></div> | -->{{#ifeq:{{uselang}}|he|<span style="margin:1px;border:1px solid #AAA"><span style=user-select:none;position:relative;top:-1px>[[File:He.png|link=|עִברִית]]</span></span>[[Category:Hebrew]]|{{#if:{{{content/he|}}}|<span style="margin:1px;border:1px solid #323232"><span style=user-select:none;position:relative;top:-1px>[[File:He.png|link={{fullurl:{{FULLPAGENAME}}|uselang=he}}|עִברִית]]</span></span>|{{#if:{{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}}|#default=/doc|User=/about}}}}}/he}}|<span style="margin:1px;border:1px solid #323232"><span style=user-select:none;position:relative;top:-1px>[[File:He.png|link={{fullurl:{{FULLPAGENAME}}|uselang=he}}|עִברִית]]</span></span>}}}}}}</div></div> | ||
{{#if:{{{examples|}}}|<div style="flex-direction:{{#switch:{{uilang|}}|aeb|aeb-Arab|ar|arc|arq|arz|azb|bcc|bgn|bqi|ckb|dv|fa|glk|he|khw|kk-Arab|kk-CN|ks|ks-Arab|ku-Arab|lki|lrc|luz|mzn|pnb|ps|sd|sdh|skr|skr-Arab|ug|ug-Arab|ur|yi=row-reverse|#default=row}};display:flex;"><div class="mw-customtoggle-docexamples mw-editsection plainlinks" style="border:1px solid;border-top:0;margin:0;padding:3px">{{int:apisandbox-examples}}</div> | {{#if:{{{examples|}}}|<div style="flex-direction:{{#switch:{{uilang|}}|aeb|aeb-Arab|ar|arc|arq|arz|azb|bcc|bgn|bqi|ckb|dv|fa|glk|he|khw|kk-Arab|kk-CN|ks|ks-Arab|ku-Arab|lki|lrc|luz|mzn|pnb|ps|sd|sdh|skr|skr-Arab|ug|ug-Arab|ur|yi=row-reverse|#default=row}};display:flex;"><div class="mw-customtoggle-docexamples mw-editsection plainlinks" style="border:1px solid;border-top:0;margin:0;padding:3px">{{int:apisandbox-examples}}</div> | ||
</div><div style="width:100%;display:flex;flex-direction:{{#switch:{{uilang|}}|aeb|aeb-Arab|ar|arc|arq|arz|azb|bcc|bgn|bqi|ckb|dv|fa|glk|he|khw|kk-Arab|kk-CN|ks|ks-Arab|ku-Arab|lki|lrc|luz|mzn|pnb|ps|sd|sdh|skr|skr-Arab|ug|ug-Arab|ur|yi=row-reverse|#default=row}}"><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-docexamples" style="{{#if:{{{noscroll|}}}||scrollbar-width:thin;scrollbar-gutter:stable;overflow-y:auto;}}max-height:10em;position:absolute;border:1px solid #65635F;background:#242424;margin:2px 1px 0 1px;padding:4px;z-index:10; | </div><div style="width:100%;display:flex;flex-direction:{{#switch:{{uilang|}}|aeb|aeb-Arab|ar|arc|arq|arz|azb|bcc|bgn|bqi|ckb|dv|fa|glk|he|khw|kk-Arab|kk-CN|ks|ks-Arab|ku-Arab|lki|lrc|luz|mzn|pnb|ps|sd|sdh|skr|skr-Arab|ug|ug-Arab|ur|yi=row-reverse|#default=row}}"><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-docexamples" style="{{#if:{{{noscroll|}}}||scrollbar-width:thin;scrollbar-gutter:stable;overflow-y:auto;}}max-height:10em;position:absolute;border:1px solid #65635F;background:#242424;margin:2px 1px 0 1px;padding:4px;z-index:10;border-radius:4px"><kbd>{{{examples}}}</kbd></div></div>}}</div> | ||
{{{content{{uilang|/}}|{{{content|{{#if:{{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}}|#default=/doc|User=/about}}}}}{{uilang|/}}}} | {{{content{{uilang|/}}|{{{content|{{#if:{{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}}|#default=/doc|User=/about}}}}}{{uilang|/}}}} | ||
|{{:{{{docpage|{{FULLPAGENAME}}{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}}|#default=/doc|User=/about}}}}}{{uilang|/}}}} | |{{:{{{docpage|{{FULLPAGENAME}}{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}}|#default=/doc|User=/about}}}}}{{uilang|/}}}} |
Revision as of 00:55, 19 February 2023
[[Template:Doc/doc![]() ![]() |
[{{fullurl:Template:Doc/doc![]() ![]() |
[{{fullurl:Template:Doc/doc![]() ![]() |
[[Template:Doc/sandbox|
![]() This template (and its redirect) is
![]() 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}} |
[[Template:Doc/testcases|
![]() This template (and its redirect) is
![]() 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}} |
[[Special:PrefixIndex/Template:Doc/|
![]() This template (and its redirect) is
![]() 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}} |
[https://developer.valvesoftware.com/w/index.php?title=Template:Doc&action=purge
![]() This template (and its redirect) is
![]() 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}} |
… |


This template (and its redirect) is
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

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 = 中文(台灣)
}}
Examples
{{doc}}
{{doc|0}}
{{doc|1}}
{{doc|2}}
{{doc|3}}
{{doc|0}}
{{doc|1}}
{{doc|2}}
{{doc|3}}

