Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Template:Main article"

From FlightGear wiki
Jump to: navigation, search
m (LangSupport)
 
(6 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
<tr>
 
<tr>
 
<td>
 
<td>
[[Image:1rightarrow.png|15px]] {{LangSwitch
+
[[Image:1rightarrow.png|15px]] ''{{LangSwitch
  | en = ''See  [[{{{1|}}}]] for the main article about this subject.''
+
  | en = See  
  | de = ''Unter [[{{{1|}}}]] gibt es zu disem Thema einen Hauptartikel.''
+
  | de = Unter
}}
+
| es = Hay un artículo
 +
| nl = Zie
 +
| th = หน้าของหัวข้อนี้คือ
 +
}} [[{{{1|}}}{{#if: {{{2|}}} | {{!}}{{{2|}}} }}]] {{LangSwitch
 +
| en =  for the main article about this subject.
 +
  | de = gibt es zu diesem Thema einen Hauptartikel.
 +
| es = .
 +
| nl = voor meer informatie over dit onderwerp.
 +
| th ='' ''
 +
}}''
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 14: Line 23:
  
 
== Usage ==
 
== Usage ==
  <nowiki>{{</nowiki>'''main article'''<nowiki>|</nowiki>Name of the article to refer to<nowiki>}}</nowiki>
+
  <nowiki>{{</nowiki>'''main article'''<nowiki>|</nowiki>Name of the article to refer to<nowiki>|</nowiki>Displayed text (Optional)<nowiki>}}</nowiki>
  
 +
== Examples ==
 +
<nowiki>{{</nowiki>'''main article'''<nowiki>|</nowiki>Main page<nowiki>}}</nowiki>
 +
{{Main article|Main page}}
 +
<nowiki>{{</nowiki>'''main article'''<nowiki>|</nowiki>Main page<nowiki>|</nowiki>Start<nowiki>}}</nowiki>
 +
{{Main article|Main page|Start}}
 
== Related templates ==
 
== Related templates ==
 
* {{tl|about}}
 
* {{tl|about}}

Latest revision as of 10:10, 5 January 2018

1rightarrow.png See [[]] for the main article about this subject.

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

Goal

Template to refer at the start of a paragraph to the main article about the discussed subject.

Usage

{{main article|Name of the article to refer to|Displayed text (Optional)}}

Examples

{{main article|Main page}}

1rightarrow.png See Main page for the main article about this subject.

{{main article|Main page|Start}}

1rightarrow.png See Start for the main article about this subject.

Related templates