Template:Discussion page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Undo revision 409003 by THE OWL (talk) will you ever learn?)
Tag: Undo
(some interface strings)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Delete|reason=useless|it has been decoded that wiki messaging is more efficient than this, no point in keeping it around anymore}}
{{ulf|all-lang=1}}
{{todo|Rework it by making something like a blog post.}}
{{doc}}
{{Doc}}
 
<includeonly><onlyinclude>{{#ifeq:{{FULLPAGENAME}}|Template:Discussion page||{{DISPLAYTITLE:<span style=display:none>{{{title|{{#ifeq:{{NAMESPACE}}|User talk|{{Discussion page/strings|UserTalk}}{{{user|{{PAGENAME}}}}}|{{FULLPAGENAME}}}}}}}</span>|noerror}}}}<div><!--
<includeonly>
-->{{#if:{{{archives|}}}|<div style="float:right;padding:10px;color:white;text-align:right;width:50%;max-height:700px;overflow:auto><span style=color:rgb(255,255,255);font-size:25px;font-weight:bold;>Archives</span><br>{{expand|startcollapsed={{#switch:{{{collapsearchives|}}}|1|true=1|false|0=0|#default=1}}|noborder=1|style=text-align:left;float:right;|1={{{archives}}}}}</div>|}}<!--
 
--><div style="display:flex; flex-direction:column; gap:12px; float:left width:{{#if:{{{archives|}}}|50|100}}%; background:{{{background|linear-gradient(180deg, #262626 30%, transparent 0)}}}; position:relative; z-index:80; margin-top:{{#ifeq:{{FULLPAGENAME}}|Template:Discussion page|0|calc(-27px - {{{up|{{#ifeq:{{ROOTPAGENAME}}|{{SUBPAGENAME}}|0|20}}}}}px)}}; margin-bottom:{{#ifeq:{{FULLPAGENAME}}|Template:Discussion page|0|26px}}">
<onlyinclude><!--
<div style="{{text-dir|rtl=flex-direction:row-reverse;}} display:flex; align-items:center; gap:14px;">
 
<div style="display:flex; align-items:center; justify-content:center; user-select:none; pointer-events:none; min-width:68px; min-height:68px; border-radius:16px; background-color:hsl(0 0% 100% / 15%)">[[File:Icon-message-48px.png|link=]]</div>
-->{{#if:{{{archives|}}}|{{Archives|{{{archives}}}}}}}<!--
<div {{text-dir|rtl=align="right"}}>
 
<div style="line-height:1.2em; color:#FFF; font-size:30px">'''{{Discussion page/strings|Welcome}}'''</div>
-->{{metanotice
<div style="font-size:14px">{{{description|{{Discussion page/strings|Desc}}}}}</div>
| id = [[File:Icon-message-48px.png|32px|link=]]
</div>
| rgb = 255,255,255
</div>
| text = {{#ifeq:{{NAMESPACE}}|User talk
<div style="{{text-dir|rtl=flex-direction:row-reverse;}} display:flex; font-size:14px; gap:8px"><!--
| This is the [[Help:Discussion|user talk page]] of {{code|{{ARTICLEPAGENAME}}}}{{#if:{{{user|}}} | &#32;(alias {{code2|{{{user}}}}}) }}.
-->[[Help:Discussion|<font 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}}</font>]] <!--
| This is the [[Help:Discussion|discussion page]] of {{code|{{ARTICLEPAGENAME}}}}.
--><span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit&section=new&preload=Template:Discussion_page/preload}} <font 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}}</font>]</span>
}}
</div>
<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}}
{{#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>
</div></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.