Difference between revisions of "Template:Main"

From Staredit Network Wiki
Jump to: navigation, search
m (Fixed a small bug.)
 
m (1 revision imported: Restoring SC1 backup)
 
(No difference)

Latest revision as of 23:40, 20 March 2015

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
}}