.

Template:Ill

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search

[[{{{1}}}|{{{2}}}]] ({{{2}}})


Syntax:
This template generates a link to an alternate language of the page.
{{ill{{#if:Link to page||Link to page}}{{#if:Language code of page||Language code of page}}{{#if:||{{{4}}}}}{{#if:||etc.}}}}
Examples:
{{ill{{#if:Hilfe:Vorlage||Hilfe:Vorlage}}{{#if:de||de}}{{#if:||{{{4}}}}}{{#if:||etc.}}}}
{{ill{{#if:Help:Template||Help:Template}}{{#if:en||en}}{{#if:||{{{4}}}}}{{#if:||etc.}}}}
Usage:
Use this on Template:H-langs:NAMEOFPAGE style pages. Always finish off with a {{edi{{#if:NAMEOFTEMPLATE||NAMEOFTEMPLATE}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||etc.}}}}, so that you have an edit link and a "terminator" required by older layouts. For details see Help page footer templates.
Example of a template using this technique:

{{ ParserFunctions }} {{#ifeq:+|-|{{{2}}}|= }} Template:ParserFunctions.


Templates using ill on separate lines can't be used within a list, e.g. {{ H-langs:Link }} {{#ifeq
:|:|:|gives}} Template:H-langs:Link

The template doesn't support dir="rtl" automatically. Maybe use Template:Tlsp and insert the direction manually in its output for languages like ar and he, for examples see {{MetaHomePages{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||etc.}}}}.


Template:Ph:MediaWiki help policy