Template:Discussion page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
The used strings are on [[/strings|strings subpage]]. Please follow the format to add translations for them.
The used strings are on [[/strings|strings subpage]]. Please follow the format to add translations for them.


== Template Subpages ==
== Usage ==
* [[/doc]]
{{Code|select=1|<nowiki>{{discussion page}}</nowiki>}} → {{Doc/PreviewBlock|{{discussion page}}}}
* [[/preload]]
* [[/strings]]


== Parameters ==
== Parameters ==
* {{param|doc}} - Removes margins for documentation.
* {{Param|doc}} - Removes margins for documentation.
* {{param|title}} - Change the title of page on the browser tabs.
* {{Param|title}} - Change the title of page on the browser tabs.
* {{param|description}} - Replaces the description under the title with your text. Currently is an unconfirmed parameter (i.e., may be deleted in the future).
* {{Param|description}} - Replaces the description under the title with your text. Currently is an unconfirmed parameter (i.e., may be deleted in the future).
* {{param|user}} - Change the username on the title if you want. {{Note|Only work when namespace is "{{Code|User talk}}" and without {{Code|{{param|tag=kbd|title}}}}.}}
* {{Param|user}} - Change the username on the title if you want. {{Note|Only work when namespace is "{{Code|User talk}}" and without {{Code|{{param|tag=kbd|title}}}}.}}


== Usage ==
== Included Subpages ==
{{Code|select=1|<nowiki>{{discussion page}}</nowiki>}} → {{Doc/PreviewBlock|{{discussion page}}}}
Below are the subpages that are used by this template for better code readability or something else.
* {{Code|[[/preload]]}} - {{Todo}} Describe.
* {{Code|[[/strings]]}} - Translatable strings.

Revision as of 23:57, 26 April 2023

Edit-copy.png
This is a documentation subpage for Template:Discussion page.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

This template is used at the start of all of the talk pages. Template:ModernNote

Translations

The used strings are on strings subpage. Please follow the format to add translations for them.

Usage

{{discussion page}}

Icon-message-48px.png
This is the discussion page of Template:Discussion page/doc. To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.

Parameters

  • {{{doc}}} - Removes margins for documentation.
  • {{{title}}} - Change the title of page on the browser tabs.
  • {{{description}}} - Replaces the description under the title with your text. Currently is an unconfirmed parameter (i.e., may be deleted in the future).
  • {{{user}}} - Change the username on the title if you want.
    Note.pngNote:Only work when namespace is "User talk" and without {{{title}}}.

Included Subpages

Below are the subpages that are used by this template for better code readability or something else.