Difference between revisions of "Template:Case Study"

From Creative Commons
Jump to: navigation, search
m (Fix template tags.)
m (Work in progress.)
Line 37: Line 37:
 
<div class="cslabel">'''[[{{{User Status|}}}|Type of CC User]]'''</div>
 
<div class="cslabel">'''[[{{{User Status|}}}|Type of CC User]]'''</div>
 
<!-- <span class="csfielddata">{{{User_Status|}}}</span> -->
 
<!-- <span class="csfielddata">{{{User_Status|}}}</span> -->
<div class="cslabel">'''[[{{{License short name|}}}|License(s) Used]]'''</div>
+
<div class="cslabel">'''[[{{{License|}}}|License Used]]'''</div>
 
<!--<span class="csfielddata">  [http://wiki.creativecommons.org/Special:SearchByProperty?title=Special%3ASearchByProperty&property={{urlencode:License short name}}&value={{urlencode: {{{License_short_name|}}}}} {{{License_short_name|}}}</span>-->
 
<!--<span class="csfielddata">  [http://wiki.creativecommons.org/Special:SearchByProperty?title=Special%3ASearchByProperty&property={{urlencode:License short name}}&value={{urlencode: {{{License_short_name|}}}}} {{{License_short_name|}}}</span>-->
<div class="cslabel">'''[[{{{Format|}}}|Media]]'''</div>
+
<div class="cslabel">'''Media'''<br/>{{{Format|}}}</div>
 
<!--<span class="csfielddata">{{{Format|}}}</span>-->
 
<!--<span class="csfielddata">{{{Format|}}}</span>-->
<div class="cslabel">'''[[{{{CC adoption date|}}}|CC adoption date]]'''</div>
+
<div class="cslabel">'''Adoption Date'''<br/>[[{{{CC adoption date|}}}|CC adoption date]]</div>
 
<!--<span class="csfielddata">{{{CC adoption date|}}}</span>-->
 
<!--<span class="csfielddata">{{{CC adoption date|}}}</span>-->
<div class="cslabel">'''[[{{{Country|}}}|Country]]'''</div>
+
<div class="cslabel">'''Country: [[{{{Country|}}}|Country]]'''</div>
 
<!--<span class="csfielddata">{{{Country|}}}</span>-->
 
<!--<span class="csfielddata">{{{Country|}}}</span>-->
<div class="cslabel">'''[[{{{Tag|}}}|Tags]]'''</div>
+
<div class="cslabel">'''{{{Tag|}}}'''</div>
 
<!--<span class="csfielddata">{{{Tag|}}}</span>-->
 
<!--<span class="csfielddata">{{{Tag|}}}</span>-->
 
{{CS_Trans|{{{translations|}}}}}
 
{{CS_Trans|{{{translations|}}}}}

Revision as of 20:54, 15 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.