Difference between revisions of "Template:Blueprint"
m |
(trying) |
||
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: #FFCC66;" | {{#if:{{{ingredient-1|}}}|[[{{{ingredient-1}}}]]|Ingredient 1}} | + | | style="background-color: #FFCC66;" | {{#if:{{{ingredient-1|}}}|[[{{{ingredient-1|{{{link-1|}}}}}}|{{{link-1-display|{{{ingredient-1}}}}}}]]|Ingredient 1}} |
| | | | ||
− | | style="background-color: #FFCC66;" | {{#if:{{{ingredient-2|}}}|[[{{{ingredient-2}}}]]|Ingredient 2}} | + | | style="background-color: #FFCC66;" | {{#if:{{{ingredient-2|}}}|[[{{{ingredient-2|{{{link-2|}}}}}}|{{{link-2-display|{{{ingredient-2}}}}}}]]|Ingredient 2}} |
| | | | ||
− | {{#if: {{{ingredient-3|}}} |{{!}} style="background-color: #FFCC66;" {{!}} [[{{{ingredient-3|}}}]] | + | {{#if: {{{ingredient-3|}}} |{{!}} style="background-color: #FFCC66;" {{!}} [[{{{ingredient-3|{{{link-3|}}}}}}|{{{link-3-display|{{{ingredient-3}}}}}}]] |
{{!}} | {{!}} | ||
− | {{#if: {{{ingredient-4|}}} |{{!}} style="background-color: #FFCC66;" {{!}} [[{{{ingredient-4|}}}]] | + | {{#if: {{{ingredient-4|}}} |{{!}} style="background-color: #FFCC66;" {{!}} [[{{{ingredient-4|{{{link-4|}}}}}}|{{{link-4-display|{{{ingredient-4}}}}}}]] |
{{!}} | {{!}} | ||
− | {{#if: {{{ingredient-5|}}} |{{!}} style="background-color: #FFCC66;" {{!}} [[{{{ingredient-5|}}}]] | + | {{#if: {{{ingredient-5|}}} |{{!}} style="background-color: #FFCC66;" {{!}} [[{{{ingredient-5|{{{link-5|}}}}}}|{{{link5-display|{{{ingredient-5}}}}}}]] |
{{!}}}}}}}} | {{!}}}}}}}} | ||
− | | style="background-color: #FFCC66;" | {{#if:{{{result|}}}|[[{{{result}}}]]|Result}} | + | | style="background-color: #FFCC66;" | {{#if:{{{result|}}}|[[{{{result|{{{result-link|}}}}}}|{{{result-display|{{{result|}}}}}}}}}]]|Result}} |
|- | |- | ||
− | | [[Image:Item icon {{{ingredient-1|Unknown}}}.png|100x100px|link={{{ingredient-1|}}}]] | + | | [[Image:Item icon {{{ingredient-1|Unknown}}}.png|100x100px|link={{{ingredient-1|{{{link-1|}}}}}}]] |
| [[File:Plus.png|25px]] | | [[File:Plus.png|25px]] | ||
− | | [[Image:Item icon {{{ingredient-2|Unknown}}}.png|100x100px|link={{{ingredient-2|}}}]] | + | | [[Image:Item icon {{{ingredient-2|Unknown}}}.png|100x100px|link={{{ingredient-2|{{{link-2|}}}}}}]] |
{{#if: {{{ingredient-3|}}} |{{!}} [[File:Plus.png|25px]] | {{#if: {{{ingredient-3|}}} |{{!}} [[File:Plus.png|25px]] | ||
− | {{!}} [[Image:Item icon {{{ingredient-3|}}}.png|100x100px|link={{{ingredient-3|}}}]] | + | {{!}} [[Image:Item icon {{{ingredient-3|}}}.png|100x100px|link={{{ingredient-3|{{{link-3|}}}}}}]] |
{{#if: {{{ingredient-4|}}} |{{!}} [[File:Plus.png|25px]] | {{#if: {{{ingredient-4|}}} |{{!}} [[File:Plus.png|25px]] | ||
− | {{!}} [[Image:Item icon {{{ingredient-4|}}}.png|100x100px|link={{{ingredient-4|}}}]] | + | {{!}} [[Image:Item icon {{{ingredient-4|}}}.png|100x100px|link={{{ingredient-4|{{{link-4|}}}}}}]] |
{{#if: {{{ingredient-5|}}} |{{!}} [[File:Plus.png|25px]] | {{#if: {{{ingredient-5|}}} |{{!}} [[File:Plus.png|25px]] | ||
− | {{!}} [[Image:Item icon {{{ingredient-5|}}}.png|100x100px|link={{{ingredient-5|}}}]]}}}}}} | + | {{!}} [[Image:Item icon {{{ingredient-5|}}}.png|100x100px|link={{{ingredient-5|{{{link-5|}}}}}}]]}}}}}} |
| [[File:Equals.png|25px]] | | [[File:Equals.png|25px]] | ||
− | | [[Image:Item icon {{{result|Unknown}}}.png|100x100px|link={{{result|}}}]] | + | | [[Image:Item icon {{{result|Unknown}}}.png|100x100px|link={{{result|{{{result-link|}}}}}}]] |
|}<noinclude> | |}<noinclude> | ||
== Usage == | == Usage == | ||
+ | === Standard === | ||
<pre> | <pre> | ||
{{Blueprint | {{Blueprint | ||
Line 33: | Line 34: | ||
| ingredient-5 = | | ingredient-5 = | ||
| result = | | result = | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | === Non-English with language links === | ||
+ | Copy and paste the below to use it. Much more complicated but it works. | ||
+ | <pre> | ||
+ | {{Blueprint | ||
+ | | ingredient-1 = | ||
+ | | link-1 = | ||
+ | | link-1-display = | ||
+ | |||
+ | | ingredient-2 = | ||
+ | | link-2 = | ||
+ | | link-2-display = | ||
+ | |||
+ | | ingredient-3 = | ||
+ | | link-3 = | ||
+ | | link-3-display = | ||
+ | |||
+ | | ingredient-4 = | ||
+ | | link-4 = | ||
+ | | link-4-display = | ||
+ | |||
+ | | ingredient-5 = | ||
+ | | link-5 = | ||
+ | | link-5-display = | ||
+ | |||
+ | | result = | ||
+ | | result-link = | ||
+ | | result-display = | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Formatting templates|Blueprint]]</noinclude> | [[Category:Formatting templates|Blueprint]]</noinclude> |
Revision as of 08:05, 13 August 2010
Ingredient 1 | Ingredient 2 | Result | ||
25px | 25px |
Usage
Standard
{{Blueprint | ingredient-1 = | ingredient-2 = | ingredient-3 = | ingredient-4 = | ingredient-5 = | result = }}
Non-English with language links
Copy and paste the below to use it. Much more complicated but it works.
{{Blueprint | ingredient-1 = | link-1 = | link-1-display = | ingredient-2 = | link-2 = | link-2-display = | ingredient-3 = | link-3 = | link-3-display = | ingredient-4 = | link-4 = | link-4-display = | ingredient-5 = | link-5 = | link-5-display = | result = | result-link = | result-display = }}