Wikipedia:TAFI random generation
[[Wikipedia:Today's article for improvement|TAFI]] random generation
=Overview=
The Random component is transferable and functional in various namespaces other than the portal one. Please see Template:TAFI Main page for an example. To create randomization this utilizes Template:Random component main namespace, which was created by simply copying the wikicode from Random portal component. The Template:TAFI Main page randomly reads directly from one of 10 subpages:
{{div col|colwidth=30em}}
:*Template:TAFI Main page/Main page queue/1
:* Template:TAFI Main page/Main page queue/2
:* Template:TAFI Main page/Main page queue/3
:* Template:TAFI Main page/Main page queue/4
:* Template:TAFI Main page/Main page queue/5
:* Template:TAFI Main page/Main page queue/6
:* Template:TAFI Main page/Main page queue/7
:* Template:TAFI Main page/Main page queue/8
:* Template:TAFI Main page/Main page queue/9
:* Template:TAFI Main page/Main page queue/10
{{div col end}}
A similar system can be implemented for the Main page area. It's a turnkey process. The "max=" section on the template's edit page:
Pages within Wikipedia's Main page space will need to be developed for the random generation to occur. The Template:Random component main namespace appears to not be transferable between namespaces via transclusion (e.g. transcluded from Template space to another namespace), so a page such as this just for the Main page space will need to be created. The random generation code needs to be existent as a separate page in Main page space, from which the (e.g.)
The above links appear likely to need re-creation within the Main page space for random generation to occur using this method. Additionally, Template:TAFI Main page/box-header may be usable within this process. Northamerica1000(talk) 07:17, 25 January 2013 (UTC)
See also
- Wikipedia:Main Page/sandbox{{spaced ndash}} TAFI presentation for Wikipedia's Main page
- Wikipedia:Today's article for improvement/main page placement{{spaced ndash}} A test page for the presentation of TAFI information on Wikipedia's Main page