Difference between revisions of "Template:Infobox:ResourceBase"
(Adding rows for intoxication) |
|||
Line 15: | Line 15: | ||
| item1 = {{{item1s1|}}} | | item1 = {{{item1s1|}}} | ||
| info1 = {{{info1s1|}}} | | info1 = {{{info1s1|}}} | ||
− | | | + | | item2 = {{{item2s1|}}} |
− | | | + | | info2 = {{{info2s1|}}}}}|else=}}<!-- Inclusion of the raw resource section -->{{if|test={{{section2|}}}|then={{Infobox:Section |
| color = F8F2C2 | | color = F8F2C2 | ||
| title = {{{section2|SECTION 2 TITLE ERROR}}} | | title = {{{section2|SECTION 2 TITLE ERROR}}} |
Latest revision as of 14:34, 17 February 2016
{{Infobox:ResourceBase}} is a meta-template, ie a template for creating templates. This template is intended to be a basic template for resource templates of different languages. With this template you can describe, in a single table, all the characteristics of any resource. 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 resource 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:ResourceBase | widths0 = | title = | image = | resize = | comment = | section1 = | widths1 = | item0s1 = | info0s1 = ... | item2s1 = | info2s1 = | section2 = | widths2 = | item0s2 = | info0s2 = | item1s2 = | info1s2 = | section2b = | widths2b = | item0s2b = | info0s2b = ... | item4s2b = | info4s2b = | section3 = | widths3 = | ltitle = | rtitle = | item0s3 = | info0s3 = ... | item9s3 = | info9s3 = }} 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:
|