Difference between revisions of "Template:Case Study"

From Creative Commons
Jump to: navigation, search
(Done for now. Have adoption date (or not) as text, not link.)
(Handle missing values.)
Line 35: Line 35:
 
<div class="cslabel">'''[[{{{Author|}}}|License User]]'''</div>
 
<div class="cslabel">'''[[{{{Author|}}}|License User]]'''</div>
 
<div class="cslabel">'''[[{{{User_Status|}}}]]'''</div>
 
<div class="cslabel">'''[[{{{User_Status|}}}]]'''</div>
<div class="cslabel">'''[{{{License|}}} License Used]'''</div>
+
<div class="cslabel">'''[{{{License|}}}|License Used]'''</div>
 
<div class="cslabel">'''Media'''<br/>{{{Format|}}}</div>
 
<div class="cslabel">'''Media'''<br/>{{{Format|}}}</div>
 
<div class="cslabel">'''{{{CC adoption date|Adoption date unspecified}}}</div>
 
<div class="cslabel">'''{{{CC adoption date|Adoption date unspecified}}}</div>
Line 41: Line 41:
 
<div class="cslabel">'''Tags'''<br />{{{Tag|}}}</div>
 
<div class="cslabel">'''Tags'''<br />{{{Tag|}}}</div>
 
{{CS_Trans|{{{translations|}}}}}
 
{{CS_Trans|{{{translations|}}}}}
{{Quality {{{quality|}}}|{{{importance|}}}}}
+
{{Quality|{{{quality|}}}|{{{importance|}}}}}
 
</div>
 
</div>
 
<div style="font-size:1.3em;text-align:justify;line-height:1.3em;;margin-bottom:20px;">{{{Description|(no description)}}}</div>
 
<div style="font-size:1.3em;text-align:justify;line-height:1.3em;;margin-bottom:20px;">{{{Description|(no description)}}}</div>
<span style="font-size:1.1em;line-height:1.1em;text-align:justify;">"{{{Quote}}}"</span>
+
<span style="font-size:1.1em;line-height:1.1em;text-align:justify;">"{{{Quote|}}}"</span>
<span style="font-size:1.1em;"> &mdash; {{{Quote_Attribution}}}</span>
+
<span style="font-size:1.1em;"> &mdash; {{{Quote_Attribution|}}}</span>
 
__NOTOC__
 
__NOTOC__
 
[[Category:Casestudy]]
 
[[Category:Casestudy]]
 
</includeonly>
 
</includeonly>

Revision as of 23:47, 25 June 2015

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=
|CC adoption date=
|Format=
|Country=
|importance=
|quality=
|}}

Edit the page to see the template text.