Difference between revisions of "Template:ContentCurator"

From Creative Commons
Jump to: navigation, search
Line 32: Line 32:
 
{{#ifeq:{{{format|}}}|||{{Tablerow|Label=* Formats:|Value=[[format::{{{format}}}]]}}}}
 
{{#ifeq:{{{format|}}}|||{{Tablerow|Label=* Formats:|Value=[[format::{{{format}}}]]}}}}
 
|-
 
|-
{{#ifeq:{{{sizeandscope|}}}|||{{Tablerow|Label=* Size and scope of CC-licensed collection:|Value={{{sizeandscope}}}}}}}
+
{{#ifeq:{{{sizeandscope|}}}|||{{Tablerow|Label=* Size and scope of CC-licensed collection:|Value=[[sizeandscope::{{{sizeandscope}}}]]}}}}
 
|-
 
|-
 
{{#ifeq:{{{notes|}}}|||{{Tablerow|Label=* Notes:|Value={{{notes}}}}}}}
 
{{#ifeq:{{{notes|}}}|||{{Tablerow|Label=* Notes:|Value={{{notes}}}}}}}
 
|}
 
|}
 
[[Category:Content_Directory]]</includeonly>
 
[[Category:Content_Directory]]</includeonly>

Revision as of 18:07, 10 July 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 of Content Curator (ie: Flickr)|
  mainurl= The main URL (without "http://")|
  ccportal= CC-only portal|
  ccfeed= CC-only feed|
  format={{format| format=audio}} {{format| format=video}} {{format| format=image}}|
  sizeandscope= Size and scope of CC-licensed collection|
  notes= notes you'd like to write.
 }}

In the format field, you can add more format by copying the structure or deleting some of them if you just need one. The order of the fields is not relevant. The template should be given as the first thing on a page.