Difference between revisions of "Template:Overview"

From Beyond Social
Line 7: Line 7:
 
* [[Stacks]]
 
* [[Stacks]]
  
This Template is used to display the SMW values through this #ask query:
+
<br>This Template is used to display the SMW values through this #ask query:
  
 
<pre>
 
<pre>

Revision as of 16:25, 7 May 2019

This is the "Overview" template. This template uses the SMW tags of pages that are made with Form:Article.

This template is used to generate different overviews:


This Template is used to display the SMW values through this #ask query:

{{#ask: 
[[PageType::Article]]
|?Thumb
|?Category
|?Modification date
|?Creation date
|?Last editor is
|link=none
|format=template
|template=Overview
|limit=20
|sort=Modification date
|order=descending
}}

Returning the following values:

(1) Title
(2) Thumb
(3) Category
(4) Modification date
(5) Creation date
(6) Last editor is

This Template can also by used by writing it like this, and inserting it in a page:

{{ Overview
| Title=
| Thumb=
| Category=
| Modification date=
| Creation date=
| Last editor is=
}}