Template:Doc/sandbox: Difference between revisions
Jump to navigation
Jump to search

mNo edit summary |
Tag: Undo |
||
Line 86: | Line 86: | ||
--></span></div><!-- | --></span></div><!-- | ||
--></div> | --></div> | ||
{{#ifexist:{{FULLPAGENAME}}/doc | |||
|{{#ifexist:{{FULLPAGENAME}}/strings|{{Strings notice}}|}}{{#ifexist:{{FULLPAGENAME}}/strings|{{Strings notice}}|}}{{#ifexist:{{FULLPAGENAME}}/testcases|{{Testcase notice}}|}}{{:{{{docpage|{{FULLPAGENAME}}/doc}}}}} | |||
|{{metanotice|id=[[file:Info.png|45px]]|rgb=0, 127, 242|style=padding:7px;margin-top:14px|text={{Doc/strings|PageNotExist | |{{metanotice|id=[[file:Info.png|45px]]|rgb=0, 127, 242|style=padding:7px;margin-top:14px|text={{Doc/strings|PageNotExist}}}}}} | ||
</div></div><!-- | </div></div><!-- | ||
Revision as of 05:08, 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.

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.