Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Main/doc/fr: Difference between revisions

Template page
Created page with "Exemple"
 
mNo edit summary
Line 9: Line 9:


You can add up to 5 article names in parameters:
You can add up to 5 article names in parameters:
: <code>{{tlx|TNT|Main|Example|Example|Example|Example|Example}}</code>
: <code>{{tlx|TNT|Main|MediaWiki/de|MediaWiki/en|MediaWiki/es|MediaWiki/fr|MediaWiki/zh}}</code>
which renders as
which renders as
{{TNT|Main|Example|Example|Example|Example|Example}}
{{TNT|Main|MediaWiki/de|MediaWiki/en|MediaWiki/es|MediaWiki/fr|MediaWiki/zh}}


These parameters are used to generate links and may include namespace prefixes or interwiki prefixes. If you want to hide these prefixes (for example here for a link to English Wikipedia) and display an alternative text you can use
These parameters are used to generate links and may include namespace prefixes or interwiki prefixes. If you want to hide these prefixes (for example here for a link to English Wikipedia) and display an alternative text you can use

Revision as of 16:13, 7 February 2014


Usage

To link to a main article on a topic like Example, use

{{TNT|Main|Example}}

which renders as Template:TNT

You can add up to 5 article names in parameters:

{{TNT|Main|MediaWiki/de|MediaWiki/en|MediaWiki/es|MediaWiki/fr|MediaWiki/zh}}

which renders as Template:TNT

These parameters are used to generate links and may include namespace prefixes or interwiki prefixes. If you want to hide these prefixes (for example here for a link to English Wikipedia) and display an alternative text you can use

{{TNT|Main|w:en:Example{{!}}Example (in English Wikipedia)}}

which renders as Template:TNT

Internationalisation

Many articles on Meta should be translatable, in that case use

{{TNT|Main|Special:MyLanguage/Example{{!}}<translate>Example</translate>}}

which renders as Template:TNT

See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.