Template:Main

From Staredit Network Wiki
Revision as of 18:31, 13 December 2010 by DavidJCobb (Talk) (Fixed a small bug.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Main article: [[{{{1}}}|{{{1}}}]]

Usage

Simple usage

{{Main|<link>|word=<word>}}
link
Unnamed parameter. Article to link to. (Up to five articles can be specified using unnamed parameters.)
word
Named parameter. An optional parameter to replace the world "article". (E.x. "category")

This template presently only supports one main article.

Advanced usage

Main category: Article One Link Label
{{Main
   |word=category
   |Main Page
   |l1=Article One Link Label
}}

The template will accept up to five links:

Main categories: 1, 2, 3, 4, and 5
{{Main
   |word=categories
   |Main Page
   |Main Page
   |Main Page
   |Main Page
   |Main Page
   |l1=1
   |l2=2
   |l3=3
   |l4=4
   |l5=5
}}