Difference between revisions of "Template:CastleStoriesMP"
Jump to navigation
Jump to search
>Canim44 m (Canim44 moved page CastleStoriesMP to Template:CastleStoriesMP) |
>Canim44 |
||
| Line 14: | Line 14: | ||
} | } | ||
} | } | ||
| − | }}<div class="CastleStoriesMP" style="text-align:center">[[File:{{{Id}}}.png|500px|link={{{ | + | }}<div class="CastleStoriesMP" style="text-align:center">[[File:{{{Id}}}.png|500px|link={{{Title}}}]]<br />[[{{{Title}}}]]</div> |
Revision as of 09:24, 28 May 2019
Usage
This template is used to call Castle Stories on Event pages or the Main Page.
{{#invoke:CargoQuery|main
|q?tables=CastleStories
|q?fields=_pageName=Title,Event=Name,Id=Id
|q?where=Event="Trick or Treasure!/October 2018"
|q?group by=_pageName
|q?order by= ReleaseDate DESC, Id ASC
|template=CastleStoriesMP
|default=''There are no castle stories released alongside this event.''
|delimiter=
}}
Example
Lua error: Error: Table CastleStories not found..