Difference between revisions of "Template:ContentCurator"

From Creative Commons
Jump to: navigation, search
Line 4: Line 4:
 
<pre>{{ContentCurator|
 
<pre>{{ContentCurator|
 
   Title=Name|
 
   Title=Name|
   mainURL=The main URL|
+
   mainURL= The main URL|
   ccportal=CC-only portal|
+
   ccportal= CC-only portal|
   ccfeed=CC-only feed|
+
   ccfeed= CC-only feed|
   format=Formats|
+
   format= Formats|
   SizeandScope=Size and scope of CC-licensed collection|
+
   SizeandScope= Size and scope of CC-licensed collection|
   Notes=Notes|
+
   Notes= Notes
 
  }}</pre>
 
  }}</pre>
 
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
 
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
Line 20: Line 20:
 
{{#ifeq:{{{Title|}}}|||{{Tablelongrow|Value=[[title:={{{Title}}}]]|Color=#CAF7B7}}}}
 
{{#ifeq:{{{Title|}}}|||{{Tablelongrow|Value=[[title:={{{Title}}}]]|Color=#CAF7B7}}}}
 
|-
 
|-
{{#ifeq:{{{mainURL|}}}|||{{Tablerow|Label=mainURL of|Value=[[mainURL of::{{{mainURL}}}]]}}}}
+
{{#ifeq:{{{mainURL|}}}|||{{Tablerow|Label=mainURL of|Value=[[mainURL::{{{mainURL}}}]]}}}}
 
|-
 
|-
 
{{#ifeq:{{{ccportal|}}}|||{{Tablerow|Label=ccportal|Value=[[ccportal:={{{ccportal}}}]]}}}}
 
{{#ifeq:{{{ccportal|}}}|||{{Tablerow|Label=ccportal|Value=[[ccportal:={{{ccportal}}}]]}}}}
Line 28: Line 28:
 
{{#ifeq:{{{format|}}}|||{{Tablerow|Label=format|Value=[[format:={{{format}}}]]}}}}
 
{{#ifeq:{{{format|}}}|||{{Tablerow|Label=format|Value=[[format:={{{format}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{SizeandScope |}}}|||{{Tablerow|Label= SizeandScope |Value=[[SizeandScope:={{{SizeandScope}}}]]}}}}
+
{{#ifeq:{{{SizeandScope|}}}|||{{Tablerow|Label= SizeandScope|Value=[[SizeandScope:={{{SizeandScope}}}]]}}}}
 
|-
 
|-
 
{{#ifeq:{{{Notes |}}}|||{{Tablerow|Label= Notes |Value=[[Notes:={{{Notes}}}]]}}}}
 
{{#ifeq:{{{Notes |}}}|||{{Tablerow|Label= Notes |Value=[[Notes:={{{Notes}}}]]}}}}
|}[[Category:Person]]</includeonly>
+
|}[[Category:Content_Directory]]</includeonly>

Revision as of 20:05, 27 June 2007

This template simplifies the creation of articles about Content Curator. When inserted in an content curator's page, it creates a decorative table with much helpful information. 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 user page. All fields are strictly optional and should be omitted if no data is given.

{{ContentCurator|
  Title=Name|
  mainURL= The main URL|
  ccportal= CC-only portal|
  ccfeed= CC-only feed|
  format= Formats|
  SizeandScope= Size and scope of CC-licensed collection|
  Notes= Notes
 }}

The order of the fields is not relevant. The template should be given as the first thing on a page.