User:LikeLakers2/Personal Templates/subpages
{{User:LikeLakers2/Personal Templates/subpages
| page = Page to view subpages for (optional; defaults to current page)
| link = "yes" will link to the page to view the results on, while "no" will transclude the results onto the page. (optional; defaults to no)
| linktext = What text to show as the link (optional; defaults to simply showing the link as what it links to; useless unless the "link" parameter is set to yes)
}}
Shows the subpages of the current page. Specify one of several parameters to change what the end result. Parameters are explained above.
You may also use {{User:LikeLakers2/subp}} or {{User:LikeLakers2/sp}} as a shortcut.
Examples
[edit]{{User:LikeLakers2/sp
| page = User:Jimbo Wales
}}
Would call {{Special:PrefixIndex/User:Jimbo Wales/}}, which would return:
- Jimbo Wales/2004-06-05/Quiz - Wikipedia trivia
- Jimbo Wales/2004-06-05/Quiz - sockpuppets
- Jimbo Wales/2004-06-05/Quiz - user pages
- Jimbo Wales/2004-06-05/Quiz answers
- Jimbo Wales/BBC talk
- Jimbo Wales/BBC talk slides
- Jimbo Wales/Barnstars
- Jimbo Wales/Birthday Wishes
- Jimbo Wales/Birthday Wishes/Archive 2005
- Jimbo Wales/Boston/Quiz - Spelling
- Jimbo Wales/Boston/Quiz - User pages
- Jimbo Wales/Boston/Quiz - Wikipedia and Boston
- Jimbo Wales/Boston/Quiz - Wikipedia history, current events and Meta issues
- Jimbo Wales/Boston/Quiz - Wikipedians
- Jimbo Wales/Boston/Quiz answers
- Jimbo Wales/Ceasefire
- Jimbo Wales/Credential Verification
- Jimbo Wales/Donate
- Jimbo Wales/Editcounter
- Jimbo Wales/Editnotice
- Jimbo Wales/Emailnotice
- Jimbo Wales/Founder
- Jimbo Wales/Funny pictures
- Jimbo Wales/In many languages...
- Jimbo Wales/Magazine Awards
- Jimbo Wales/NPOV report on problems with MV
- Jimbo Wales/Paid Advocacy FAQ
- Jimbo Wales/Personal Image Filter
- Jimbo Wales/Poems
- Jimbo Wales/Pushing To 1.0/archive
- Jimbo Wales/Quotations
- Jimbo Wales/ScratchPad
- Jimbo Wales/Statement of principles
- Jimbo Wales/Template
- Jimbo Wales/These Are the Voyages ...
- Jimbo Wales/Tools
- Jimbo Wales/WikiProject Shave the Wales
- Jimbo Wales/WikiProject Shave the Wales/to do
- Jimbo Wales/WikiProject Wikipedians for Jimbo's beard
- Jimbo Wales/WikiProject Wikipedians for Jimbo's beard/to do
- Jimbo Wales/WikiProject Wikipedians who frankly don't care about Jimbo's beard
- Jimbo Wales/WikiProject Wikipedians who frankly don't care about Jimbo's beard/to do
- Jimbo Wales/Wikipedian of the Year 2015
- Jimbo Wales/beard
- Jimbo Wales/guestbook
- Jimbo Wales/guestbook/icon
- Jimbo Wales/guestbook/icon/splash
- Jimbo Wales/indextemplate
- Jimbo Wales/monobook.js
- Jimbo Wales/subpages
- Jimbo Wales/topframe
- Jimbo Wales/vector-2022.js
- Jimbo Wales/vector.js
Please note: the results for this example have been hidden, so as to reduce page length.
{{User:LikeLakers2/sp
| page = User:Jimbo Wales
| link = yes
}}
Would call [[Special:PrefixIndex/User:Jimbo Wales/]], which would of course return Special:PrefixIndex/User:Jimbo Wales/.
{{User:LikeLakers2/sp
| page = User:Jimbo Wales
| link = yes
| linktext = Subpages of page User:Jimbo Wales
}}
Would call [[Special:PrefixIndex/User:Jimbo Wales/|Subpages of page User:Jimbo Wales]], which returns Subpages of page User:Jimbo Wales.
If you need to practice using this, feel free to test it out in the template sandbox, linked to below.