Template:Item: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
(Undoing testing)
Line 9: Line 9:
</pre>
</pre>
The order of the fields is not relevant.
The order of the fields is not relevant.
</noinclude>
</noinclude><includeonly>
 
<includeonly>
This is an opinion item.
This is an opinion item.


{| border="1" cellpadding="4" cellspacing="4" style="margin-bottom: 5px;"
{| border="0" cellpadding="4" cellspacing="4" style="margin-bottom: 5px;"
! Author(s)
! Author(s)
| {{#arraymap:{{{author|}}}|,|x|[[Was written by::x]]}}
| {{#arraymap:{{{author|}}}|,|x|[[Was written by::x]]}}
Line 28: Line 26:
|-
|-
! Quote
! Quote
| <div style="background: #FFFFCC; padding: 10px; border: 1px solid #cccccc;">[[Has quote::{{{quote|unknown}}}]]</div>
| <div style="background: #fafaea; padding: 10px; border: 1px solid #cccccc;">[[Has quote::{{{quote|unknown}}}]]</div>
|}
|}



Revision as of 04:05, March 19, 2009

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

{{Item
|author=The author or authors of the item; if there is more than one, separate their names with comas
|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.