Difference between revisions of "Template:Portal subpage/doc"
Jump to navigation
Jump to search
test>Wikisaurus |
m (14 revisions imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 17: | Line 17: | ||
<includeonly> | <includeonly> | ||
<!-- Categories and interwikis go here: --> | <!-- Categories and interwikis go here: --> | ||
− | + | [[Category:Wikipedia Portal templates|Subpage]] | |
</includeonly> | </includeonly> |
Latest revision as of 16:39, 8 September 2020
![]() | This is a documentation subpage for Template:Portal subpage. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{Portal subpage| <subpagename> | [Boxfootertext] [|headertemplate=(Custom header template)]}} for example: {{Portal subpage|November 2006}} {{Portal subpage| 1 | See more... |headertempate=Box-header/1}}
This will output a box made from the portal's /box-header page (or if that does not exist the default {{Box-header}} template), which contains a link to the subpage and below the content of the subpage.
Typical usage
- In archive pages of random portal components as: selected articles
- Used in Template:Numbered subpages and Template:Portal archive
See also
Portal content templates
- To display "selected content" on the portal main page
- {{Transclude list item excerpts as random slideshow}}—transcludes excerpts from recognized content lists, which are populated by a bot.
- {{Transclude random subpage}}—transcludes random portal subpage.
- {{Random portal component}}—transcludes random portal subpage.
- {{Random subpage}}—transcludes random portal subpages.
- To organize "selected content" on subpages
- {{Numbered subpages}}—outputs an automatic index, transcluding numbered subpages.
- {{Portal subpage}}—outputs a box linking to and transcluding a single subpage.
- {{Portal subpage inline}}—outputs an unordered list item linking to and transcluding a single subpage.
Main portal page formatting templates
- {{Box-header}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
Templates that configure links
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Portals}}
- {{Portal-image}}
- {{Portals browsebar}}
- {{Related portals}}
- {{Related portals2}}
- {{Wikimedia for portals}}
Selected page templates, used on subpages of older portals
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
- {{Selected X}}
Related templates
- {{Project template list}}
- {{Basic portal start page}} (deleted)—Used to create portal main pages.
- {{Random box-header subpage}}—randomized selection from {{Box-header/1}} to {{Box-header/42}}.