Timeline: Difference between revisions
m typo |
m typo |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Feature | {{Feature | ||
|image=View-calendar-timeline.svg | |||
|imgdesc=calendar timeline | |||
|description=Produce timelines from data | |description=Produce timelines from data | ||
| | |notes=There are also the legacy 'timeline' and 'eventline' formats. | ||
}} | }} | ||
The [https://github.com/ProfessionalWiki/ModernTimeline Extension:ModernTimeline] provides the [[Semantic MediaWiki]] result format of '''[https://www.semantic-mediawiki.org/wiki/Help:Moderntimeline_format moderntimeline]''' which outputs your query data into a timeline as shown below. | |||
The [https://github.com/ProfessionalWiki/ModernTimeline Extension:ModernTimeline] provides the [[ | |||
The query | The query | ||
| Line 26: | Line 27: | ||
|limit=50 | |limit=50 | ||
|default=no recent edits | |default=no recent edits | ||
|template=Timeline | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 47: | Line 49: | ||
|limit=50 | |limit=50 | ||
|default=no recent edits | |default=no recent edits | ||
|template=Timeline | |||
}} | }} | ||
==Debugging== | ==Debugging== | ||
This code works to show the thumbnail, <nowiki>{{#show: | This code works to show the thumbnail, <nowiki>{{#show: Svg|?Has image#100px;x100px;thumb}}</nowiki> so I don't know why I can't get modern timeline to show the thumbnail. I tried formatting the ask query output with a template and got the thumbnail to show up, but I'm afraid the Feature template needs to be revised to assign properties and parameters better to get the right results. | ||
==Parameters== | ==Parameters== | ||
The parser function for showing the documentation of supported functionality: | The parser function for showing the documentation of supported functionality: | ||
<nowiki>{{#smwdoc: moderntimeline}}</nowiki> | <nowiki>{{#smwdoc: moderntimeline}}</nowiki> | ||