Difference between revisions of "Template:Infobox Chinese/Header"
Jump to navigation
Jump to search
imported>Andy M. Wang (+headercolor per TPER by Kanguole on talk) |
imported>Zyxw (use #if for headercolor so blank parameter value doesn't override default value) |
||
Line 5: | Line 5: | ||
|bodyclass = {{#if: {{{collapse|}}} | collapsible {{#ifeq: {{{collapse|}}} | yes | collapsed }} }} | |bodyclass = {{#if: {{{collapse|}}} | collapsible {{#ifeq: {{{collapse|}}} | yes | collapsed }} }} | ||
− | |subheaderstyle = font-size: 125%; background-color: {{{headercolor|#b0c4de | + | |subheaderstyle = font-size: 125%; background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #b0c4de }}; |
|subheader = {{{title<includeonly>|{{PAGENAMEBASE}}</includeonly>}}} | |subheader = {{{title<includeonly>|{{PAGENAMEBASE}}</includeonly>}}} | ||
Line 13: | Line 13: | ||
|caption2 = {{{piccap2<includeonly>|</includeonly>}}} | |caption2 = {{{piccap2<includeonly>|</includeonly>}}} | ||
− | |headerstyle = background-color: {{{headercolor|#b0c4de | + | |headerstyle = background-color: {{#if: {{{headercolor|}}} | {{{headercolor|}}} | #b0c4de }} |
|labelstyle = width: 50%; white-space: nowrap | |labelstyle = width: 50%; white-space: nowrap | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 02:27, 5 December 2016
{{{title}}} | |
[[File:{{{pic}}}|{{{picsize}}}|alt={{{picalt}}}{{{pictooltip}}}|{{{picalt}}}{{{pictooltip}}}]] {{{piccap}}} | |
[[File:{{{pic2}}}|{{{picsize2}}}|alt={{{picalt2}}}{{{pictooltip2}}}|{{{picalt2}}}{{{pictooltip2}}}]] {{{piccap2}}} |
![]() | This template uses Lua: |
![]() | This template is used on approximately 8,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
Template:Infobox Chinese/Header is a template used in the implementation of:
- Template:Infobox Chinese
- Template:Infobox Tibetan-Chinese
- Template:Infobox Vietnamese
- Template:Infobox Korean name
- Template:Infobox East Asian name
- Template:Infobox Arabic term
- Template:Infobox Russian term
Usage
{{Infobox Chinese/Header | title = | pic = | picsize = | picupright = | picalt = | pictooltip = | piccap = | pic2 = | picsize2 = | picupright2 = | picalt2 = | pictooltip2 = | piccap2 = }}
See also
- {{Infobox Chinese/Footer}}
- {{Infobox Chinese/Chinese}}
- {{Infobox Chinese/Burmese}}
- {{Infobox Chinese/Dunganese}}
- {{Infobox Chinese/Japanese}}
- {{Infobox Chinese/Korean}}
- {{Infobox Chinese/Manchu}}
- {{Infobox Chinese/Mongolian}}
- {{Infobox Chinese/Russian}}
- {{Infobox Chinese/Thai}}
- {{Infobox Chinese/Tibetan}}
- {{Infobox Chinese/Uyghur}}
- {{Infobox Chinese/Vietnamese}}
- {{Infobox Chinese/Zhuang}}
- {{Infobox Chinese/Blank}}
The above documentation is transcluded from Template:Infobox Chinese/Header/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |