Jump to content

Topic on Project:Support desk/Flow

Pages with same name but different context

2
Deepzeafish (talkcontribs)

Hi all,

I'm currently starting a wiki on some local towns and cities. I want to have pages like "churches", "famous buildings", "town hall", etc. for each of the cities I want to describe. In a hierarchical structure it would look like this:

townA

- churches

- famous buildings

townB

- churches

- famous buildings

I'm not sure how to do this. Would I use a prefix like that: townA_church townB_church to describe the churches for each town? Or is there a better approach? In the end it should be possible to embed in each town page something like a footer that contains all the pages only belonging to that town like that:

townA

- content: some general information

- footer: townA_church, townA_famousBuildings


townB

- content: some general information

- footer: townB_church, townB_famousBuildings

Thanks in advance

Fereal (talkcontribs)

The most direct way to create hierarchies is to use Help:Subpages.

You will be naming the pages Town A/Churches, Town A/Famous Buildings, Town B/Churches etc.

As for displaying all subpages for the town, you can use Extension:SubPageList.

Reply to "Pages with same name but different context"