Difference between revisions of "Template:Infobox:ManufactureBase"
(Added a new section (alternative manufacturing)) |
m |
||
Line 6: | Line 6: | ||
| title = {{if|test={{{title|}}}|then={{{title}}}|else={{PAGENAME}}}} | | title = {{if|test={{{title|}}}|then={{{title}}}|else={{PAGENAME}}}} | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
+ | | resize = {{{resize|}}} | ||
| comment = {{{comment|}}}}}<!-- Inclusion of the manufacturing section -->{{if|test={{{section1|}}}|then={{Infobox:Section | | comment = {{{comment|}}}}}<!-- Inclusion of the manufacturing section -->{{if|test={{{section1|}}}|then={{Infobox:Section | ||
| color = CCCCCC | | color = CCCCCC |
Revision as of 15:12, 11 December 2010
{{Infobox:ManufactureBase}} is a meta-template, ie a template for creating templates. This template is intended to be a basic template for manufacturing templates of different languages. With this template you can describe, in a single table, all the characteristics of any manufacture. Moreover, one can define an image with description, and an alternative title (for templates in languages other than English). UsagePut the following code in the template being designed. Complete the parameters you want, delete the unused. Important note: If you want to create a manufacturing template in your language, do not use this template, this is a base template. Instead, copy the final template of another language and translate into your language. See "Examples of final templates in different languages" section for a list of currently created templates that you can translate. {{Infobox:ManufactureBase | widths0 = | title = | image = | resize = | comment = | section1 = | widths1 = | item0s1 = | info0s1 = | item1s1 = | info1s1 = | item2s1 = | info2s1 = | item3s1 = | info3s1 = | item4s1 = | info4s1 = | item5s1 = | info5s1 = | item6s1 = | info6s1 = | item7s1 = | info7s1 = | item8s1 = | info8s1 = | item9s1 = | info9s1 = | section2 = | widths2 = | item0s2 = | info0s2 = | item1s2 = | info1s2 = | section3 = | widths3 = | item0s3 = | info0s3 = | item1s3 = | info1s3 = | item2s3 = | info2s3 = | item3s3 = | info3s3 = | item4s3 = | info4s3 = | item5s3 = | info5s3 = | item6s3 = | info6s3 = | item7s3 = | info7s3 = }} Parameters
Even if width and height are specified the image will keep its original aspect ratio: either the width or the height will be equal to the specified maximum, whichever allows the other to be <= the maximum.
Examples of final templates in different languagesYou can add the different versions (translations) of the final template here:
|