Template:Discussion top: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
+ followup parameter, so "Subsequent comments" part can be hidden or changed (doesn't make sense if discussion constitutes entire page)
m fix wiki-o
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 metadata discussion-archived" style="background-color: #f5f3ef; margin: 0; padding: 0 10px 0 10px; border: 1px solid #AAAAAA;">
:''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.''
:''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.''
::{{{1}}}
::{{{1}}}
}}
}}

Revision as of 21:25, 4 February 2015

Template documentation


Usage

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

Which results in:


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: