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
(Documentate template)
 
(12 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
<tr>
 
<tr>
 
<td>
 
<td>
[[Image:1rightarrow.png|15px]] ''See  [[{{{1|}}}]] for the main article about this subject.''
+
[[Image:1rightarrow.png|15px]] ''{{LangSwitch
 +
| en = See  
 +
  | 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>
</table>
+
</table><noinclude>
 
+
<noinclude>
+
 
{{Informative template|1=
 
{{Informative template|1=
 
== Goal ==
 
== Goal ==
Line 13: Line 23:
  
 
== Usage ==
 
== Usage ==
<pre>
+
<nowiki>{{</nowiki>'''main article'''<nowiki>|</nowiki>Name of the article to refer to<nowiki>|</nowiki>Displayed text (Optional)<nowiki>}}</nowiki>
{{Main article|Name of the article to refer to}}
+
 
</pre>
+
== 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 ==
 +
* {{tl|about}}
 +
* {{tl|distinguish}}
 +
* {{tl|hatnote}}
 +
* {{tl|see also}}
 +
 
 
}}
 
}}
  
[[Category:Templates|Main article]]
+
[[Category:Hatnote templates]]
 
</noinclude>
 
</noinclude>

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