Template:Discussion top: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
m fix wiki-o
Janhrach (talk | contribs)
Fix an issue with DT
Tags: Mobile edit Mobile web edit
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="boilerplate metadata discussion-archived" style="background-color: #f5f3ef; margin: 0; padding: 0 10px 0 10px; border: 1px solid #AAAAAA;">
<div class="boilerplate discussion-archived mw-archivedtalk" style="background-color: #f5f3ef; overflow:auto; margin: 1em 0 0 0; padding: 0 10px 0 10px; border: 1px solid #aaa">
:''The following discussion is closed. <span style="color:red">'''Please do not modify it.'''</span> {{{followup|Subsequent comments should be made in a new section.}}}'' {{#if:{{{1|}}}|''A summary of the conclusions reached follows.''
:''{{langswitch|fi=Seuraava keskustelu on päättynyt.|en=The following discussion is closed.}} {{red|'''{{langswitch|en=Please do not modify it.|fi=Ethän muokkaa sitä.|pl=Prosimy jej nie zmieniać.}}'''}} {{{followup|{{langswitch|fi=Uudet kommentit tulee sijoittaa joko tämän arkiston ulkopuolelle tai toiselle sivulle.|en=Subsequent comments should be made in a new section.}}}}}'' {{{{{|safesubst:}}}#if:{{{1|{{{result|{{{reason|}}}}}}}}}|''A summary of the conclusions reached follows.''
::{{{1}}}
::{{{1|{{{result|{{{reason}}}}}}}}}
----
}}
<hr /><noinclude>
}} <!-- from Template:discussion top--><noinclude>
</div>
</div>
{{documentation}}
{{documentation}}

<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->

</noinclude>
</noinclude>

Latest revision as of 19:39, 7 May 2024

The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.
Template documentation


Usage

{{discussion top|1=Summary here (optional)}}
Discussion here.
: A reply
:: Another reply
::: etc.
{{discussion bottom}}

Which results in:

The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
Summary here (optional)

Discussion here.

A reply
Another reply
etc.

The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.


In both templates (top and bottom), an optional followup= parameter can be used to supress or change the "Subsequent comments" sentence. For example:

{{discussion top|Summary|followup=}}
Discussion here.
{{discussion bottom|followup=Subsequent comments will be removed.}}

Gives:

The following discussion is closed. Please do not modify it. A summary of the conclusions reached follows.
Summary

Discussion here.


The above discussion is preserved as an archive. Please do not modify it. Subsequent comments will be removed.