Template:Item: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Another attempt)
(Turned 'author' into a multiple-value field)
Line 14: Line 14:
{| border="0" cellpadding="4" cellspacing="4" style="margin-bottom: 5px;"
{| border="0" cellpadding="4" cellspacing="4" style="margin-bottom: 5px;"
! Author
! Author
| [[Was written by::{{{author|unknown}}}]]  
| {{#arraymap:{{{author}}}|,|x|[[Was written by::x]]}}
|-
|-
! Source
! Source

Revision as of 18:44, February 1, 2008

This template holds information on an opinion item (a column, op-ed, blog post, etc.); it should be called with the following structure:

{{source
|author=The author of the item; if there is more than one, just enter the first one (the "Additional author" template is used for the others)
|source=The publication in which it was printed/posted
|date=The date of publication
|url=A URL at which it can be found, if one exists
|quote=A one-to-four-sentence quote from the item, that captures the spirit of the opinion it holds
}}

The order of the fields is not relevant.