Template:Main/doc: Difference between revisions
Template page
More actions
mNo edit summary |
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| | : <code>{{tlx|TNT|Main|MediaWiki/de|MediaWiki/en|MediaWiki/es|MediaWiki/fr|MediaWiki/zh}}</code> | ||
which renders as | which renders as | ||
{{TNT|Main| | {{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 | ||