Difference between revisions of "Template:Case Study"

From Creative Commons
Jump to: navigation, search
Line 19: Line 19:
 
!style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
!style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
|-
 
|-
! Affiliation:
+
! [[Main URL]]:
 
| {{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}}
 
| {{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}}
 
|-
 
|-
! Main url:
+
! [[Author]]:
| {{#arraymap:{{{Mainurl|}}}|,|x|[[Mainurl::x]]}}
+
| {{#arraymap:{{{Author|}}}|,|x|[[Author::x]]}}
 
|-
 
|-
! [[Resource url]]:   
+
! [[License]]:   
| {{#arraymap:{{{Resource URL|}}}|,|x|[[Resource URL::x]]}}
+
| {{#arraymap:{{{License|}}}|,|x|[[License::x]]}}
 
|-
 
|-
! [[Tags]]:
+
! [[Format]]:
| {{#arraymap:{{{Tag|}}}|,|x|[[Tag::x]]}}
+
| {{#arraymap:{{{Format|}}}|,|x|[[Format::x]]}}
 
|-
 
|-
! [[Organization type]]:
+
! [[Country]]:
| {{#arraymap:{{{Organization Type|}}}|,|x|[[Organization Type::x]]}}
+
| {{#arraymap:{{{Country|}}}|,|x|[[Country::x]]}}
 
|-
 
|-
! [[Status as an educational resource]]:
+
! [[Date]]:
| {{#arraymap:{{{Status|}}}|,|x|[[Status::x]]}}
+
| {{#arraymap:{{{Date|}}}|,|x|[[Date::x]]}}|
|-
 
! [[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>

Revision as of 01:52, 12 March 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
|Mainurl=
|Author=
|License=
|Format=
|Country=
|Date=
}}

Edit the page to see the template text.