Timeline: Difference between revisions

No edit summary
m typo
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
|notes=There are also the legacy 'timeline' and 'eventline' formats.
|notes=There are also the legacy 'timeline' and 'eventline' formats.
}}
}}
The [https://github.com/ProfessionalWiki/ModernTimeline Extension:ModernTimeline] provides the [[SemanticMediaWiki]] 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 [[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 query
The query
Line 27: Line 27:
  |limit=50
  |limit=50
  |default=no recent edits
  |default=no recent edits
|template=Timeline
}}
}}
</pre>
</pre>
Line 48: 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: Timeless|?Has image#100px;x100px;thumb}}</nowiki> so I don't know why I can't get modern timeline to show the thumbnail.
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>