Difference between revisions of "Template:Description"

From Wikispooks
Jump to navigation Jump to search
(note problem)
(clarify)
Line 1: Line 1:
<noinclude>{{TemplateProblem|The 'Pages with overlong descriptions' category is erroneous and has been for a long time. This might be the fault of this template.}}[[category:Semantic Templates]]This semantic template is for page descriptions. Unlike the other semantic data templates, as well as adding the property it also produces a visual output (as long as the TEXT parameter is non-empty), displaying it in a left-justified block of italic text with gold border and light gold background. It has just the one parameter which is the description (500 characters or less). If the description is 500 characters or longer, the excess is displayed in red, and the page is assigned to [[:Category:Pages with overlong descriptions]]<br/> ''It is for use by other templates rather than directly in pages.''<br/>
+
<noinclude>{{TemplateProblem|The overlong descriptions category is erroneous. This might be the fault of this template.}}[[category:Semantic Templates]]This semantic template is for page descriptions. Unlike the other semantic data templates, as well as adding the property it also produces a visual output (as long as the TEXT parameter is non-empty), displaying it in a left-justified block of italic text with gold border and light gold background. It has just the one parameter which is the description (500 characters or less). If the description is 500 characters or longer, the excess is displayed in red, and the page is assigned to [[:Category:Pages with overlong descriptions]]<br/> ''It is for use by other templates rather than directly in pages.''<br/>
 
Usage:
 
Usage:
 
:<code><nowiki>{{Description|TEXT}}</nowiki></code>
 
:<code><nowiki>{{Description|TEXT}}</nowiki></code>

Revision as of 11:13, 1 February 2014

Bug1.jpg This template has problems: The overlong descriptions category is erroneous. This might be the fault of this template. Use the discussion page to see the debate about this.

This semantic template is for page descriptions. Unlike the other semantic data templates, as well as adding the property it also produces a visual output (as long as the TEXT parameter is non-empty), displaying it in a left-justified block of italic text with gold border and light gold background. It has just the one parameter which is the description (500 characters or less). If the description is 500 characters or longer, the excess is displayed in red, and the page is assigned to Category:Pages with overlong descriptions
It is for use by other templates rather than directly in pages.

Usage:

{{Description|TEXT}}

The result will be as shown below with your text replacing the curly-braced parameter.