Template:Subportals/doc
Jump to navigation
Jump to search
File:Edit-copy green.svg | This is a documentation subpage for Template:Subportals. It may contain usage information, categories and other content that is not part of the original template page. |
Layout
{{Subportals |border = |backrgound = |related = |parent = |child1 = |child2 = |child3 = |child4 = |child5 = |child6 = }}
Usage
- border -
- backrgound -
- related -
- other1 - First related portal, you can add up to six portals in total using the progression |other1=, |other=, ...
- parent - When using this template to set parent/child relationships, this field is required.
- child1 - First child portal, you can add up to six portals in total using the progression |child1=, |child2=, ...
Examples
Related portals
{{Subportals |border = |backrgound = |related = Drink }}
Will produce:
|
Child portals
{{Subportals |border = |backrgound = |parent = Drink |child1 = Beer |child2 = |child3 = Wine |child4 = |child5 = |child6 = }}
Will produce:
| |||||
Beer |
|
Wine | |||
|
|
|
See also
- Main portal creation templates
- {{Box portal skeleton}}—Used to create portal main pages.
- {{Random portal component}}—Used on the portal main page to randomly display articles from the portal sub-pages.
- {{Random portal component with nominate}}—Used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.
- {{Random subpage}}—Used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.
- {{Subpage}}—Used to output a box containing a link to subpage.
- {{Numbered subpages}}—Used to create article links on portal sub-pages with 50 links.
- {{25 numbered subpages}}—As hereinbefore, but with 25 links.
- {{75 numbered subpages}}—As hereinbefore, but with 75 links.
- {{100 numbered subpages}}—As hereinbefore, but with 100 links.
- {{Random box-header subpage}}—Used to transclude a numbered subpage.
- Main portal page formatting templates
3
- Templates that configure links
3
- These templates are used to format the articles on the sub-pages
{{Selected X}}—Generic template for situations not listed hereafter.
3
- Related templates