Template:Version history list/doc: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
		
	
| >OmegaK2 m (Fixed example) | >OmegaK2  m (→Usage) | ||
| Line 10: | Line 10: | ||
| In SMW ask queries, specify the following: | In SMW ask queries, specify the following: | ||
| < | <pre> | ||
|   |template=SMW version history |   |template=SMW version history | ||
|   |outrotemplate=SMW version history/outro |   |outrotemplate=SMW version history/outro | ||
| </ | </pre> | ||
| ==Example== | ==Example== | ||
Revision as of 15:49, 20 April 2016

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 releasse date::+]]
 |?Has release date
 |link=none
 |limit=2
 |format=template
 |template=SMW version history
 |outrotemplate=SMW version history/outro
 |searchlabel=
}}
Result:
{{#ask:
Has release date::+ |?Has release date |link=none |limit=2 |format=template |template=SMW version history |outrotemplate=SMW version history/outro |searchlabel=
}}
