Template:Discussion page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: clean up, replaced: {{ModernNote| → {{note|)
mNo edit summary
Line 13: Line 13:
* {{Param|bg}} - Background.
* {{Param|bg}} - Background.
* {{Param|answer}} - The link to the page where the user was given the answer. {{Todo|Make a block of modern MediaWiki notifications.}}
* {{Param|answer}} - The link to the page where the user was given the answer. {{Todo|Make a block of modern MediaWiki notifications.}}
* {{Param|archives}} - Archives of previous discussions. Recommended to include them inside their own {{Tl2|Expand}} box
* {{Param|collapsearchives}} - Collapse the archives by default.


== Included Subpages ==
== Included Subpages ==

Revision as of 13:48, 31 January 2024

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.

Note.pngNote:The translations will change automatically according to the language of UI (if the translations exist).

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}}}.
  • {{{bg}}} - Background.
  • {{{answer}}} - The link to the page where the user was given the answer.
    Todo: Make a block of modern MediaWiki notifications.
  • {{{archives}}} - Archives of previous discussions. Recommended to include them inside their own {{Expand}} box
  • {{{collapsearchives}}} - Collapse the archives by default.

Included Subpages

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

  • /preload - This is the pre-load content that appears on the edit interface after the user clicks the Add Topic/Reply button.
  • /strings - This subpage includes the translatable strings that the template has used.