Template:Version history list/doc: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
		
	
| >OmegaK2 No edit summary | >OmegaK2  | ||
| Line 1: | Line 1: | ||
| {{documentation subpage}} | {{documentation subpage}} | ||
| {{lua|Module:SMWResultFormat}} | |||
| __TOC__ | __TOC__ | ||
| ==Overview== | ==Overview== | ||
| This  | This module and it's submodules are responsible for creating a list of versions. It will automatically create new sections for each minor sections. | ||
| It  | |||
| ==Usage== | ==Usage== | ||
| Line 14: | Line 11: | ||
| In SMW ask queries, specify the following: | In SMW ask queries, specify the following: | ||
| <code> | <code> | ||
|   |template=SMW  |   |template=SMW version history | ||
|  |outrotemplate=SMW version history/outro | |||
| </code> | </code> | ||
| Line 22: | Line 20: | ||
|   [[Category:Versions]] |   [[Category:Versions]] | ||
|   |?Has release date |   |?Has release date | ||
|   | |   |link=none | ||
|   | |   |limit=2 | ||
|   | |  |format=template | ||
|   | |   |template=SMW version history | ||
|   |outrotemplate=SMW version history/outro | |||
|   |searchlabel= |   |searchlabel= | ||
| }}</pre> | }}</pre> | ||
| Line 36: | Line 33: | ||
|   [[Category:Versions]] |   [[Category:Versions]] | ||
|   |?Has release date |   |?Has release date | ||
|   | |   |link=none | ||
|   | |   |limit=2 | ||
|   | |  |format=template | ||
|   | |   |template=SMW version history | ||
|   |outrotemplate=SMW version history/outro | |||
|   |searchlabel= |   |searchlabel= | ||
| }} | }} | ||
Revision as of 12:36, 1 September 2015

This subpage provides documentation for Template:Version history list.
Overview
This module and it's submodules are responsible for creating a list of versions. It will automatically create new sections for each minor sections.
Usage
In SMW ask queries, specify the following:
|template=SMW version history
|outrotemplate=SMW version history/outro
Example
{{#ask:
 [[Category:Versions]]
 |?Has release date
 |link=none
 |limit=2
 |format=template
 |template=SMW version history
 |outrotemplate=SMW version history/outro
 |searchlabel=
}}
Result:
{{#ask:
|?Has release date |link=none |limit=2 |format=template |template=SMW version history |outrotemplate=SMW version history/outro |searchlabel=
}}
