Difference between revisions of "Template:CastleStoriesMP"
Jump to navigation
Jump to search
>Seraii |
>Kittymmeow (remove use of extension:css. css moved to MediaWiki:Common.css) |
||
| (8 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>{{doc}}[[Category:Templates]]</noinclude><!-- | <noinclude>{{doc}}[[Category:Templates]]</noinclude><!-- | ||
| − | --><includeonly> | + | --><includeonly><div class="CastleStoriesMP" style="text-align:center;margin:5px;">[[File:{{{Id}}}.png|500px|link={{{Title}}}]]<br />[[{{{Title}}}]]</div> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 01:50, 14 September 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..