Template:Discussion page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 15: Line 15:
</div>
</div>


<div style="display:flex; flex-direction:row-reverse; background-color:rgb(38 38 38); overflow:hidden; position:relative">
<div style="background-color:rgb(38 38 38); overflow:hidden; position:relative">
<div style="width:200px">
<div style="width:100%; background-color:rgb(0 0 0 / 8%); border-bottom:1px solid rgb(0 0 0 / 12%)">
<div style="{{text-dir|rtl=flex-direction:row-reverse;}} display:flex; flex-direction:column; font-size:14px; gap:.5em; padding:.5em"><!--
<div style="{{text-dir|rtl=flex-direction:row-reverse;}} display:flex; font-size:14px; gap:.5em; padding:.5em"><!--
--> [[Help:Discussion|<span style="display:flex; align-items:center; user-select:none; background-image:linear-gradient(90deg, #4d5965, #3f4851); 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-image:linear-gradient(90deg, #3c4249, #36393d); 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-image:linear-gradient(90deg, #2b5886, #4376aa); 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-image:linear-gradient(90deg, #384e65, #2b4259); color:lightgrey">{{Discussion page/strings|AddTopic}}</span>]</span>
</div>
</div>
</div>
</div>
<div style="width:calc(100% - 200px); padding:.5em 1em 1em 1em"> {{#if:{{{archives|}}}|<!--
<div style="width:100%; padding:.5em 1em 1em 1em"> {{#if:{{{archives|}}}|<!--
--> <div id="mw-customcollapsible-DPA" class="mw-collapsible mw-collapsed" style="display:none">
--> <div id="mw-customcollapsible-DPA" class="mw-collapsible mw-collapsed" style="display:none">
{{{archives|}}}
{{{archives|}}}

Revision as of 07:00, 17 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!

 ↓

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.
Discussions
Hello, World!



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

 ↓

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.
Discussions
Archives
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.