Template:Portal archive
Revision as of 19:26, 17 October 2007 by test>CmdrObot (sp (2): seperated→separated)
Usage
Template to show subpages .Maximum number of subpages must be defined in Template by repeating parameters used in forLoop template till maximum .Maximum is defined here as 50 .
Modes
Mode is determined by template according to pararameters passed:
- number :arranged ascendingly from 1 to maximum, passing parameter as maximum is not supported yet
- list : in call of template list all subpages separated as parameters . i.e. separated with :|
Practical Usage example
selected articles page in a portal that it is needed to show all selected aricles stored in subpages in it.
format
example numerical mode: {{Portal archive }} or list mode: {{Portal archive|telecommuniction|wimax|zig-bee|Amplitude mdulation}}
trivial
passing parameter as maximum in number mode is not supported yet .In fact its only way is by using #for (MediaWiki 1.7+);In fact this template would be much easier if used #for but it is a part of MediaWiki 1.7 (not used yet).