Template:Prereq

From FlightGear wiki
Revision as of 18:01, 22 August 2014 by Johan G (talk | contribs) (Intermediate save with new parameters)
Jump to navigation Jump to search
Article with prerequisite

Specify prerequisite

The following template description is not displayed when the template is inserted in an article.

Goal

This template will advise the reader to first read through one or more articles and then continuing with the current article.

Adding this template to a page in the article namespace will automatically add Category:Articles with prerequisites to that page.

Usage

Put this template between the article text and any previous messageboxes.

{{prereq |article= |articles= |area= |areas= |skill= |skills=}}

All the parameters are optional and refer to that before reading the article with the template the reader should preferable:

article, articles
Have read one or more articles linked to.
area, areas
Have knowledge in one or more areas.
skill, skills
Have one or more skills.

Examples

{{prereq |article=[[Howto:Multiplayer]]}}
Article with prerequisite

This article will be easier to understand if you have previously read and understood the following article:
Howto:Multiplayer
knowledge in the following area:
{{{area}}}

{{prereq |articles=[[$FG HOME]], [[$FG ROOT]], [[$FG AIRCRAFT]] and [[$FG SCENERY]]}}
Article with prerequisites

This article will be easier to understand if you have previously read and understood the following articles:
{{{article}}}, $FG HOME, $FG ROOT, $FG AIRCRAFT and $FG SCENERY
knowledge in the following area:
{{{area}}}