Template:Discussion page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (test)
mNo edit summary
Line 11: Line 11:
</div>
</div>
<div style="{{Dir|rtl=flex-direction:row-reverse;}} display:flex; font-size:14px; gap:8px"><!--
<div style="{{Dir|rtl=flex-direction:row-reverse;}} display:flex; font-size:14px; gap:8px"><!--
-->{{#if:{{{archive|}}}|[[/archives|<span style="display:flex; align-items:center; user-select:none; background-color:hsl(0 0% 100% / 4%); border-radius:4px; color:lightgrey; padding:6px 8px">Archives</span>]]|}} <!--
-->[[Help:Discussion|<span style="display:flex; align-items:center; user-select:none; background-color:hsl(0 0% 100% / 4%); border-radius:4px; color:lightgrey; padding:6px 8px">{{Discussion page/strings|Doc}}</span>]] <!--
-->[[Help:Discussion|<span style="display:flex; align-items:center; user-select:none; background-color:hsl(0 0% 100% / 4%); border-radius:4px; color:lightgrey; padding:6px 8px">{{Discussion page/strings|Doc}}</span>]] <!--
--><span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit&section=new&preload=Template:Discussion_page/preload}} <span style="display:flex; align-items:center; user-select:none; padding:6px 8px; border-radius:4px; background:hsl(0 0% 100% / 4%); color:lightgrey">{{Discussion page/strings|AddTopic}}</span>]</span>
--><span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit&section=new&preload=Template:Discussion_page/preload}} <span style="display:flex; align-items:center; user-select:none; padding:6px 8px; border-radius:4px; background:hsl(0 0% 100% / 4%); color:lightgrey">{{Discussion page/strings|AddTopic}}</span>]</span>

Revision as of 16:49, 30 May 2023

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
Welcome to Template:Discussion page!
This is the start of the Discussion page discussion page.

To add a new message, click on "Add Topic/Reply" button below, and set the "Subject".
To add a Reply, do the same as above, but leave the "Subject" blank.
Hello, World!



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

 ↓

Icon-message-48px.png
Welcome to Template:Discussion page!
This is the start of the Discussion page discussion page.

To add a new message, click on "Add Topic/Reply" button below, and set the "Subject".
To add a Reply, do the same as above, but leave the "Subject" blank.
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.