Difference between revisions of "Help:Data Structures"

From Beyond Social
Line 22: Line 22:
 
==Templates==
 
==Templates==
 
=== Overviews ===
 
=== Overviews ===
* [[Template:Overview]] - template used in queries to create an overview
+
* [[Template:Overview]] - template used in queries to create overviews
  
 
=== Articles ===
 
=== Articles ===
* [[Template:Article]]
+
* [[Template:Article]] - main article template
* [[Template:Category_selector]]
+
* [[Template:Articles_more]] - overview of last edited articles (included through the [[Form:Article]])
* [[Template:Image_header]]
+
** [[Template:Contribute]] - contribution banner at the bottom of an article page (is included through Articles_more)
* [[Template:Articles_more]]
 
** [[Template:Contribute]] is included in Articles_more
 
 
* [[Template:WhatLinksHere]] (not used?)
 
* [[Template:WhatLinksHere]] (not used?)
  
 
=== Stacks (Formarly Editorial) ===
 
=== Stacks (Formarly Editorial) ===
* [[Template:Editorial_intro]]
+
* [[Template:Editorial]] - main editorial template
* [[Template:Editorial]]
+
* [[Template:Editorial_intro]] - small yellow banner that currently holds a short intro text about editorials
** [[Template:Editor selection]]
+
* [[Template:Editor selection]] - to display multiple stack editors
 
* [[Template:Article_Selection]] - list of selected articles, part of an Editorial page
 
* [[Template:Article_Selection]] - list of selected articles, part of an Editorial page
** [[Template:Preview]] - small preview of selected article (img)
+
* [[Template:Editorials_more]] - overview of last edited stacks (included through the [[Form:Editorial]])
** [[Template:Moddate]] - most recent moderation date & last editor
 
* [[Template:Editorials_more]]
 
  
 
=== Events ===
 
=== Events ===
* [[Template:Event]]
+
* [[Template:Event]] - main event template
* [[Template:Events]]
+
** [[Template:Article Selection Overview]] - article overview that are added to an event page
** [[Template:Article Selection Overview]]
+
* [[Template:Documentation]] - documentation section of event page
* [[Template:Events_more]]
+
* [[Template:Events_more]] - list with 5 most recent events (included through the [[Form:Event]])
* [[Template:Documentation]]
+
* [[Template:Events]] - event overview template
  
 
=== User Pages ===
 
=== User Pages ===
Line 52: Line 48:
  
 
=== Other ===
 
=== Other ===
* [[Template:Links_internal]]
+
* [[Template:Links_internal]] - to display wiki links
* [[Template:Links_external]]
+
* [[Template:Links_external]] - to display external links
* [[Template:Topics]]
+
* [[Template:Category_selector]] - to attach categories to a page

Revision as of 16:23, 21 May 2019

Semantic MediaWiki (SMW), Forms and Templates on this wiki

We're using Semantic MediaWiki (SMW) to store a data structure of Articles, Events, Stacks (formarly editorials) and User pages (profiles). SMW allows us to store properties of these pages and query them elsewhere.

We use Forms to insert these data structures into the pages and Templates to display this data.

Still using Cargo (to be changed?)


You can read more about the Frictionary here: Frictionary

Forms

Templates

Overviews

Articles

Stacks (Formarly Editorial)

Events

User Pages

Other