Difference between revisions of "Template:Blueprint"
(added {{weapon name|}} instead of "-local" attribute) |
|||
Line 1: | Line 1: | ||
{| class="wikitable" style="font-size:90%; text-align:center;" width="auto" | {| class="wikitable" style="font-size:90%; text-align:center;" width="auto" | ||
− | | style="background-color: #FFDD99;" | {{#if:{{{ingredient-1|}}}|[[{{{ingredient-1}}}{{if lang}}|{{ | + | | style="background-color: #FFDD99;" | {{#if:{{{ingredient-1|}}}|[[{{{ingredient-1}}}{{if lang}}|{{{ingredient-1-local|{{{ingredient-1}}}}}}]]|Ingredient 1}} |
| | | | ||
− | | style="background-color: #FFDD99;" | {{#if:{{{ingredient-2|}}}|[[{{{ingredient-2}}}{{if lang}}|{{ | + | | style="background-color: #FFDD99;" | {{#if:{{{ingredient-2|}}}|[[{{{ingredient-2}}}{{if lang}}|{{{ingredient-2-local|{{{ingredient-2}}}}}}]]|Ingredient 2}} |
| | | | ||
− | {{#if: {{{ingredient-3|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-3|}}}{{if lang}}|{{ | + | {{#if: {{{ingredient-3|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-3|}}}{{if lang}}|{{{ingredient-3-local|{{{ingredient-3}}}}}}]] |
{{!}} | {{!}} | ||
− | {{#if: {{{ingredient-4|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-4|}}}{{if lang}}|{{ | + | {{#if: {{{ingredient-4|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-4|}}}{{if lang}}|{{{ingredient-4-local|{{{ingredient-4}}}}}}]] |
{{!}} | {{!}} | ||
− | {{#if: {{{ingredient-5|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-5|}}}{{if lang}}|{{ | + | {{#if: {{{ingredient-5|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-5|}}}{{if lang}}|{{{ingredient-5-local|{{{ingredient-5}}}}}}]] |
{{!}}}}}}}} | {{!}}}}}}}} | ||
| style="background-color: #FFDD99;" | {{#if: {{{result-2|}}}|{{Lang | | style="background-color: #FFDD99;" | {{#if: {{{result-2|}}}|{{Lang | ||
Line 26: | Line 26: | ||
| sv = Möjliga Resultat | | sv = Möjliga Resultat | ||
| zh-hant = 可能的結果 | | zh-hant = 可能的結果 | ||
− | }}|{{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{ | + | }}|{{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{{result-local|{{{result}}}}}}]]|Result}}}} |
|- | |- | ||
| [[Image:Item icon {{{ingredient-1|Unknown}}}.png|text-top|100x100px|link={{{ingredient-1|}}}{{if lang}}]]{{#if: {{{ingredient-1-amount|}}}|{{TF2B|text=x{{{ingredient-1-amount}}}|size=16px|color=#292625}}}} | | [[Image:Item icon {{{ingredient-1|Unknown}}}.png|text-top|100x100px|link={{{ingredient-1|}}}{{if lang}}]]{{#if: {{{ingredient-1-amount|}}}|{{TF2B|text=x{{{ingredient-1-amount}}}|size=16px|color=#292625}}}} | ||
Line 57: | Line 57: | ||
| ingredient-5 = | | ingredient-5 = | ||
| result = | | result = | ||
+ | | result-2 = | ||
+ | | result-3 = | ||
+ | | result-4 = | ||
+ | }} | ||
+ | </pre> | ||
+ | <pre> | ||
+ | {{Blueprint | ||
+ | | ingredient-1 = | ||
+ | | ingredient-1-local = | ||
+ | | ingredient-2 = | ||
+ | | ingredient-2-local = | ||
+ | | ingredient-3 = | ||
+ | | ingredient-3-local = | ||
+ | | ingredient-4 = | ||
+ | | ingredient-4-local = | ||
+ | | ingredient-5 = | ||
+ | | ingredient-5-local = | ||
+ | | result = | ||
+ | | result-local = | ||
| result-2 = | | result-2 = | ||
| result-3 = | | result-3 = |
Revision as of 12:06, 18 December 2010
Ingredient 1 | Ingredient 2 | Result | ||
+ | = |
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Blueprint/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: de, es, fi, fr, it, ko, no, pl, pt, pt-br, hu, ru, sv, zh-hant (add) |
Usage
{{Blueprint | ingredient-1 = | ingredient-2 = | ingredient-3 = | ingredient-4 = | ingredient-5 = | result = | result-2 = | result-3 = | result-4 = }}
{{Blueprint | ingredient-1 = | ingredient-1-local = | ingredient-2 = | ingredient-2-local = | ingredient-3 = | ingredient-3-local = | ingredient-4 = | ingredient-4-local = | ingredient-5 = | ingredient-5-local = | result = | result-local = | result-2 = | result-3 = | result-4 = }}