Template:Discussion page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
<includeonly>
<includeonly>


<onlyinclude><div style="overflow:hidden; border:1px solid rgb(255 255 255 / 5%); border-radius:8px; background-color:rgb(44 44 44)">
<onlyinclude><div style="overflow:hidden; border:1px solid rgb(255 255 255 / 5%); border-radius:8px">
<div style="display:flex; flex-direction:column; gap:.6em; padding:1.25em 1.25em .5em">
<div style="display:flex; flex-direction:column; gap:.6em; background-color:rgb(44 44 44); padding:1.25em 1.25em .5em">
<div style="font-size:1.65em; font-weight:900; color:rgb(255 255 255 / 90%)"> Welcome to {{FULLPAGENAME}} </div> <!--
<div style="font-size:1.65em; font-weight:900; color:rgb(255 255 255 / 90%)"> Welcome to {{FULLPAGENAME}} </div> <!--
--> <span> {{{description|{{Discussion page/strings|Desc}}}}} </span>
--> <span> {{{desc|{{{description|{{Discussion page/strings|Desc}}}}}}}} </span>
</div>
</div>


<div style="display:flex; gap:1em; user-select:none; padding:0 .5em; border-bottom:1px solid rgb(255 255 255 / 8%); font-size:1.1em; color:rgb(255 255 255 / 80%)"> <!--
<div style="display:flex; gap:1em; background-color:rgb(44 44 44); border-bottom:1px solid rgb(255 255 255 / 8%); user-select:none; font-size:1.1em; color:rgb(255 255 255 / 80%); padding:0 .5em;"> <!--
--> <div class="{{#if:{{{archives|}}}|mw-customtoggle-DPD mw-customtoggle-DPA|}}" style="display:inherit; justify-content:center; position:relative; padding:.7em .8em"> Discussions <div {{#if:{{{archives|}}}|id="mw-customcollapsible-DPD" class="mw-collapsible"|}} style="position:absolute; bottom:0; width:90%; height:.2em; background-color:rgb(230 130 100)"></div> </div> {{#if:{{{archives|}}}|<!--
--> <div class="{{#if:{{{archives|}}}|mw-customtoggle-DPD mw-customtoggle-DPA|}}" style="display:inherit; justify-content:center; position:relative; padding:.7em .8em"> Discussions <div {{#if:{{{archives|}}}|id="mw-customcollapsible-DPD" class="mw-collapsible"|}} style="position:absolute; bottom:0; width:90%; height:.2em; background-color:rgb(230 130 100)"></div> </div> {{#if:{{{archives|}}}|<!--
--> <div class="mw-customtoggle-DPA mw-customtoggle-DPD" style="display:inherit; justify-content:center; position:relative; padding:.7em .8em"> Archives <div id="mw-customcollapsible-DPA" class="mw-collapsible mw-collapsed" style="display:none; position:absolute; bottom:0; width:90%; height:.2em; background-color:rgb(230 130 100)"></div> </div>|}}
--> <div class="mw-customtoggle-DPA mw-customtoggle-DPD" style="display:inherit; justify-content:center; position:relative; padding:.7em .8em"> Archives <div id="mw-customcollapsible-DPA" class="mw-collapsible mw-collapsed" style="display:none; position:absolute; bottom:0; width:90%; height:.2em; background-color:rgb(230 130 100)"></div> </div>|}}
</div>
</div>


<div style="background-color:rgb(38 38 38); overflow:hidden; position:relative">
<div style="background-color:rgb(38 38 38 / 10%); overflow:hidden; position:relative">
<div style="width:100%; background-color:rgb(0 0 0 / 8%); border-bottom:1px solid rgb(0 0 0 / 12%)">
<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; 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"><!--
Line 22: Line 22:
</div>
</div>
</div>
</div>
<div style="width:100%; padding:.5em 1em 1em 1em"> {{#if:{{{archives|}}}|<!--
<div style="width:100%; box-sizing: border-box; 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:12, 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.