Difference between revisions of "Template:Description"

From Wikispooks
Jump to navigation Jump to search
m (tweek)
(move category and clarify use)
Line 1: Line 1:
<noinclude>[[category:Banner Templates]]This sub/template is for page descriptions. These are in a centered block of italic text with gold border and light gold background. It has just the one parameter which is the text to be placed. It is for use by other templates rather than directly in pages.<br/>
+
<noinclude>[[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, displaying it in a centered 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). ''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>
Line 7: Line 7:
 
{|style="width:70%; font-style:italic; text-align:left; background-color:ivory; border:1pt solid darkgoldenrod; padding:0.1em 0.5em; font-size:105%;"
 
{|style="width:70%; font-style:italic; text-align:left; background-color:ivory; border:1pt solid darkgoldenrod; padding:0.1em 0.5em; font-size:105%;"
 
|-
 
|-
|{{{1}}}
+
|[[Description::{{{1}}}]]
 
|}<br/></div>
 
|}<br/></div>

Revision as of 03:58, 4 January 2014

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, displaying it in a centered 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). 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.

{{{1}}}