Template:Item: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
(Changed query)
Line 34: Line 34:
|}{{#set:Has item summary=[[{{PAGENAME}}]] by {{#arraymap:{{{author|}}}|,|x|[[x]]}} (<em>[[{{{source|}}}]]</em>, {{{date|}}}) ([{{{url|}}} view])}}
|}{{#set:Has item summary=[[{{PAGENAME}}]] by {{#arraymap:{{{author|}}}|,|x|[[x]]}} (<em>[[{{{source|}}}]]</em>, {{{date|}}}) ([{{{url|}}} view])}}


{{#ask:[[Refers to::{{PAGENAME}}]]|intro=The following other items refer to this item:&nbsp;}}
{{#cargo_query:table=Item_references|where=Previous_item="{{PAGENAME}}"|intro=The following other items refer to this item:&nbsp;|default=}}


<p><small>[[Special:FormEdit/Item references/{{PAGENAME}}|Add or change this opinion item's references]]</small></p>
<p><small>[[Special:FormEdit/Item references/{{PAGENAME}}|Add or change this opinion item's references]]</small></p>
[[Category:Items]]
[[Category:Items]]
</includeonly>
</includeonly>

Revision as of 23:09, November 25, 2014

This template holds information on an opinion item (a column, op-ed, blog post, etc.). It should be called in the following format:

{{Item
|author=The author or authors of the item; if there is more than one, their names should be separated with commas
|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
}}

This template defines the table "Items". View table.