Template:Prereq: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (fix)
m (Removing negative margin; etc)
Line 1: Line 1:
{| class=toccolours align="center" style="text-align: center; width: 80%; font-size: 85%; clear:both; margin-top:1em; margin-bottom:-0.5em; border-left: 15px solid orange;"
{| class=toccolours align="center" style="text-align: center; width: 80%; font-size: 85%; clear:both; margin-top: 1em; margin-bottom: 0em; border-left: 15px solid orange;"
| <big>Article with '''prerequisite{{#if: {{{2|-}}}|s|}}'''</big>
| <big>Article with '''prerequisite{{#if: {{{2|-}}}|s|}}'''</big>
''Understanding this article will be easier if you previously have read and {{#if: {{{2|-}}} | understood the following articles: | understood:}}''{{-}}
''Understanding this article will be easier if you previously have read and {{#if: {{{2|-}}} | understood the following articles: | understood:}}''{{-}}
{{#if: {{{1|}}} | [[{{{1}}}]] | <big style="color: red;">Add link to article</big> }}{{#if: {{{2|}}} | &bull; [[{{{2}}}]] }}{{#if: {{{3|}}} | &bull; [[{{{3}}}]] }}{{#if: {{{4|}}} | &bull; [[{{{4}}}]] }}{{#if: {{{5|}}} | &bull; [[{{{5}}}]] }}{{#if: {{{6|}}} | &bull; [[{{{6}}}]] }}{{#if: {{{7|}}} | &bull; [[{{{7}}}]] }}
{{#if: {{{1|}}} | [[{{{1}}}]] | <big style="color: red;">Add link to article</big> }} {{#if: {{{2|}}} | &bull; [[{{{2}}}]] }} {{#if: {{{3|}}} | &bull; [[{{{3}}}]] }} {{#if: {{{4|}}} | &bull; [[{{{4}}}]] }} {{#if: {{{5|}}} | &bull; [[{{{5}}}]] }} {{#if: {{{6|}}} | &bull; [[{{{6}}}]] }} {{#if: {{{7|}}} | &bull; [[{{{7}}}]] }}
|}<includeonly>{{main other|[[Category:Articles with prerequisites]]}}</includeonly><noinclude>
|}<includeonly>{{main other|[[Category:Articles with prerequisites]]}}</includeonly><noinclude>
{{Informative template|1=
{{Informative template|1=

Revision as of 03:11, 21 August 2014

Article with prerequisites

Understanding this article will be easier if you previously have read and understood the following articles:
Add link to article

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|article|article|article|article|article|article}}
article
One to seven titles of articles the reader preferable should read before reading the article with the template.

Examples

{{prereq|Howto:Multiplayer}}
Article with prerequisites

Understanding this article will be easier if you previously have read and understood the following articles:
Howto:Multiplayer

{{prereq|$FG HOME|$FG ROOT|$FG AIRCRAFT|$FG SCENERY}}
Article with prerequisites

Understanding this article will be easier if you previously have read and understood the following articles:
$FG HOME$FG ROOT$FG AIRCRAFT$FG SCENERY