Difference between revisions of "Template:Crate"
m |
|||
Line 1: | Line 1: | ||
− | <includeonly>[[Mann Co. Supply Crate{{if lang}}#{{{1|}}}|{{#if:{{{color|}}}|<font style="color:{{{color|}}}">}}{{#if:{{{text|}}}|{{{text|}}}|{{#if:{{{2|}}}|{{{2|}}} {{{1|}}}|{{{1|}}} }} }}{{#if:{{{color|}}}|</font>}}]]</includeonly>< | + | <includeonly>[[Mann Co. Supply Crate{{if lang}}#{{{1|}}}|{{#if:{{{color|}}}|<font style="color:{{{color|}}}">}}{{#if:{{{text|}}}|{{{text|}}}|{{#if:{{{2|}}}|{{{2|}}} {{{1|}}}|{{{1|}}} }} }}{{#if:{{{color|}}}|</font>}}]]</includeonly><!-- |
− | {{translation switching|es, fi, fr, hu, it, ko, pl, pt-br, ru, sv, zh-hant}} | + | --><noinclude>{{translation switching|es, fi, fr, hu, it, ko, pl, pt-br, ru, sv, zh-hant}} |
==Parameters== | ==Parameters== |
Revision as of 08:42, 19 February 2012
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Crate/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: es, fi, fr, hu, it, ko, pl, pt-br, ru, sv, zh-hant (add) |
Parameters
Parameter | Description | Example | Result |
1 | Number of crate | {{crate|24}} | 24 |
2 | Adds before "1" | {{crate|24|My lovely crate is}} | My lovely crate is 24 |
text | Replaces 1 and 2 param in text | {{crate|24|My lovely crate is|text=Just example}} | Just example |
color | Text color | {{crate|24|My lovely crate is|text=Just example|color=#ebe2ca}} | Just example |