Difference between revisions of "Template:Press"

From Creative Commons
Jump to: navigation, search
Line 7: Line 7:
 
   author= The author(s), comma separated (ie: Nathan Yergler)|
 
   author= The author(s), comma separated (ie: Nathan Yergler)|
 
   date= The publication date|
 
   date= The publication date|
  cc_staff= A flag to indicate this is a publication by CC staff; omit if not CC staff|
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 15: Line 14:
 
{{#if:{{{title|}}}|[[Title:={{{title}}}|]]|[[Title:={{PAGENAME}}|]] }}
 
{{#if:{{{title|}}}|[[Title:={{{title}}}|]]|[[Title:={{PAGENAME}}|]] }}
 
[[Publication:={{{publication}}}|]]
 
[[Publication:={{{publication}}}|]]
{{#arraymap:{{{author}}}|,|x|[[Author:=x| ]]}}
+
{{#arraymap:{{{author}}}|,|x|[[Author::User:x| ]]}}
 
[[Date:={{{date}}}|]]
 
[[Date:={{{date}}}|]]
  
 
[[Category:Press Hit]]
 
[[Category:Press Hit]]
{{#if:{{{cc_staff|}}}|[[Category:Publication]]| }}
 
 
</includeonly>
 
</includeonly>

Revision as of 16:55, 24 October 2007


{{Press|
   publication= The publication name (ie: Newsweek)|
   title= The title of the publication; if not provided, the page title is used|
   author= The author(s), comma separated (ie: Nathan Yergler)|
   date= The publication date|
}}