PC Gaming Shelter
An archive dedicated to preserving PC Gaming history and more

Help:Main Page widgets: Difference between revisions

From PC Gaming Shelter
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:


== Sidebar content ==
== Sidebar content ==
The Main Page layout differs from the rest of the site: it features a sidebar within the main content area. The sidebar content is injected via [[MediaWiki:Bottom-notice-Main Page]] and positioned by Javascript. You can find more information about page notices in the [https://www.mediawiki.org/wiki/Extension:PageNotice extension documentation].
=== Upcoming Events ===
Modifications to the ''Upcoming PC Gaming Events'' block can be made on [[Template:Upcoming events]]. It contains a semantic query that retrieves events one month ahead and a link to the Event Calendar.


Pages in the MediaWiki namespace is editable by privileged users (group <code>interface-admin</code>).
=== Featured Content ===
 
The query in the sidebar looks for the featured content in categories ''Picture of the month'' and ''Video of the month'' for the current month. One can add content using [[Form:Featured]] for preparing content.
Currently, the Main Page bottom notice contains:
* calls to another pages in the MediaWiki namespace (<code><nowiki>{{int:name-of-the-page}}</nowiki></code>)
* direct text for link listings
* a call for the featured template
 
Modifications to the ''Upcoming PC Gaming Events'' block can be made on [[MediaWiki:shelter-upcoming-events]].
 
Modifications to the ''Archive Statistics'' block can be made on [[MediaWiki:shelter-statistics]].

Latest revision as of 15:38, 14 July 2026

Wall of thumbs

The element can be re-used anywhere across the wiki. Please check the documentation on the template page: Template:Thumbwall.

Featured content

A reusable template that renders a card element for an image or a YouTube video. See documentation on Template:Featured.

Sidebar content

Upcoming Events

Modifications to the Upcoming PC Gaming Events block can be made on Template:Upcoming events. It contains a semantic query that retrieves events one month ahead and a link to the Event Calendar.

Featured Content

The query in the sidebar looks for the featured content in categories Picture of the month and Video of the month for the current month. One can add content using Form:Featured for preparing content.