Difference between revisions of "Help:Data Structures"

From Beyond Social
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
=Semantic MediaWiki (SMW), Forms and Templates on this wiki=
 
=Semantic MediaWiki (SMW), Forms and Templates on this wiki=
  
==Still using Cargo (to be changed)==
+
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.
 +
 
 +
==Frictionary==
 +
 
 +
(Only thing that is using Cargo)
  
 
* [[Form:Frictionary]]
 
* [[Form:Frictionary]]
Line 8: Line 14:
  
 
<br>
 
<br>
You can read more about the Frictionary here: [[Frictionary]]
+
Read more about the [[Frictionary]] and [[Cargo]].
  
 
==Forms==
 
==Forms==
* [[Form:Article]]
+
{| class="wikitable"
* [[Form:Editorial]]
+
|-
* [[Form:Event]]
+
| [[Form:Article]] || Form to make Article pages
* [[Form:Profile]]
+
|-
 +
| [[Form:Editorial]] || Form to make Editorial pages (now called Stacks)
 +
|-
 +
| [[Form:Event]] || Form to make Event pages
 +
|-
 +
| [[Form:Profile]] || Form to make User pages
 +
|}
 
   
 
   
 
==Templates==
 
==Templates==
 
=== Overviews ===
 
=== Overviews ===
* [[Template:Overview]]
+
{| class="wikitable"
<br>
+
|-
 
+
| [[Template:Overview]] || template used in queries to create overviews
This template is used to generate different overviews:
+
|}
* [[Main Page]] overviews for recently edited Articles & Stacks
 
* [[Articles]]
 
* [[Stacks]]
 
  
 
=== Articles ===
 
=== Articles ===
* [[Template:Article]]
+
{| class="wikitable"
* [[Template:Category_selector]]
+
|-
* [[Template:Image_header]]
+
| [[Template:Article]] || main article template
* [[Template:Contribute]]
+
|-
* [[Template:Articles_more]]
+
| [[Template:Contribute]] || contribution banner at the bottom of an article page (is included through Articles_more)
** [[Template:Contribute]] is included in Articles_more
+
|-
* [[Template:WhatLinksHere]]
+
| [[Template:Articles_more]] || overview of last edited articles (included through the [[Form:Article]])
 +
|}
  
=== Stacks (Formarly Editorial) ===
+
=== Stacks or formarly Editorial ===
* [[Template:Editorial_intro]]
+
{| class="wikitable"
* [[Template:Editorial]]
+
|-
** [[Template:Editor selection]]
+
| [[Template:Editorial]] || main editorial template
* [[Template:Article_Selection]] - list of selected articles, part of an Editorial page
+
|-
** [[Template:Preview]] - small preview of selected article (img)
+
| [[Template:Editorial_intro]] || small yellow banner that currently holds a short intro text about editorials
** [[Template:Moddate]] - most recent moderation date & last editor
+
|-
* [[Template:Editorials_more]]
+
| [[Template:Editor selection]] || to display multiple stack editors
 +
|-
 +
| [[Template:Article_Selection]] || list of selected articles, part of an Editorial page
 +
|-
 +
| [[Template:Editorials_more]] || overview of last edited stacks (included through the [[Form:Editorial]])
 +
|}
  
 
=== Events ===
 
=== Events ===
* [[Template:Event]]
+
{| class="wikitable"
* [[Template:Events]]
+
|-
** [[Template:Article Selection Overview]]
+
| [[Template:Event]] || main event template
* [[Template:Events_more]]
+
|-
* [[Template:Documentation]]
+
| [[Template:Article Selection Overview]] || creating the article overviews of event page
 +
|-
 +
| [[Template:Documentation]] || documentation section of event page
 +
|-
 +
| [[Template:Events_more]] || list with 5 most recent events (included through the [[Form:Event]])
 +
|-
 +
| [[Template:Events]] || event overview template (used on [[Events]])
 +
|}
  
 
=== User Pages ===
 
=== User Pages ===
* [[Template:Profile]]
+
{| class="wikitable"
 +
|-
 +
| [[Template:Profile]] || main User Page template
 +
|}
 +
 
  
 
=== Other ===
 
=== Other ===
* [[Template:Links_internal]]
+
{| class="wikitable"
* [[Template:Links_external]]
+
|-
* [[Template:Topics]]
+
| [[Template:Links_internal]] || to display wiki links
 +
|-
 +
| [[Template:Links_external]] || to display external links
 +
|-
 +
| [[Template:Category_selector]] || to attach categories to a page
 +
|-
 +
| [[Template:HIDE_CATEGORY_PAGES]] || include this template in a category to hide the default listing of pages. Include it as following: <nowiki>{{HIDE_CATEGORY_PAGES}}</nowiki>
 +
|}

Latest revision as of 16:08, 2 October 2020

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.

Frictionary

(Only thing that is using Cargo)


Read more about the Frictionary and Cargo.

Forms

Form:Article Form to make Article pages
Form:Editorial Form to make Editorial pages (now called Stacks)
Form:Event Form to make Event pages
Form:Profile Form to make User pages

Templates

Overviews

Template:Overview template used in queries to create overviews

Articles

Template:Article main article template
Template:Contribute contribution banner at the bottom of an article page (is included through Articles_more)
Template:Articles_more overview of last edited articles (included through the Form:Article)

Stacks or formarly Editorial

Template:Editorial main editorial template
Template:Editorial_intro small yellow banner that currently holds a short intro text about editorials
Template:Editor selection to display multiple stack editors
Template:Article_Selection list of selected articles, part of an Editorial page
Template:Editorials_more overview of last edited stacks (included through the Form:Editorial)

Events

Template:Event main event template
Template:Article Selection Overview creating the article overviews of event page
Template:Documentation documentation section of event page
Template:Events_more list with 5 most recent events (included through the Form:Event)
Template:Events event overview template (used on Events)

User Pages

Template:Profile main User Page template


Other

Template:Links_internal to display wiki links
Template:Links_external to display external links
Template:Category_selector to attach categories to a page
Template:HIDE_CATEGORY_PAGES include this template in a category to hide the default listing of pages. Include it as following: {{HIDE_CATEGORY_PAGES}}