Template:Doc/sandbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 110: | Line 110: | ||
| 4 = {{messagebox|borderstyle=|image=[[File:Edit-copy.png|40px|link=]] | | 4 = {{messagebox|borderstyle=|image=[[File:Edit-copy.png|40px|link=]] | ||
|text={{Doc/strings|MultiDocsp}}}}[[Category:Template documentation pages]] | |text={{Doc/strings|MultiDocsp}}}}[[Category:Template documentation pages]] | ||
}}{{#ifexist:{{{docpage|{{FULLPAGENAME}}/doc | }}{{#ifexist:{{{docpage|{{FULLPAGENAME}}/doc}}}|<div class="plainlinks" style="background:#323232; border:1px solid #505050; border-radius:2px; padding:0.4em 1em; margin-top:1em;"> | ||
''{{Doc/strings|transcluded}}'' <small>([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc | ''{{Doc/strings|transcluded}}'' <small>([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} {{Autolang|edit|zh=编辑}}] {{!}} [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} {{Autolang|history|zh=页面历史}}])</small><br> | ||
''{{Doc/strings|Sandbox}}''<br> | ''{{Doc/strings|Sandbox}}''<br> | ||
''{{Doc/strings|Cat}}'' | ''{{Doc/strings|Cat}}'' |
Revision as of 04:30, 13 July 2024
Todo: Exclude Sandbox subpage and other from this template. Also do some code cleanup.
Todo: Fix the document page does not exist bug after changes to MultiPage.


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 = 中文(台灣)
}}

This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Please follow the format on this subpage(s) to add translations.
Header
Test page that uses for testing the new style of the template.
Changes made
- Added {{{DocParam1}}} ~ {{{DocParam5}}} for /doc page
- Useful for pages transcluding from a page and needing a very small change.
Example
{{Doc/sandbox|docpage=abc|DocParam1=Half-Life 2|DocParam2=hl2}}
In a /doc page:
{{ {{{DocParam1|Half-Life 2}}}|4|nt={{{DocParam2|}}} }}
- DocParam1:
Half-Life 2
- DocParam2:
HL2
Test parameters
The above documentation is transcluded from [[{{{docpage}}}]]. ([https://developer.valvesoftware.com/w/index.php?title=Template:Doc/sandbox/doc&action=edit

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 = 中文(台灣)
}}
] | [https://developer.valvesoftware.com/w/index.php?title=Template:Doc/sandbox/doc&action=history

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 = 中文(台灣)
}}
])
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this page.