This template uses Lua: |
This template generates a box for a portal home page. The content is drawn randomly from a pre-defined list.
{{Random portal component
|max =
|template =
|header =
|footer =
|subpage =
|rootpage =
|headertemplate =
}}
Box-header/10
for
Template:Box-header/10; default is the portal's /box-header
subpagePortal:Foo
, then a sub-page could be Portal:Foo/Selected bar
.Portal:Foo/Selected bar
sub-page, place the template {{
numbered subpages}} on the page and save it.Selected <subject>
templates from below to format each of the subject sub-pages./box-header
(if headertemplate
is not specified) and {{
box-footer}} for its color styles and closing. Either headertemplate
must be used, or the /box-header
subpage must exist for everything to work correctly.To see a real time example, see what links here (the list of pages that currently transclude the {{ Random portal component}} template).
Here is a stale example of the output generated by this template.
{{Box-header | title=Header
|editpage = Template:Lorem ipsum
|border = Black
|titleforeground = #ffe247
|titlebackground = #646464
|background = #FFFFFF
|foreground = black
}}
{{Lorem ipsum}}
{{Box-footer | Footer }}
will produce:
Portal content templates
Main portal page formatting templates
Templates that configure links
Selected page templates, used on subpages of older portals
Related templates
This template uses Lua: |
This template generates a box for a portal home page. The content is drawn randomly from a pre-defined list.
{{Random portal component
|max =
|template =
|header =
|footer =
|subpage =
|rootpage =
|headertemplate =
}}
Box-header/10
for
Template:Box-header/10; default is the portal's /box-header
subpagePortal:Foo
, then a sub-page could be Portal:Foo/Selected bar
.Portal:Foo/Selected bar
sub-page, place the template {{
numbered subpages}} on the page and save it.Selected <subject>
templates from below to format each of the subject sub-pages./box-header
(if headertemplate
is not specified) and {{
box-footer}} for its color styles and closing. Either headertemplate
must be used, or the /box-header
subpage must exist for everything to work correctly.To see a real time example, see what links here (the list of pages that currently transclude the {{ Random portal component}} template).
Here is a stale example of the output generated by this template.
{{Box-header | title=Header
|editpage = Template:Lorem ipsum
|border = Black
|titleforeground = #ffe247
|titlebackground = #646464
|background = #FFFFFF
|foreground = black
}}
{{Lorem ipsum}}
{{Box-footer | Footer }}
will produce:
Portal content templates
Main portal page formatting templates
Templates that configure links
Selected page templates, used on subpages of older portals
Related templates