Difference between revisions of "Template:Q"

From PrattWiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>This template allows users to ask questions and also adds the talk page in question to the "Questions" category.  Proper use simply includes putting <nowiki>{{Q}}</nowiki> in front of a question, then following it with a signature.  For example:
+
<noinclude>This template allows users to ask questions and also adds the talk page in question to the [[:Category:Questions|Category:Questions]] page.  Proper use simply includes putting <nowiki>{{Q}}</nowiki> in front of a question, then following it with a signature.  For example:
 
<pre>
 
<pre>
{{Q}} How does LaTeX decide where to put figures? ~~~~
+
*{{Q}} How does LaTeX decide where to put figures? ~~~~
 
</pre>
 
</pre>
  
After answering a question, please be sure to remove the <nowiki>{{Q}}</nowiki> from that particular question, replace it with an asterisk, and leave a note on the talk page of the person asking the question.
+
After answering a question, please be sure to remove the <nowiki>{{Q}}</nowiki> from that particular question and leave a note on the talk page of the person asking the question. For example, the code above, once saved, will expand to look like:
 +
<pre>
 +
*{{Q}} How does LaTeX decide where to put figures? [[User:DukeDoc99|DukeDoc99]] 19:57, 23 June 2008 (UTC)
 +
</pre>
 +
where the four tildes have been replaced by the user information and the timestamp.  Someone answering would add an answer and remove the Q template as follows:
 +
<pre>
 +
* How does LaTeX decide where to put figures? [[User:DukeDoc99|DukeDoc99]] 19:57, 23 June 2008 (UTC)
 +
** Figures are floats...etc... ~~~~
 +
</pre>
 +
 
 +
The second asterisk indents the answer below the question.  See the [http://meta.wikimedia.org/wiki/Help:List Help:List] page on [http://meta.wikimedia.org/ Wikimedia] for information on creating lists if you need to indent further or plan to include multiple paragraphs in a question or answer.
 +
 
 +
Once you have saved the page with the answer, you can click on the link to the user's talk page and note that you have answered the question; the next time that user logs in, they will receive the "new message" alert and will get your message on their talk page.  There is an answering template - the [[Template:A|A template]] for that very purpose to create a generic section and message with relatively little work required.
 +
 
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>[[Category:Questions]]</includeonly>
[[Category:Questions]]
 
 
 
*
 
</includeonly>
 

Latest revision as of 17:53, 11 January 2009

This template allows users to ask questions and also adds the talk page in question to the Category:Questions page. Proper use simply includes putting {{Q}} in front of a question, then following it with a signature. For example:

*{{Q}} How does LaTeX decide where to put figures? ~~~~

After answering a question, please be sure to remove the {{Q}} from that particular question and leave a note on the talk page of the person asking the question. For example, the code above, once saved, will expand to look like:

*{{Q}} How does LaTeX decide where to put figures? [[User:DukeDoc99|DukeDoc99]] 19:57, 23 June 2008 (UTC)

where the four tildes have been replaced by the user information and the timestamp. Someone answering would add an answer and remove the Q template as follows:

* How does LaTeX decide where to put figures? [[User:DukeDoc99|DukeDoc99]] 19:57, 23 June 2008 (UTC)
** Figures are floats...etc... ~~~~

The second asterisk indents the answer below the question. See the Help:List page on Wikimedia for information on creating lists if you need to indent further or plan to include multiple paragraphs in a question or answer.

Once you have saved the page with the answer, you can click on the link to the user's talk page and note that you have answered the question; the next time that user logs in, they will receive the "new message" alert and will get your message on their talk page. There is an answering template - the A template for that very purpose to create a generic section and message with relatively little work required.