Template:Plot: Difference between revisions

From Absit Omen Lexicon
mNo edit summary
mNo edit summary
Line 39: Line 39:
==The Events Unfold==
==The Events Unfold==
<div class="events">
<div class="events">
<!---{{#cargo_compound_query:
tables=Events;where=_pageName="{{FULLPAGENAME}}";fields=CONCAT('===',DATE_FORMAT(date,'%e %M %Y'), '===')=threadDate, CONCAT('<div class="summary">',summary, '</div><div class="thread">','[',url,' ',title,']</div>')=thread,CONCAT('<div class="plotQuote">',quote,'<span class="source">',source,'</span></div>')=quote,characters=with
|tables=Articles;where=_pageName="{{FULLPAGENAME}}";fields=CONCAT('===',DATE_FORMAT(date,'%e %M %Y'), '===')=threadDate, CONCAT('<div class="',publication,'"></div><div class="summary">',summary, '</div><div class="thread"><span class="publication ',publication,'">',publication,': </span>[',url,' ',title,']<span class="author">',author,'</span></div>')=thread, CONCAT('<div class="plotQuote">',quote,'</div>')=quote
|format=outline
|outline fields=threadDate,thread,quote
}}-->
{{#cargo_compound_query:
{{#cargo_compound_query:
tables=Events; where=plots HOLDS "{{FULLPAGENAME}}"; fields=date, title, url, characters, summary, quote, source;order by=date,title
tables=Events; where=plots HOLDS "{{PAGENAME}}"; fields=_pageName=page, date, title, url, characters, summary, quote, source;order by=date,title
|tables=Articles; where=plots HOLDS "{{FULLPAGENAME}}"; fields=date, title, url, author, summary, quote, author, publication;order by=date,title
|tables=Articles; where=plots HOLDS "{{PAGENAME}}"; fields=_pageName=page, date, title, url, author, summary, quote, author, publication;order by=date,title
|format=template
|format=template
|template=Plot/display/events
|template=Plot/display/events

Revision as of 01:47, 16 January 2016

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

[create] Documentation icon Template documentation
Please add categories and interwikis to the /doc subpage. Subpages of this template.