Difference between revisions of "Template:Case Study"

From Creative Commons
Jump to: navigation, search
Line 16: Line 16:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 +
<span style="color:orange; font-size: 140%; font-style: italic; font-weight: bold">{{#arraymap:{{{Quote|}}}|,|x|[[Quote::x]]}}</span>
 +
 +
<span style="color:blue; font-size: 110%;">{{#arraymap:{{{Description|}}}|,|x|[[Description::x]]}}</span>
 +
 +
[[Category:Casestudy]]
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: center; clear: left; text-align:left;"  
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: center; clear: left; text-align:left;"  
 
{| border="1" cellpadding="3" cellspacing="0"
 
{| border="1" cellpadding="3" cellspacing="0"
Line 35: Line 40:
 
| {{#arraymap:{{{Country|}}}|,|x|[[Country::x]]}}
 
| {{#arraymap:{{{Country|}}}|,|x|[[Country::x]]}}
 
|}
 
|}
 
<span style="color:orange; font-size: 130%; font-style: italics">{{#arraymap:{{{Quote|}}}|,|x|[[Quote::x]]}}</span>
 
 
<span style="color:blue; font-size: 110%;">{{#arraymap:{{{Description|}}}|,|x|[[Description::x]]}}</span>
 
 
[[Category:Casestudy]]
 
 
</includeonly>
 
</includeonly>

Revision as of 11:14, 1 April 2008

This template simplifies the creation of articles about Case Studies. When inserted in a directory's page, it creates a decorative table with information about the content provided. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.

To use this template, insert the following at the beginning of your page. All fields are optional and should be omitted if no information is available. The page name should reflect the name of the Case Study. It should be called in the following format:

{{Case Study
|Description=
|Quote=
|Mainurl=
|Author=
|License=
|Format=
|Country=
}}

Edit the page to see the template text.