Difference between revisions of "Template:Case Study"

From Creative Commons
Jump to: navigation, search
(License link formatting)
 
(248 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template simplifies the creation of articles about [[Casestudies|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.
+
This template simplifies the creation of articles about [[Case_Studies|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:
 
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:
 
<pre>
 
<pre>
 
{{Case Study
 
{{Case Study
 +
|Description=
 +
|Quote=
 +
|Quote Attribution=
 +
|Image Header=
 +
|Image attribution=
 +
|Image license=
 
|Mainurl=
 
|Mainurl=
 
|Author=
 
|Author=
 +
|User Status=
 +
|Tag=
 +
|License short name=
 
|License=
 
|License=
 +
|CC adoption date=
 
|Format=
 
|Format=
 
|Country=
 
|Country=
|Date=
+
|importance=
}}
+
|quality=
 +
|}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>
+
</noinclude>
{| 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;"  
+
<includeonly>
{| border="1" cellpadding="3" cellspacing="0"
+
<center><div class="limitimage" style="display:block;margin-bottom:20px;padding-bottom:10px;">{{{Image_Header|}}} <br />
!style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
<span style="font-size:75%;">{{{Image_attribution|}}}</span>
|-
+
<span style="font-size:75%;">{{{Image_license|}}}</span>
! Affiliation:
+
</div></center>
| {{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}}
+
<div style="width: auto; max-width:30%;float: right; padding: 15px;margin-top: 0px;border: 1px solid #c0c0c0;background:#f0f0f0;overflow:hidden; display:inline-block;margin-left:20px;margin-bottom:10px;">
|-
+
<div class="urllabel">'''[{{{Mainurl|}}} Go to URL]'''</div>
! Main url:
+
<div class="cslabel">'''[[{{{Author|}}}|License User]]'''</div>
| {{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}}
+
<div class="cslabel">'''[[{{{User_Status|}}}]]'''</div>
|-
+
<div class="cslabel">'''License Used'''<br />{{{License|unspecified}}}</div>
! [[Resource url]]: 
+
<div class="cslabel">'''Media'''<br/>{{{Format|}}}</div>
| {{#arraymap:{{{Resource URL|}}}|,|x|[[Resource URL::x]]}}
+
<div class="cslabel">'''{{{CC adoption date|Adoption date unspecified}}}</div>
|-
+
<div class="cslabel">'''[[{{{Country|Country unspecified}}}|{{{Country|Country unspecified}}}]]'''</div>
! [[Tags]]:
+
<div class="cslabel">'''Tags'''<br />{{{Tag|}}}</div>
| {{#arraymap:{{{Tag|}}}|,|x|[[Tag::x]]}}
+
{{CS_Trans|{{{translations|}}}}}
|-
+
{{Quality|{{{quality|}}}|{{{importance|}}}}}
! [[Organization type]]:
+
</div>
| {{#arraymap:{{{Organization Type|}}}|,|x|[[Organization Type::x]]}}
+
<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>
! [[Status as an educational resource]]:
+
<span style="font-size:1.1em;"> &mdash; {{{Quote_Attribution|}}}</span>
| {{#arraymap:{{{Status|}}}|,|x|[[Status::x]]}}
+
__NOTOC__
|-
 
! [[Open or free statement]]?
 
| {{#arraymap:{{{Open or Free Statement|}}}|,|x|[[Open or Free Statement::x]]}}
 
|-
 
! [[License type]]:
 
| {{#arraymap:{{{License type|}}}|,|x|[[License type::x]]}}
 
|-
 
! [[License short name]]:
 
| {{#arraymap:{{{License short name|}}}|,|x|[[License short name::x]]}}
 
|-
 
! [[License]]:
 
| {{#arraymap:{{{License |}}}|,|x|[[License ::x]]}}
 
|}
 
 
 
[[Category:Organization]]
 
</includeonly>
 
 
 
 
 
 
 
 
 
 
 
 
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
{| border="0" cellpadding="4" cellspacing="4"
 
! Main URL
 
| [[Mainurl::{{{Mainurl|}}}]]
 
|-
 
! Author
 
| [[Author::{{{Author|}}}]]
 
|-
 
! License
 
| [[License::{{{License|}}}]]
 
|-
 
! Format
 
| [[Format::{{{Format|}}}]]
 
|-
 
! Country
 
| [[Country::{{{Country|}}}]]
 
|-
 
! Date
 
| [[Date::{{{Date|}}}]]
 
|}
 
 
[[Category:Casestudy]]
 
[[Category:Casestudy]]
 
</includeonly>
 
</includeonly>

Latest revision as of 23:51, 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.