Template:Discussion page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Test)
(some interface strings)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Documentation}}
{{ulf|all-lang=1}}
{{doc}}


[[Category:Templates]]
<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="display:flex; flex-direction:column; gap:.6em; padding:1.25em 1.25em .5em">
<div style="font-size:1.65em; font-weight:900; color:rgb(255 255 255 / 90%)"> Welcome to {{SITENAME}}:Administrators' noticeboard! </div> <!--
--> <span> {{{description|{{Discussion page/strings|Desc}}}}} </span>
</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%)"> <!--
-->{{#if:{{{archives|}}}|{{Archives|{{{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>


<div style="display:flex; flex-direction:row-reverse; background-color:rgb(38 38 38); overflow:hidden; position:relative">
-->{{metanotice
<div style="width:200px">
| id = [[File:Icon-message-48px.png|32px|link=]]
<div style="{{text-dir|rtl=flex-direction:row-reverse;}} display:flex; flex-direction:column; font-size:14px; gap:.5em; padding:.5em"><!--
| rgb = 255,255,255
--> [[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>]] <!--
| text = {{#ifeq:{{NAMESPACE}}|User talk
--> <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>
| This is the [[Help:Discussion|user talk page]] of {{code|{{ARTICLEPAGENAME}}}}{{#if:{{{user|}}} | &#32;(alias {{code2|{{{user}}}}}) }}.
</div>
| This is the [[Help:Discussion|discussion page]] of {{code|{{ARTICLEPAGENAME}}}}.
</div>
}}
<div style="width:calc(100% - 200px); padding:.5em 1em 1em 1em">
<small>To add a comment, use the '''{{int:vector-view-edit}}''' button near the headline of the appropriate section. To create a new section, you can use the '''{{int:vector-action-addsection}}''' button at the top of this page.</small> <br/> {{int:prefs-help-signature}}
<div id="mw-customcollapsible-DPA" class="mw-collapsible mw-collapsed" style="display:none">
}}<!--
{{{archives|}}}
</div>


<div id="mw-customcollapsible-DPD" class="mw-collapsible" style="flex:auto">
--></onlyinclude>
<div>
{{#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>
|}}</onlyinclude>


</includeonly>
</includeonly>

Latest revision as of 15:17, 10 August 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)
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. 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.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.
Hello, World!



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

 ↓

Breathe-package-generic.png Archives
  • Hello,
  • World!
Icon-message-48px.png
This is the discussion page of Template:Discussion page. 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.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.
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.