Template:Discussion page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 22: Line 22:
</div>
</div>
</div>
</div>
<div style="width:calc(100% - 200px); padding:.5em 1em 1em 1em">
<div style="width:calc(100% - 200px); 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|}}}
</div>
</div>|}} <!--


<div id="mw-customcollapsible-DPD" class="mw-collapsible" style="flex:auto">
--> <div {{#if:{{{archives|}}}|id="mw-customcollapsible-DPD" class="mw-collapsible"|}} style="flex:auto">
<div>
<div> <!--
{{#if:{{{answer|}}}
--> {{#if:{{{answer|}}}
| <div class="plainlinks" style="{{text-dir|rtl=flex-direction:row-reverse;}} display:flex; gap:4px; align-items:center; background-color:hsl(220 100% 50% / 4%); border:2px solid hsl(220 100% 60%); border-radius:4px; padding:6px 8px">{{Discussion page/strings|NewAnswer}}[[{{{answer}}}|<font style="color:#FFF">{{{answer}}}</font>]]</div>
| <div class="plainlinks" style="{{text-dir|rtl=flex-direction:row-reverse;}} display:flex; gap:4px; align-items:center; background-color:hsl(220 100% 50% / 4%); border:2px solid hsl(220 100% 60%); border-radius:4px; padding:6px 8px">{{Discussion page/strings|NewAnswer}}[[{{{answer}}}|<font style="color:#FFF">{{{answer}}}</font>]]</div>
|}}</onlyinclude>
|}}</onlyinclude>


</includeonly>
</includeonly>

Revision as of 06:52, 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.