Testing: Difference between revisions

From BSC Policy
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
This sample acts like a tutorial. It guides you through the creation of a set of hierarchical pages to try out the [[Extension:Hierarchy|Hierarchy Extension]].
This sample acts like a tutorial. It guides you through the creation of a set of hierarchical pages to try out the [[Extension:Hierarchy|Hierarchy Extension]].
{{ombox | text = '''Please note''' – The notifications system went through a '''major overhaul in July 2016'''. This page has '''not yet been completely updated''' to reflect those changes. Thus, some of what is written here no longer applies to the way that the system works. |type=content}}


'''Instructions:'''
'''Instructions:'''

Revision as of 11:59, 22 December 2020

This sample acts like a tutorial. It guides you through the creation of a set of hierarchical pages to try out the Hierarchy Extension.


Instructions:

  • Create a page for each title below. Fill the page with the text that appears after the title.
  • The first page to be created will be the index page. It can be used as a shortcut to create the other pages, because it will link to them.
  • In the end, it will be necessary to edit the index page and save it again, so it can process all pages after they are created.


Sample index

This is a sample index of a page hierarchy.

<index>
[[Sample Top page]]
= Sample Chapter one =
== Sample Topic one ==
== Sample Topic two ==
= Sample Chapter two =
== Sample Topic three ==
=== Sample Subtopic A ===
=== Sample Subtopic B ===
== Sample Topic four ==
== What the Hell ==
</index>

other words

Sample Chapter one

Sample Topic one

Sample Topic two

Sample Chapter two

Sample Topic three

Sample Subtopic A

Sample Subtopic B

Sample Topic four

What the Hell

Sample Chapter four

List Test

  1. Item
  2. Item
    1. Sub-item
      1. Sub-sub-item
      2. Sub-sub-item
      3. Sub-sub-item
    2. Sub-item
    3. Sub-item
  3. Item


  • Color
    • Blue
    • Green
      • soft shades
  • Hairstyle
    • short
    • long

Sample Top Content Stuff

{{Hierarchy header}}
This is the topmost page of this hierarchy.
{{Hierarchy footer}}

Sample Chapter one

{{Hierarchy header}}
First chapter of the sample hierarchy. 
{{Hierarchy footer}}

Sample

this is a test.

SubPage SubPage

Sample Topic one

{{Hierarchy header}}
First topic of the sample hierarchy, within chapter one.
{{Hierarchy footer}}

Sample Topic two

{{Hierarchy header}}
Second topic of the sample hierarchy, within chapter one.
{{Hierarchy footer}}

Sample Chapter two

{{Hierarchy header}}
Second chapter of the sample hierarchy.
{{Hierarchy footer}}

Sample Topic three

{{Hierarchy header}}
Third topic of the sample hierarchy, within chapter two.
{{Hierarchy footer}}

Sample Subtopic A

{{Hierarchy header}}
First subtopic of the sample hierarchy, within topic three.
{{Hierarchy footer}}

Sample Subtopic B

{{Hierarchy header}}
Second subtopic of the sample hierarchy, within topic three.
{{Hierarchy footer}}

Sample Topic four

{{Hierarchy header}}
Fourth topic of the sample hierarchy, within chapter two.
{{Hierarchy footer}}

Template:Hierarchy header

<includeonly>{{#hierarchy-top:}}</includeonly><noinclude>
This is the header of a page that belongs to a hierarchy.
</noinclude>

Template:Hierarchy footer

<includeonly>{{#hierarchy-bottom:}}</includeonly><noinclude>
This is the footer of a page that belongs to a hierarchy.
</noinclude>

Sample index

Edit and save the sample index so it will process the newly created pages.

Now follow its links to test it.