Template:Discussion page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Awaited change addressing current flaws isn't coming. Replaced template with a variant from the discussion: put text on two lines in a metanotice, added optional Expand for archives, tried to give it a color with recognition value for discussions.)
m (Fixed string link, added <includeonly>)
Line 1: Line 1:
{{#if:{{{archives|}}}|{{Expand|<!-- need newline for lists -->
<includeonly><!--
{{{archives}}}|title=[[File:Icon-folder open.png|14px|baseline|link=]] {{/strings|Archives}}
 
-->{{#if:{{{archives|}}}|{{Expand|<!-- need newline for lists -->
{{{archives}}}|title=[[File:Icon-folder open.png|14px|baseline|link=]] {{discussion page/strings|Archives}}
|float=right|color=rgb(157,224,224)|startcollapsed=0|style=margin:2em; margin-top:0; padding-right:2em}}
|float=right|color=rgb(157,224,224)|startcollapsed=0|style=margin:2em; margin-top:0; padding-right:2em}}
}}<!--
}}<!--
Line 7: Line 9:
|id=[[File:Icon-message-48px.png|32px|link=]]
|id=[[File:Icon-message-48px.png|32px|link=]]
|rgb=157,224,224
|rgb=157,224,224
|text=This is the [[Help:Discussion|discussion page]] of {{code|{{ARTICLEPAGENAME}}}}. '''Please sign your comments with {{code|<nowiki>~~~~</nowiki>}}.'''<br>
|text=This is the [[Help:Discussion|discussion page]] of {{code|{{ARTICLEPAGENAME}}}}. '''Please sign your comments with {{code|<nowiki>~~&#x7E;~</nowiki>}}.'''<br>
<small>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.</small>
<small>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.</small>
}}<!--
}}<!--


--><noinclude><!--
--></includeonly><noinclude><!--


-->{{doc}}
-->{{doc}}

Revision as of 12:07, 24 July 2024

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
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Number of strings:7
Approximate status of translation:English (en) 100% Esperanto (eo) 85.71% Suomi (fi) 100% Русский (ru) 100% Tiếng Việt (vi) 85.71% 中文 (zh) 85.71% 

This template is used at the top of all talk pages.

Usage

{{discussion page}} Hello, World!

 ↓

Icon-message-48px.png
This is the discussion page of Template:Discussion page. Please sign your comments with ~~~~.
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.
Hello, World!



{{discussion page|archives= * Hello, * World! }} Hello, World!

 ↓

Icon-folder open.png 1 = Archives
  • Hello,
  • World!
Icon-message-48px.png
This is the discussion page of Template:Discussion page. Please sign your comments with ~~~~.
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.
Hello, World!

Parameters

  • {{{archives}}} - Archives of previous discussions inside an {{Expand}} box.

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 used to appear 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.