Changes

Jump to navigation Jump to search

Getting started on HCE wiki

1,362 bytes added, 09:24, 24 August 2016
added guide to dynami page lists extension
If you are happy with the changes made, and you wrote the summary for them too (see above), you can save and publish the page by clicking on the Save page button.
 
== Dynamic Page List =
 
This wiki uses a third-party extension [https://www.mediawiki.org/wiki/Extension:DynamicPageList3 DynamicPageList3] to allow the authors to create an automatically generated list of pages based on certain criteria. This is mainly utilised in the category synopses to create a list of pages that fall into these categories. You can see the extension in action on, for example, [[Virtual Reality Devices]] or [[Smartglasses]].
 
A dynamic list is created by including the code <code><nowiki><DPL>foo</DPL></nowiki></code>, in which the <code>foo</code> is a placeholder for additional parameters. To create a list of pages under a certain category, you need to replace the placeholder with <code>category=nameOfTheCategory</code>. The extension will now generate a list of ''all'' pages that are under the chosen category. The list can be further refined by adding more parameters, such as <code>sortkey=</code>, which allows for controlling the order in which the list is displayed. Full list of all available parameters can be found in the official documentation here: http://help.gamepedia.com/DPL:Manual#Parameters
 
An example of a dynamic list code that creates a list of all pages under the category of [[Speech Technologies]] and sorts them alphabetically:
 
<pre>
<DPL>
category=Speech Technologies
ordermethod=sortkey
</DPL>
</pre>
[[Category:Guides]]

Navigation menu