Difference between revisions of "Template:Discussion close"

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
(8 intermediate revisions by 5 users not shown)
Line 4: Line 4:
 
   | bottom
 
   | bottom
 
   | finish
 
   | finish
   | stop = {{hatnote|1=The above discussion is preserved as an archive. <span style="color:red">'''Please do not modify it.'''</span>{{#if:{{{elsewhere|}}}||&nbsp;Subsequent comments should be made in a new section.}}}}<!-- from Template:discussion bottom --></div>
+
   | stop = {{Hatnote|1={{{text|The preceding discussion is preserved as an archive. <span style="color:red">'''Please do not modify it.'''</span>{{#if:{{{elsewhere|}}}||&nbsp;Subsequent comments should be made in a new section.}}}}}}}</div>
 +
  | begin
 
   | top
 
   | top
  | begin
+
   | header
   | header  
+
   | #default = <div class="boilerplate metadata discussion-archived" style="background-color: #F5F2EB; margin: 2em 0 0 0; padding: 0.5em 10px; border: 1px solid #AAAAAA;">{{Hatnote|1={{{text|The following discussion is preserved as an archive. <span style="color:red">'''Please do not modify it.'''</span>{{#if:{{{elsewhere|}}}||&nbsp;Subsequent comments should be made in a new section.}}}}}}}
   | #default = <div class="boilerplate metadata discussion-archived" style="background-color: #f5f3ef; margin: 2em 0 0 0; padding: 0.5em 10px; border: 1px solid #AAAAAA;">{{hatnote|1=The following discussion is preserved as an archive. <span style="color:red">'''Please do not modify it.'''</span>{{#if:{{{elsewhere|}}}||&nbsp;Subsequent comments should be made in a new section.}}}}<!-- from Template:discussion top-->
+
   }}<noinclude></div>
   }}<noinclude>
+
{{Doc begin}}
</div>{{doc begin}}
 
 
== Usage ==
 
== Usage ==
 
Use this template on talk archives to indicate that the discussion is old and should not be modified.
 
Use this template on talk archives to indicate that the discussion is old and should not be modified.
  
* {{tlx|discussion close|2=begin}} or just {{tlx|discussion close}} will place a purple box and place a warning about the below discussion being outdated.
+
* {{tlx|Discussion close|2=begin}} will place a purple box and place a warning about the below discussion being outdated.
* {{tlx|discussion close|2=end}} will close the purple box and place an additional warning.
+
* {{tlx|Discussion close|2=end}} will close the purple box and place an additional warning.
* {{tlx|discussion close|2=elsewhere = no}} will hide the text "Subsequent comments should be made in a new section".  
+
* {{tlx|Discussion close|2=elsewhere=no}} will hide the text "Subsequent comments should be made in a new section".
 +
* {{tlx|Discussion close|2=text=Your text here}} will let the template show other contents you may want, instead of the default warning text.
  
 
=== Example ===
 
=== Example ===
 
<pre><nowiki>
 
<pre><nowiki>
{{discussion close}}
+
{{Discussion close|begin}}
 
== Discussion ==
 
== Discussion ==
 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed accumsan imperdiet scelerisque. Pellentesque quis scelerisque neque. Curabitur scelerisque imperdiet ligula, ac rutrum quam gravida vel. Aliquam at mauris sed metus ultricies adipiscing vel sed odio. Duis eget sem mi, sed accumsan nisl. Sed et urna risus, in faucibus nisl.  
 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed accumsan imperdiet scelerisque. Pellentesque quis scelerisque neque. Curabitur scelerisque imperdiet ligula, ac rutrum quam gravida vel. Aliquam at mauris sed metus ultricies adipiscing vel sed odio. Duis eget sem mi, sed accumsan nisl. Sed et urna risus, in faucibus nisl.  
 
:In semper auctor neque a porta. Quisque imperdiet orci non velit mollis id pharetra lacus suscipit. Ut semper vestibulum velit, a malesuada diam volutpat fringilla. Donec lobortis fermentum fermentum. Aliquam fringilla eros quis eros rhoncus nec vehicula nunc varius.
 
:In semper auctor neque a porta. Quisque imperdiet orci non velit mollis id pharetra lacus suscipit. Ut semper vestibulum velit, a malesuada diam volutpat fringilla. Donec lobortis fermentum fermentum. Aliquam fringilla eros quis eros rhoncus nec vehicula nunc varius.
 
::Suspendisse potenti. Nam augue massa, congue eu vestibulum at, sollicitudin eget diam. Aliquam venenatis tincidunt arcu, sed vehicula urna tempor eu. Quisque consequat lobortis lectus, sed pretium sem mattis ut. Duis ullamcorper dignissim ante a ultricies. In non tellus et risus posuere sodales. Nunc eleifend suscipit velit, convallis lobortis enim auctor id.
 
::Suspendisse potenti. Nam augue massa, congue eu vestibulum at, sollicitudin eget diam. Aliquam venenatis tincidunt arcu, sed vehicula urna tempor eu. Quisque consequat lobortis lectus, sed pretium sem mattis ut. Duis ullamcorper dignissim ante a ultricies. In non tellus et risus posuere sodales. Nunc eleifend suscipit velit, convallis lobortis enim auctor id.
 +
{{Discussion close|end}}
 +
</nowiki></pre>
  
{{discussion close|end}}
 
</nowiki></pre>
 
 
* The above code will generate the following:
 
* The above code will generate the following:
  
{{discussion close}}
+
{{Discussion close|begin}}
 
== Discussion ==
 
== Discussion ==
 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed accumsan imperdiet scelerisque. Pellentesque quis scelerisque neque. Curabitur scelerisque imperdiet ligula, ac rutrum quam gravida vel. Aliquam at mauris sed metus ultricies adipiscing vel sed odio. Duis eget sem mi, sed accumsan nisl. Sed et urna risus, in faucibus nisl.  
 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed accumsan imperdiet scelerisque. Pellentesque quis scelerisque neque. Curabitur scelerisque imperdiet ligula, ac rutrum quam gravida vel. Aliquam at mauris sed metus ultricies adipiscing vel sed odio. Duis eget sem mi, sed accumsan nisl. Sed et urna risus, in faucibus nisl.  
 
:In semper auctor neque a porta. Quisque imperdiet orci non velit mollis id pharetra lacus suscipit. Ut semper vestibulum velit, a malesuada diam volutpat fringilla. Donec lobortis fermentum fermentum. Aliquam fringilla eros quis eros rhoncus nec vehicula nunc varius.
 
:In semper auctor neque a porta. Quisque imperdiet orci non velit mollis id pharetra lacus suscipit. Ut semper vestibulum velit, a malesuada diam volutpat fringilla. Donec lobortis fermentum fermentum. Aliquam fringilla eros quis eros rhoncus nec vehicula nunc varius.
 
::Suspendisse potenti. Nam augue massa, congue eu vestibulum at, sollicitudin eget diam. Aliquam venenatis tincidunt arcu, sed vehicula urna tempor eu. Quisque consequat lobortis lectus, sed pretium sem mattis ut. Duis ullamcorper dignissim ante a ultricies. In non tellus et risus posuere sodales. Nunc eleifend suscipit velit, convallis lobortis enim auctor id.
 
::Suspendisse potenti. Nam augue massa, congue eu vestibulum at, sollicitudin eget diam. Aliquam venenatis tincidunt arcu, sed vehicula urna tempor eu. Quisque consequat lobortis lectus, sed pretium sem mattis ut. Duis ullamcorper dignissim ante a ultricies. In non tellus et risus posuere sodales. Nunc eleifend suscipit velit, convallis lobortis enim auctor id.
 +
{{Discussion close|end}}
  
{{discussion close|end}}
+
__NOTOC__
 
+
[[Category:Templates|Discussion close]]
[[Category:Templates|Discussion header]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 01:57, 16 July 2023

Documentation for Discussion close

Usage

Use this template on talk archives to indicate that the discussion is old and should not be modified.

  • {{Discussion close|begin}} will place a purple box and place a warning about the below discussion being outdated.
  • {{Discussion close|end}} will close the purple box and place an additional warning.
  • {{Discussion close|elsewhere=no}} will hide the text "Subsequent comments should be made in a new section".
  • {{Discussion close|text=Your text here}} will let the template show other contents you may want, instead of the default warning text.

Example

{{Discussion close|begin}}
== Discussion ==
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed accumsan imperdiet scelerisque. Pellentesque quis scelerisque neque. Curabitur scelerisque imperdiet ligula, ac rutrum quam gravida vel. Aliquam at mauris sed metus ultricies adipiscing vel sed odio. Duis eget sem mi, sed accumsan nisl. Sed et urna risus, in faucibus nisl. 
:In semper auctor neque a porta. Quisque imperdiet orci non velit mollis id pharetra lacus suscipit. Ut semper vestibulum velit, a malesuada diam volutpat fringilla. Donec lobortis fermentum fermentum. Aliquam fringilla eros quis eros rhoncus nec vehicula nunc varius.
::Suspendisse potenti. Nam augue massa, congue eu vestibulum at, sollicitudin eget diam. Aliquam venenatis tincidunt arcu, sed vehicula urna tempor eu. Quisque consequat lobortis lectus, sed pretium sem mattis ut. Duis ullamcorper dignissim ante a ultricies. In non tellus et risus posuere sodales. Nunc eleifend suscipit velit, convallis lobortis enim auctor id.
{{Discussion close|end}}
  • The above code will generate the following: