Difference between revisions of "Template:Infobox:ResourceBase"
Line 2: | Line 2: | ||
| content = {{Infobox:Header | | content = {{Infobox:Header | ||
| color = F0E68C | | color = F0E68C | ||
− | | width | + | | width = {{{widths0|250}}} |
| title = {{if|test={{{title|}}}|then={{{title}}}|else={{PAGENAME}}}} | | title = {{if|test={{{title|}}}|then={{{title}}}|else={{PAGENAME}}}} | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
Line 8: | Line 8: | ||
| color = F8F2C2 | | color = F8F2C2 | ||
| title = {{{section1|SECTION 1 TITLE ERROR}}} | | title = {{{section1|SECTION 1 TITLE ERROR}}} | ||
− | | width = {{{ | + | | width = {{{widths1|80}}} |
| item0 = {{{item0s1|}}} | | item0 = {{{item0s1|}}} | ||
| info0 = {{{info0s1|}}} | | info0 = {{{info0s1|}}} | ||
Line 15: | Line 15: | ||
| color = F8F2C2 | | color = F8F2C2 | ||
| title = {{{section2|SECTION 2 TITLE ERROR}}} | | title = {{{section2|SECTION 2 TITLE ERROR}}} | ||
− | | width = {{{ | + | | width = {{{widths2|80}}} |
| item0 = {{{item0s2|}}} | | item0 = {{{item0s2|}}} | ||
| info0 = {{{info0s2|}}} | | info0 = {{{info0s2|}}} | ||
Line 22: | Line 22: | ||
| color = F8F2C2 | | color = F8F2C2 | ||
| title = {{{section3|SECTION 3 TITLE ERROR}}} | | title = {{{section3|SECTION 3 TITLE ERROR}}} | ||
− | | width = {{{ | + | | width = {{{widths3|200}}} |
| ltitle = {{{ltitle|LEFT TITLE ERROR}}} | | ltitle = {{{ltitle|LEFT TITLE ERROR}}} | ||
| rtitle = {{{rtitle|RIGHT TITLE ERROR}}} | | rtitle = {{{rtitle|RIGHT TITLE ERROR}}} |
Revision as of 02:40, 23 February 2010
{{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:
|