User:Cpiral/sandbox/C
- 1insource: "wikipedia org wiki template:links to/doc" prefix:User:Cpiral/sandbox/C
- 2insource: "fullurl:template:links to/doc#See also" prefix:User:cpiral/sandbox/C
- 3insource: "fullurl w NS 10 links to/doc#See also" prefix:User:cpiral/sandbox/C
- 4insource: "canonicalurl:template:links to/doc#See also" prefix:User:cpiral/sandbox/C
- 5insource: "SERVER localurl:template:links to/doc#See also" prefix:User:cpiral/sandbox/C
- 6insource: "SERVER wiki template:links_to/doc#See_also" prefix:User:cpiral/sandbox/C
- 7insource: "SERVER wiki NS 10 links_to/doc#See_also" prefix:User:cpiral/sandbox/C
- 8insource: "slink template: links to/doc See also" prefix:User:cpiral/sandbox/C
- 9insource: "srlink tempLate:Links to/doc#See also" prefix:User:cpiral/sandbox/C
- 0insource: "links tempLate Links to/doc#See also" prefix:User:cpiral/sandbox/C
- 1[1]
- 2[2]
- 3[3]
- 4[4]
- 5[5]
- 6[6]
- 7[7]
- 8template: links to/doc § See also
- 9tempLate:Links to/doc#See also
- 0(T·E·H·L·R) TempLate:Links to/doc#See also
).
These can be a clear and concise way to talk about subpages. See where subpagename or basepagename are used on pages.
Subpagenames and subpage links are used to abbreviate linking and transclusion among closely interworking subpages, where they are seen near the top of every subpage in the nav list, and in [[wikilinks]], and in {{templates}}.
Navigating or linking to any page requires [[fullpagename]] except when to and from subpages.
For example, at Manual of Style (subpages)
or at The Missing Manual (subpages).
The construct ../
is an abbreviation borrowed from computing, and using it in a wikilink renders the fullpagename.
The table below shows a live demo of subpage naming relations, and subpage linking.
See this table on subpages /one/two/three/four and /sub/page/name1/sub/page/name2.
Equalities? | Variables and markup | Live rendering |
---|---|---|
On subpages, these three: | fullpagename | User:Cpiral/sandbox/C |
namespace:basepagename/subpagename | User:Cpiral/sandbox/C | |
../subpagename | User:Cpiral/sandbox/C | |
On subpages, these two: | pagename | Cpiral/sandbox/C |
basepagename/subpagename | Cpiral/sandbox/C | |
On root and 1st sub/page: | basepagename | Cpiral/sandbox |
rootpagename | Cpiral | |
On subpages, these equal nav links. | [[../]] | User:Cpiral/sandbox |
[[../../]] | User:Cpiral | |
[[../../../]] | [[../../../]] | |
List subpages of this page |
It shows that
- A subpagename is just a label inside its pagename, with a software-added / slash delimiter.
- The basepagename is just the pagename of the parent, so it absorbs child subpagenames.
- A fullpagename is a namespace:basepagename/subpagename, or a ../subpagename.
- The pagename includes the subpagename. There really is a sub-pagename, (although there is no full-pagename or full pagename).
- The pagename of a subpage is is basename/subpagename.
- Basepagename only lacks the namespace needed for linking or navigating.
- When not on a subpage:
- the terms are synonymous: pagename, subpagename, basepagename.
[[../]]
renders User:Cpiral/sandbox, User:Cpiral, etc.
- When the subpagename has a / slash character in it, a subpage link to it [[../]] renders a redlinked fullpagename.
Other facts concerning subpages are that
- A wikilink [[/subpagename]] can create a subpage.
- While editing a subpage you don't see subpagenames to know for sure how to reference parent pages in subpage links. You only a have view of the title.
- The subpage navigation list only shows subpages above. You can list subpages below
- indirectly from the "Page information" item on every page.
- directly from a "Subpages" item on every page, by adding a bit of JavaScript to your Preferences.
- indirectly using Search with the prefix parameter.
You can find standardized subpagenames by using the intitle parameter. See common subpagenames from these searches:
Each pagename in a namespaces is unique, but those searches show how subpagenames are standardized, and repeated many times.