Template:Doc/multi-subpage: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<noinclude>{{Doc}}</noinclude> <includeonly><onlyinclude> {{Doc/subpagename|force={{{force|false}}} |{{Metanotice | id = 40px|link= | opacity =.05 | rgb = 235, 185, 23 | text = {{Doc/strings|MultiDocsp}} Category:Template documentation pages }} }} </onlyinclude></includeonly>")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
| opacity =.05
| opacity =.05
| rgb = 235, 185, 23
| rgb = 235, 185, 23
| text = {{Doc/strings|MultiDocsp}}
| text = '''{{Doc/strings|MultiDocsp}}'''<br>{{Doc/strings|MultiDocsp1}}
[[Category:Template documentation pages]]
[[Category:Template documentation pages]]
| text-right = <div class="plainlinks" style="display:flex; align-items:center; justify-content:center; margin-left:auto">
<div>[{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}|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">{{Doc/strings|Purge}}</font>]
</div>
</div>
}}
}}
}}
}}
</onlyinclude></includeonly>
</onlyinclude></includeonly>

Latest revision as of 12:50, 8 May 2025

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

The replacement of <noinclude>{{doc|4}}</noinclude>.

Usage

{{Doc/subpage}}

Parameters

  • {{{1}}} - Optional: Parameter for switching the template assignment. Default is 0.
    • 0 – will display the message “This is a documentation subpage for <page>”.
    • 1 – will display the message “This is the sandbox subpage for <page>”.
    • 2 – will display the message “This page is not a sandbox”.
    • 3 – will display the message “This is the <page> info subpage”. Useful for user subpages.
    • 4 – will display the message “This is a documentation subpage for use on multiple pages”. If the {{{list}}} parameter is used, then the text will be: “This is a documentation subpage for use on multiple pages listed in <list page>”.
Quoted from Template:Doc/doc
  • {{{force}}}: forces the template to show on base pages.

Preview

Edit-copy.png
This documentation subpage is used on many pages and changes may be widely noticed.
Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage.
Consider discussing changes on the talk page before implementing them.