Difference between revisions of "Template:ContentCurator"

From Creative Commons
Jump to: navigation, search
(Redirecting to Template:ContentDirectory)
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>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 &ndash; there are far easier ways of creating tables in MediaWiki.
+
#REDIRECT [[Template:ContentDirectory]]
 
 
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.
 
<pre>{{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
 
}}</pre>
 
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
 
 
 
 
 
</noinclude><includeonly>
 
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: center; clear: right; width: 40em"
 
! colspan="2" style="background: #006600; color: white" |[[Name:={{{Name|{{PAGENAME}}}}}]]
 
|-
 
{{#ifeq:{{{title|}}}|||{{Tablelongrow|Value=[[title:={{{title}}}]]|Color=#CAF7B7}}}}
 
|-
 
{{#ifeq:{{{mainurl|}}}|||{{Tablerow|Label=* Main URL:|Value=[[mainurl of:={{{mainurl}}}]]}}}}
 
|-
 
{{#ifeq:{{{ccportal|}}}|||{{Tablerow|Label=* CC-only portal:|Value=[[ccportal of:={{{ccportal}}}]]}}}}
 
|-
 
{{#ifeq:{{{ccfeed|}}}|||{{Tablerow|Label=* CC-only feed:|Value=[[ccfeed of:={{{ccfeed}}}]]}}}}
 
|-
 
{{#ifeq:{{{format|}}}|||{{Tablerow|Label=* Formats:|Value=[[format of:={{{format}}}]]}}}}
 
|-
 
{{#ifeq:{{{sizeandscope|}}}|||{{Tablerow|Label=* Size and scope of CC-licensed collection:|Value=[[sizeandscope of:={{{sizeandscope}}}]]}}}}
 
|-
 
{{#ifeq:{{{notes|}}}|||{{Tablerow|Label=* Notes:|Value=[[notes of:={{{notes}}}]]}}}}
 
|}
 
[[Category:Content_Directory]]</includeonly>
 

Latest revision as of 17:39, 12 July 2007