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/ko: Difference between revisions

Template page
Updating to match new version of source page
Updating to match new version of source page
Line 4: Line 4:
== Usage ==
== Usage ==
To link to a main article on a topic like [[Example]], use
To link to a main article on a topic like [[Example]], use
: <code>{{tlx|TNT|Main|Example}}</code>
<source lang="html5">
{{TNT|Main|Example}}
</source>
which renders as
which renders as
{{TNT|Main|Example}}
{{TNT|Main|Example}}


You can add up to 5 article names in parameters:
You can add up to 5 article names in parameters:
: <code>{{tlx|TNT|Main|MediaWiki/de|MediaWiki/en|MediaWiki/es|MediaWiki/fr|MediaWiki/zh}}</code>
<source lang="html5">
{{TNT|Main|MediaWiki/de|MediaWiki/en|MediaWiki/es|MediaWiki/fr|MediaWiki/zh}}
</source>
which renders as
which renders as
{{TNT|Main|MediaWiki/de|MediaWiki/en|MediaWiki/es|MediaWiki/fr|MediaWiki/zh}}
{{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
: <code>{{tlx|TNT|Main|<nowiki>w:en:Example{{!}}Example (in English Wikipedia)</nowiki>}}</code>
<source lang="html5">
{{TNT|Main|w:en:Example{{!}}Example (in English Wikipedia)}}
</source>
which renders as
which renders as
{{TNT|Main|w:en:Example{{!}}Example (in English Wikipedia)}}
{{TNT|Main|w:en:Example{{!}}Example (in English Wikipedia)}}
Line 20: Line 26:
== Internationalisation ==
== Internationalisation ==
Many articles on Meta should be translatable, in that case use
Many articles on Meta should be translatable, in that case use
: <code>{{tlx|TNT|Main|<nowiki>Special:MyLanguage/Example{{!}}<translate>Example</translate></nowiki>}}</code>
<source lang="html5">
{{tlx|TNT|Main|Special:MyLanguage/Example{{!}}Example}}
</source>
which renders as
which renders as
{{TNT|Main|Special:MyLanguage/Example{{!}}보기}}
{{TNT|Main|Special:MyLanguage/Example{{!}}Example}}


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