Template:Doc/sandbox: Difference between revisions
Jump to navigation
Jump to search
== Header ==
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{doc/sandbox}} | {{doc/sandbox|DocParam1=1|DocParam2=2}} | ||
<includeonly> | <includeonly> | ||
Line 116: | Line 116: | ||
--></span></div><!-- | --></span></div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->{{# | -->{{#if: {{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}/doc}}}{{Intlang|pref=/|default-none={{#if:{{PROTECTIONEXPIRY:edit|{{DOCPAGENAME|{{{docpage|}}}}}}}|1|0}}}}}} | ||
| | | | ||
| {{metanotice | | {{metanotice | ||
Line 134: | Line 134: | ||
| {{{content{{Intlang|pref=/|default-none={{#if:{{PROTECTIONEXPIRY:edit|{{DOCPAGENAME|{{{docpage|}}}}}}}|1|0}}}}}}} | | {{{content{{Intlang|pref=/|default-none={{#if:{{PROTECTIONEXPIRY:edit|{{DOCPAGENAME|{{{docpage|}}}}}}}|1|0}}}}}}} | ||
| {{#if: {{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}/doc}}}{{Intlang|pref=/|default-none={{#if:{{PROTECTIONEXPIRY:edit|{{DOCPAGENAME|{{{docpage|}}}}}}}|1|0}}}}}} | | {{#if: {{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}/doc}}}{{Intlang|pref=/|default-none={{#if:{{PROTECTIONEXPIRY:edit|{{DOCPAGENAME|{{{docpage|}}}}}}}|1|0}}}}}} | ||
| {{:{{{docpage|{{FULLPAGENAME}}/doc}}}{{Intlang|pref=/|default-none={{#if:{{PROTECTIONEXPIRY:edit|{{DOCPAGENAME|{{{docpage|}}}}}}}|1|0}}}} }} | | {{:{{{docpage|{{FULLPAGENAME}}/doc}}}{{Intlang|pref=/|default-none={{#if:{{PROTECTIONEXPIRY:edit|{{DOCPAGENAME|{{{docpage|}}}}}}}|1|0}}}} | ||
| {{:{{{docpage|{{FULLPAGENAME}}/doc}}}}} | |DocParam1={{{DocParam1|}}}|DocParam2={{{DocParam2|}}}|DocParam3={{{DocParam3|}}}|DocParam4={{{DocParam4|}}}|DocParam5={{{DocParam5|}}} }} | ||
| {{:{{{docpage|{{FULLPAGENAME}}/doc}}} | |||
|DocParam1={{{DocParam1|}}}|DocParam2={{{DocParam2|}}}|DocParam3={{{DocParam3|}}}|DocParam4={{{DocParam4|}}}|DocParam5={{{DocParam5|}}} }} | |||
}}<!-- ##### if:PROTECTIONEXPIRY ##### --> | }}<!-- ##### if:PROTECTIONEXPIRY ##### --> | ||
}}<!-- ##### if:CONTENT ##### --> | }}<!-- ##### if:CONTENT ##### --> |
Latest revision as of 15:52, 6 May 2025

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.
Number of strings:1
Approximate status of translation:
100%
Approximate status of translation:

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
- Param 1 is set
- Param 2 is set
The above documentation is transcluded from Template:Doc/sandbox/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.