Wikipedia:User Page Design Center/Menus and subpages
From Wikipedia, the free encyclopedia
Contents |
[edit] Menus
Many users split their user page up into multiple pages and store the extra pages as subpages of their user page (like this: pagename/subpagename). Either their user page has grown too big to be a single page, or they like to keep their subjects more sectionalized. This creates a navigation problem, for typing the entire page name into the search box every time you want to go to a subpage is cumbersome, so one solution is to link the family of pages together with a common menu. The menu is stored in a subpage of its own, and is transcluded onto each page just like a template (that is, you just enclose the pagename inside of double curly brackets, {{like this}}. This affords the opportunity to add the talk page and special pages to the mix (like displaying the user's contributions and other display commands from Wikipedia's "special" menu). Some menus look just like navigation bars, others have icons, some are integrated into the page's border, and others are vertical lists (usually boxed).
Some examples are provided below.
To use one of these, press edit above, and copy the name of the menu you want to use (but without the curly brackets) and paste it into the search box to the left and press "Go". Then press edit again and select and copy the whole page (using ctrl-C). Then create a new page called [[User:Template:USERNAME/Menu]], and paste what you copied to there. Edit it to customize it to your purposes, and save. Then transcribe your menu page to your user and talk page (and/or to any of your other user subpages) by including it in curly brackets, like this: {{User:insert name here/Menu}}. Have fun.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Me | |||||||||||||||||
Home | Talk | Awards | Sandbox | Toolbox | Subpages | Español | |||||||||||
|
|
|
|
|
|
|
(en · es) |
|
|
|
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
About me |
|
|
|
|
|
|
|
Wikipedia:User Page Design Center/Menus and subpages/Menu17
Wikipedia:User Page Design Center/Menus and subpages/Menu18
[edit] More menu icons
[edit] Icons with special significance
[edit] Subpages
A subpage is a page "under" another page. Your userpage may be the parent page for as many subpages as you need.
[edit] How to make a subpage
- Start with your userpage.
- For example, User:Example User
- Add a forward slash (/) and text at the end of the name.
- For example User:Example User/Subpage
- Either link to it on your userpage or transclude it
- To link to it, type [[User:Example User/Subpage]]
- To transclude it (like a template) type {{User:Example User/Subpage}}
- The reason you would want to transclude it is if you want to put a header on every page, all you would need to put is {{User:Example User/Header}}, and you wouldn't need to put the code on each time.
- Also see Wikipedia:Subpages
[edit] Types of subpages
Here are some typical names for subpages of user pages:
- Talk page
- aka
- Forum
- Archives
- aka
- Work page
- aka
- Office
- Sandbox
- Workshop
- aka
- Toolbox
- aka
- Tool shed
- Tool cabinet
- Utility room
- Armory
- aka
- Control room
- aka
- Command console
- Command center
- Controls
- Edit counter
- Edit buttons
- Purge buttons
- Task buttons
- Nav aids
- Info boxes (templates)
- aka
- Contacts
- aka
- Hall of fame
- Users
- User list
- Users I admire
- Format
- Simple links
- Edit counters
- Link arrays
- aka
- Menu
- Format
- List
- Icons
- Icons with Click
- Samples
- ElAmericano
- Format
Note that subpages can have subpages under them as well, and so on. Like this: User:user name/subpage level one/subpage level two/etc.
[edit] Sandboxes
You can create subpages in userspace as private 'sandboxes'. You can use this space to experiment with Wiki syntax, or to work on articles without worrying about whether the article is ready to go public. Remember that:
- When moving articles to and from userspace it is easy to inadvertently break the terms of the GFDL by forgetting to leave a trail back to where the content came from. If you cut and paste content from an article into your userspace, remember to leave an edit summary such as "Content taken from Article", and do the same if you want to move content back into the main article.
- User subpages should not be included in any categories meant for articlespace. If you copy and paste an article containing categories, you can:
- Remove them
- Put <nowiki></nowiki> tags around them:
<nowiki>[[Category:Australians]]</nowiki>
produces [[Category:Australians]] - Comment them out with <!-- -->:
<!-- [[Category:Australians]]-->
produces absolutely nothing - Put
[[:Category:Australians]]
instead of[[Category:Australians]]
(note the extra colon): this produces Category:Australians.
- Be especially aware of templates that include categories, such as {{POV}} or {{stub}}. Again, you can remove the template, nowiki it, comment it out, or subst it with {{subst:POV}} instead of {{POV}} to convert the template into its raw code, then remove the category manually as above (you will need to replace the template on moving it back into articlespace).
- User subpages can be stumbled across by users unfamiliar with Wikipedia via Google (though not by Wikipedia's built-in search unless the searcher chooses to search in userspace). To avoid people mistaking your work in progress as an actual article, add {{userwip|articlename}} to the top, replacing "articlename" with the name of the article your work in progress is based on, in order to point users who stumble on your WIP accidentally to the most current readable article. This produces:
[edit] See Also
Wikipedia:WikiProject_User_Page_Help/Do-It-Yourself/Making_Subpages