Difference between revisions of "Template:Case Study"

From Creative Commons
Jump to: navigation, search
Line 24: Line 24:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
__NOTOC__
 
__NOTOC__
{{ #if: {{{Image_Header|}}} | [[Image Header::{{{Image_Header}}}]] | }}  
+
{{ #if: {{{Image_Header|}}} | [[Image Header::{{{Image_Header}}}]] }}  
 
<noinclude>
 
<noinclude>
 
{{ #if: {{{Image Header|}}} | {{Header Box|[[Image Header::{{{Image_Header}}}]]}} | (test 2) }}
 
{{ #if: {{{Image Header|}}} | {{Header Box|[[Image Header::{{{Image_Header}}}]]}} | (test 2) }}
 
{{ #if: {{{Image Header|}}} | {{Header Box|{{{Image Header|}}}}} | (test 3) }}
 
{{ #if: {{{Image Header|}}} | {{Header Box|{{{Image Header|}}}}} | (test 3) }}
 
</noinclude>
 
</noinclude>
{{ #if: {{{Image_attribution|}}} | <span style="font-size:75%;">[[Image_attribution::{{{Image_attribution}}}]]</span> }} | {{ #if: {{{Image_license|}}} | <span style="font-size:75%;">[[Image_license::{{{Image_license}}}]]</span> }}
+
{{ #if: {{{Image_attribution|}}} | <span style="font-size:75%;">[[Image_attribution::{{{Image_attribution}}}]]</span> }} {{ #if: {{{Image_license|}}} | <span style="font-size:75%;">[[Image_license::{{{Image_license}}}]]</span> }}
  
 
{| cellspacing="0" cellpadding="5" style="padding: 5%; margin:0em 0em 1em 0em; border:1px solid #43594a; background:#43594a; width:100%"  
 
{| cellspacing="0" cellpadding="5" style="padding: 5%; margin:0em 0em 1em 0em; border:1px solid #43594a; background:#43594a; width:100%"  

Revision as of 15:46, 30 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=
|Quote Attribution=
|Image Header=
|Image attribution=
|Image license=
|Mainurl=
|Author=
|User Status=
|Tag=
|License short name=
|License=
|Format=
|Country=
|}}

Edit the page to see the template text.