Difference between revisions of "Template:Discussion close"

From Team Fortress Wiki
Jump to: navigation, search
Line 6: Line 6:
 
   | begin
 
   | begin
 
   | header  
 
   | header  
   | #default = <div class="boilerplate metadata discussion-archived" style="background-color: #f5f3ef; margin: 2em 0 0 0; padding: 0 10px 0 10px; border: 1px solid #AAAAAA;">{{hatnote|1=The following discussion is closed. <span style="color:red">'''Please do not modify it.'''</span>  Subsequent comments should be made in a new section.}}<!-- from Template:discussion top-->
+
   | #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 closed. <span style="color:red">'''Please do not modify it.'''</span>  Subsequent comments should be made in a new section.}}<!-- from Template:discussion top-->
 
   }}<noinclude>
 
   }}<noinclude>
 
</div>{{doc begin}}
 
</div>{{doc begin}}
Line 12: Line 12:
 
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 header|2=top}} generates
+
* {{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.
{{discussion header|top}}
+
* {{tlx|discussion close|2=end}} will close the purple box and place an additional warning.
  
* {{tlx|Discussion header|2=end}} generates
+
=== Example ===
{{discussion header|end}}
+
<pre><nowiki>
 +
{{discussion close}}
 +
== 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}}
 +
</nowiki></pre>
 +
* The above code will generate the following:
 +
 
 +
{{discussion close}}
 +
== 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}}
  
 
[[Category:Templates|Discussion header]]
 
[[Category:Templates|Discussion header]]
 
</noinclude>
 
</noinclude>

Revision as of 07:04, 1 September 2010

Documentation for Discussion close

Usage

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

Example

{{discussion close}}
== 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: