Vorlage:Infobox: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 1: | Zeile 1: | ||
| − | <includeonly> | + | <includeonly> |
{{{!}} class="infobox {{{bodyclass|}}}" cellspacing="5" style="text-align: left; {{{bodystyle|}}}"<!-- Caption | {{{!}} class="infobox {{{bodyclass|}}}" cellspacing="5" style="text-align: left; {{{bodystyle|}}}"<!-- Caption | ||
-->{{ #if:{{{above|}}}|<nowiki/> | -->{{ #if:{{{above|}}}|<nowiki/> | ||
| Zeile 738: | Zeile 738: | ||
-->{{#if:{{{name|}}}|<nowiki/> | -->{{#if:{{{name|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
| − | {{!}}style="text-align:right;" colspan=2"{{!}}{{Tnavbar|{{{name}}}|noedit={{{noedit|0}}}}} }} {{!}}} </includeonly><noinclude> == Description == Privides a template for an easy generation of infoboxes. | + | {{!}}style="text-align:right;" colspan=2"{{!}}{{Tnavbar|{{{name}}}|noedit={{{noedit|0}}}}} }} {{!}}} </includeonly><noinclude> |
| + | |||
| + | == Description == | ||
| + | Privides a template for an easy generation of infoboxes. | ||
== Parameters == | == Parameters == | ||
Version vom 3. September 2015, 15:12 Uhr
Description[Bearbeiten]
Privides a template for an easy generation of infoboxes.
Parameters[Bearbeiten]
There are some general 'styling' parameters, some 'title' and subtitle parameters, some 'image' parameters', and then parameters for each of the 80 possible 'rows'
Style[Bearbeiten]
- bodyclass
- bodystyle
Title[Bearbeiten]
- title
- titleclass
- titlestyle
- above
- aboveclass
- abovestyle
- subheader
- subheaderclass
- subheaderstyle
Image[Bearbeiten]
- image
- imageclass
- imagestyle
- caption
- captionstyle
Rows[Bearbeiten]
For all rows[Bearbeiten]
- headerstyle
- headerclass
- labelstyle
- datastyle
For specific rows[Bearbeiten]
For each of the 80 possible rows, replace the 'N' below with the number (e.g. 'header3', 'header80')
- headerN
- labelN
- dataN
- classN
Usage[Bearbeiten]
| TITLE | |
| Some_image.jpg caption=IMAGE_CAPTION | |
| HEADER_1 | |
|---|---|
| LABEL_1 | DATA_1 |}
{{Infobox
| title=TITLE
| titlestyle=text-decoration: underline; above=ABOVE subheader=SUBHEADER
| image=[[Image:Some_image.jpg]] caption=IMAGE_CAPTION
| header1=HEADER_1
| label1=LABEL_1
| data1=DATA_1
}}
|