Difference between revisions of "Templates download/Subpages"

(Created page with "<div class="downloadarea"> <span class="getButton">Download</span> 450x450px</div> This template can be integrated into eve...")
 
Tag: 2017 source edit
 
Line 12: Line 12:
 
#'''Enter''' an Interwiki prefix. Since this field is required, simply add ''hw'' (for hallowelt).
 
#'''Enter''' an Interwiki prefix. Since this field is required, simply add ''hw'' (for hallowelt).
 
#'''Keep''' the selection ''Import to default locations''.
 
#'''Keep''' the selection ''Import to default locations''.
#'''Click''' Sie ''Upload file...'' .
+
#'''Click''' ''Upload file...'' .
  
 
The  template is now available in your wiki.
 
The  template is now available in your wiki.

Latest revision as of 16:21, 10 February 2022

This template can be integrated into every wiki page using the editor toolbar. It generates a list of subpages of a wiki page. You can create a single or multi-column layout, with or without bullets.

Importing the template[edit | edit source]

The import file is included in the archive file HW-subpages.zip. Unpack the zip file first.

On the page Special:Import follow these steps:

  1. Select file and choose HW-subpages.xml.
  2. Enter an Interwiki prefix. Since this field is required, simply add hw (for hallowelt).
  3. Keep the selection Import to default locations.
  4. Click Upload file... .

The template is now available in your wiki.

Usage[edit | edit source]

Insert the template Subpages with VisualEditor. Provide the settings for the list:

Field Description
Namespace Namespace in which the parent page is located. Leave blank for the main namespace.
Parent page The wiki page that has the subpages.
Column layout no = flat list; yes = 3-column layout
Bullet points yes = bulleted list; no = list without bullet points

Pages included in the import[edit | edit source]

The xml import creates the following file in your wiki:

  • Template:Subpages
  • Template:Subpages/styles.css


No categories assignedEdit

Discussions