Template:Tlx

From Moegirlpedia
Revision as of 11:03, 14 May 2020 by Leranjun (talk | contribs) (Created page with "<includeonly><code><nowiki>{{</nowiki>{{#if:{{{subst|}}}|subst:}}[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}]]<!-- -->{{#if:{{{2|}}}| &#1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

This template is similar to {{tl}}, but can take up to 11 parameters separated by “|”.

Usage

(Note: In the following examples, ellipses (groups of three dots) indicate where parameters have been omitted.)

{{tlx|Template|first parameter|second parameter|third parameter|...|tenth parameter}} produces: {{Template|first parameter|second parameter|third parameter|...|tenth parameter}}

When you want to indicate setting a value to one or more parameters, you would normally use the equals-sign ("="). This doesn't work here; instead use Template:Tlf, like so:

{{tlx|Template|first{{=}}first value|second|third{{=}}third value}} produces: {{Template|first=first value|second|third=third value}}

For more than ten parameters - with or without equals-signs - instead wrap the entire list of parameters and their values in Template:Tag tags. When you do, you don't need to replace equals-signs. For instance:

{{tlx|Template|<nowiki>''first''|''second''|''third=value''|...|''999th''</nowiki>}} produces: {{Template|first|second|third=value|...|999th}}