Note: This is a project under development. The articles on this wiki are just being initiated and broadly incomplete. You can Help creating new pages.
Difference between revisions of "Template:Infobox names"
Line 2: | Line 2: | ||
A template for names of herbs in different languages. | A template for names of herbs in different languages. | ||
</noinclude> | </noinclude> | ||
− | <includeonly>{{Infobox | + | <includeonly> |
− | | | + | {{Infobox |
− | | | + | | bodystyle = {{#if:{{{boxsize|}}}|width: {{{boxsize}}};}} |
− | | | + | |
− | | | + | | abovestyle = font-size:130%; color: {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|black|1}}|white|{{{fontcolor|black}}} }}; background-color: {{#if:{{{creator|}}}{{{setting|}}}|black|{{#if:{{{signers|}}}|silver|{{Infobox language/family-color|{{{familycolor|Default}}} }} }} }}; |
− | | | + | | above = {{{name|{{PAGENAMEBASE}}}}} |
− | | | + | | aboveclass = above |
− | | | + | |
− | | | + | | subheaderstyle = font-size:110%; color: {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|black|1}}|white|{{{fontcolor|black}}} }}; background-color: {{#if:{{{creator|}}}{{{setting|}}}|black|{{#if:{{{signers|}}}|silver|{{Infobox language/family-color|{{{familycolor|Default}}} }} }} }}; |
− | | | + | | subheader1 = {{{altname|}}} |
+ | | subheader2 = {{{nativename|}}} | ||
+ | | subheader3 = {{#if:{{{acceptance|}}}|({{{acceptance|}}})}} | ||
+ | |||
+ | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=200px|alt={{{imagealt|}}}}} | ||
+ | | caption = {{{imagecaption|}}} | ||
+ | |||
+ | | headerstyle = color: {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}|white|{{{fontcolor|black}}}}}; background-color: {{#if:{{{signers|}}}|silver|{{#if:{{{creator|}}}{{{setting|}}}|black|{{Infobox language/family-color|{{{familycolor|Default}}}}}}}}}; | ||
+ | | labelstyle = padding-top:0.225em;line-height:1.1em;<!--(modified longitem)--> padding-right:0.5em;<!--(to ensure some gap between any (long/unwrapped) label and subsequent data on same line)--> | ||
+ | | datastyle = line-height:1.35em; | ||
+ | |||
+ | <!---------------------------------------------------------> | ||
+ | | label1 = Sanskrit name | ||
+ | | data1 = {{#if:{{{sanskrit}}}| {{{sanskrit’’to be added''}}}}} | ||
}} | }} | ||
+ | |||
+ | |||
[[Category:Pages of herbs with names in different languages available]] | [[Category:Pages of herbs with names in different languages available]] | ||
</includeonly> | </includeonly> |
Revision as of 08:19, 10 July 2017
A template for names of herbs in different languages.