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
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<table style="margin-top:0.1em; margin-bottom:0.1em; margin-left:2em; padding:2px; font-size:95%; text-align:left; background: transparent;"><tr><td>[[Image:1rightarrow.png|15px]] ''See  [[{{{1|}}}]] for the main article about this subject.''</td></tr></table>
+
<table style="margin-top:0.1em; margin-bottom:0.1em; margin-left:2em; padding:2px; font-size:95%; text-align:left; background: transparent;">
 +
<tr>
 +
<td>
 +
[[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>
 +
</tr>
 +
</table><noinclude>
 +
{{Informative template|1=
 +
== Goal ==
 +
Template to refer at the start of a paragraph to the main article about the discussed subject.
 +
 
 +
== Usage ==
 +
<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 ==
 +
* {{tl|about}}
 +
* {{tl|distinguish}}
 +
* {{tl|hatnote}}
 +
* {{tl|see also}}
 +
 
 +
}}
 +
 
 +
[[Category:Hatnote templates]]
 +
</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