|
|
(10 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <noinclude>This template holds information on an opinion item (a column, op-ed, blog post, etc.). It should be called in the following format: | | <noinclude>This template holds information on the calendar event table. It should be called in the following format: |
| <pre> | | <pre> |
| {{Item | | {{Event |
| |author=The author or authors of the item; if there is more than one, their names should be separated with commas | | |start_date = The start datetime of the event |
| |source=The publication in which it was printed/posted | | |end_date = The end datetime of the event |
| |date=The date of publication | | |title = Title of the event |
| |url=A URL at which it can be found, if one exists | | |linkto = The wiki link of the page when clicked |
| |quote=A one-to-four-sentence quote from the item, that captures the spirit of the opinion it holds | | |description = A description of the event |
| | |category = The category of the event |
| }} | | }} |
| </pre> {{#cargo_declare:_table=Items|Author=List (,) of Page|Source=Page|Date=Date|URL=URL|Quote=Text|Summary=Wikitext (size=600)}} | | </pre> {{#cargo_declare:_table = Event|start_date= Date|end_date=Date |title = String | linkto= String | description=String| category=String}} |
| </noinclude><includeonly>
| | </noinclude> |
| This is an opinion item. {{#cargo_store:_table=Items|Author={{{author|}}}|Source={{{source|}}}|Date={{{date|}}}|URL={{{url|}}}|Quote={{{quote|}}}|Summary=[[{{PAGENAME}}]] by {{#arraymap:{{{author|}}}|,|x|[[x]]}} (''[[{{{source|}}}]]'', {{{date|}}}) ([{{{url|}}} view])}}
| |
| | |
| {| border="0" cellpadding="4" cellspacing="4" style="margin-bottom: 5px;"
| |
| ! Author(s)
| |
| | {{#arraymap:{{{author|}}}|,|x|{{#formredlink:target=x|form=Author|alt_form[0]=Editorial board}}}}
| |
| |-
| |
| ! Source
| |
| | {{#formredlink:target={{{source|}}}|alt_form[0]=Source|alt_form[1]=Magazine|alt_form[2]=Online magazine}}
| |
| |-
| |
| ! Date
| |
| | {{{date|}}}
| |
| |-
| |
| ! URL
| |
| | {{{url|}}}
| |
| |-
| |
| ! Quote
| |
| |
| |
| {| style="background: #fafaea; padding: 10px; border: 1px solid #cccccc;"
| |
| | style="vertical-align: top;" | [[File:Quotes-start.png]]
| |
| | style="padding: 0 10px 0 10px;" | {{{quote|}}}
| |
| | style="vertical-align: bottom;" | [[Image:Quotes-end.png]]
| |
| |}
| |
| |} | |
| | |
| {{#cargo_query:table=Item_references|where=Previous_item="{{#replace:{{PAGENAME}}|"|\"}}"|intro=The following other items refer to this item: |default=}}
| |
| | |
| <p><small>[[Special:FormEdit/Item references/{{PAGENAME}}|Add or change this opinion item's references]]</small></p> | |
| [[Category:Items]]
| |
| </includeonly>
| |
This template holds information on the calendar event table. It should be called in the following format:
{{Event
|start_date = The start datetime of the event
|end_date = The end datetime of the event
|title = Title of the event
|linkto = The wiki link of the page when clicked
|description = A description of the event
|category = The category of the event
}}
This template defines the table "Event". View table.