Template:Random portal component/doc
This page will only parse completely when it is included in another page.
[redirect]Documentation subpageTemplate:r from other template
[/redirect]
This template generates a box for a portal home page. The content is drawn randomly from a pre-defined list. Using this template makes editing portal page easy!
[h="2"]Example[/h]
To see a real time example, see [special="Whatlinkshere/Template:[template]BASEPAGENAME[/template]"]what links here[/special].
Here's a stale example of the output generated by this template.
[template]Portal:Box-header | title=header
|editpage=Template:Lorem ipsum
|border=Black
|titleforeground=#ffe247
|titlebackground=#A9A9A9
|background=#FFFFFF
|foreground=black[/template]
[template]Lorem ipsum[/template]
[template]Portal:box-footer | footer [/template]
[h="2"]Prerequisites[/h]
[list][*] Create a subpage first. If your portal is [b]Portal:Foo[/b], then a subpage could be [b]Portal:Foo/Selected picture[/b].
[*] Under that subpage, create subpage to that page, named 1, 2, 3, ... with no prefixing 0. Numbers under ten do [b]not[/b] start with 0.
[/LIST]
[h="2"]Parameters[/h]
Using this template for your portal page is easy! Just include these parameters
[list][*] [b]header[/b]:(optional) The header text of the box. If no header is passed to the template, the default is the subpage name.
[*] [b]footer[/b]: (optional) The footer text in the box.e.g Nominations for selected picture
[*] [b]rootpage[/b]: (optional) The root of the transcluded page, e.g. Portal:Foo
[*] [b]subpage[/b]: The subpage of the transcluded page, e.g. Selected picture
[*] [b]max[/b]: The maximum number of sub-subpages. Must be a positive integer.
[*] [b]seed[/b]: (optional) The default seed is 17 and can be set to any other integer value (used to generate distinct values on the same page). Prime numbers work best, such as 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, and 113.
[/LIST]
[/redirect]
This template generates a box for a portal home page. The content is drawn randomly from a pre-defined list. Using this template makes editing portal page easy!
[h="2"]Example[/h]
To see a real time example, see [special="Whatlinkshere/Template:[template]BASEPAGENAME[/template]"]what links here[/special].
Here's a stale example of the output generated by this template.
[template]Portal:Box-header | title=header
|editpage=Template:Lorem ipsum
|border=Black
|titleforeground=#ffe247
|titlebackground=#A9A9A9
|background=#FFFFFF
|foreground=black[/template]
[template]Lorem ipsum[/template]
[template]Portal:box-footer | footer [/template]
[h="2"]Prerequisites[/h]
[list][*] Create a subpage first. If your portal is [b]Portal:Foo[/b], then a subpage could be [b]Portal:Foo/Selected picture[/b].
[*] Under that subpage, create subpage to that page, named 1, 2, 3, ... with no prefixing 0. Numbers under ten do [b]not[/b] start with 0.
[/LIST]
[h="2"]Parameters[/h]
Using this template for your portal page is easy! Just include these parameters
[list][*] [b]header[/b]:(optional) The header text of the box. If no header is passed to the template, the default is the subpage name.
[*] [b]footer[/b]: (optional) The footer text in the box.e.g Nominations for selected picture
[*] [b]rootpage[/b]: (optional) The root of the transcluded page, e.g. Portal:Foo
[*] [b]subpage[/b]: The subpage of the transcluded page, e.g. Selected picture
[*] [b]max[/b]: The maximum number of sub-subpages. Must be a positive integer.
[*] [b]seed[/b]: (optional) The default seed is 17 and can be set to any other integer value (used to generate distinct values on the same page). Prime numbers work best, such as 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, and 113.
[/LIST]
Contributors: | ,
Created by Last edited by , 10-23-2011 at 02:13 PM 0 Comments, 1,099 Views |
, 11-23-2008 at 10:05 PM
Tags for this Page
Similar Pages
-
Featured portal candidates/Portal:Atlas
By Arjan in forum MainComments: 0Last Post: 11-23-2008, 09:27 PM -
Featured portal candidates/Portal:Theatre
By Arjan in forum MainComments: 0Last Post: 11-23-2008, 09:27 PM -
Featured portal candidates/Portal:United Nations
By Arjan in forum MainComments: 0Last Post: 11-23-2008, 09:27 PM -
Random portal component
By Arjan in forum TemplateComments: 0Last Post: 11-23-2008, 09:27 PM -
Random portal component with nominate
By Arjan in forum TemplateComments: 0Last Post: 11-23-2008, 08:22 PM
Bookmarks