Template:Infobox: Difference between revisions
Appearance
m Re-add includeonly tag |
Make presenters optional for presentations |
||
| (34 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" style="float: right; margin-left: 20px; border: none;" | <includeonly>{| class="wikitable" style="float: right; margin-top: 5px; margin-left: 20px; border: none; max-width: 25em;" | ||
! colspan="2" style="text-align: left; padding: 10px;" | [[File:{{{icon|New VI.png}}}|32px|]] {{#tag:span|{{{name|{{ | {{#switch:{{lc:{{{category|node}}}}} | ||
| person = | |||
! colspan="2" {{!}} {{#tag:div|👤|style="text-align: left; vertical-align: middle; padding: 10px; display: table-cell; font-size: 32px;"}}{{#tag:span|{{{name|{{SUBPAGENAME}}}}}|style="margin: 0 10px; padding-right: 15px; text-align: left; vertical-align: middle; display: table-cell;"}} | |||
{{!}}- | |||
| #default = | |||
! colspan="2" {{!}} {{#tag:div|[[File:{{{icon|New VI.png}}}|32px|{{#if:{{{presentation-conference|}}}|link={{{presentation-conference}}}|}}]]|style="text-align: left; vertical-align: middle; padding: 10px; display: table-cell;"}}{{#tag:span|{{{name|{{SUBPAGENAME}}}}}|style="margin: 0 10px; text-align: left; vertical-align: middle; display: table-cell;"}} | |||
{{!}}- | |||
}} | |||
{{#switch:{{lc:{{{status|}}}}} | {{#switch:{{lc:{{{status|}}}}} | ||
| deprecated = | | deprecated = | ||
{{!}}- | {{!}}- | ||
! colspan="2" style="color: red;" {{!}} '''DEPRECATED''' | ! colspan="2" style="color: red;" {{!}} '''DEPRECATED''' {{#if:{{{nocategory|}}}||[[Category:Deprecated]]}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#switch:{{lc:{{{category|node}}}}} | {{#switch:{{lc:{{{category|node}}}}} | ||
| node = | | node = | ||
{{!}} style="text-align: left;" {{!}} '''Palettes''' | |||
{{!}} style="text-align: right;" {{!}} {{#if:{{{node-palette|}}}|[[{{{node-palette}}}]]|''None''}}<!-- | |||
-->{{#if:{{{node-palette2|}}}|<br>[[{{{node-palette2}}}]]}}<!-- | -->{{#if:{{{node-palette2|}}}|<br>[[{{{node-palette2}}}]]}}<!-- | ||
-->{{#if:{{{node-palette3|}}}|<br>[[{{{node-palette3}}}]]}}<!-- | -->{{#if:{{{node-palette3|}}}|<br>[[{{{node-palette3}}}]]}}<!-- | ||
-->{{#if:{{{node-palette4|}}}|<br>[[{{{node-palette4}}}]]}}<!-- | -->{{#if:{{{node-palette4|}}}|<br>[[{{{node-palette4}}}]]}}<!-- | ||
-->{{#if:{{{node-palette5|}}}|<br>[[{{{node-palette5}}}]]}} | -->{{#if:{{{node-palette5|}}}|<br>[[{{{node-palette5}}}]]}} | ||
{{!}}- | |||
{{!}} style="text-align: left;" {{!}} '''Type''' | {{!}} style="text-align: left;" {{!}} '''Type''' | ||
{{!}} {{#switch:{{lc:{{{node-type|node}}}}} | {{!}} {{#switch:{{lc:{{{node-type|node}}}}} | ||
| Line 31: | Line 35: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
| palette = | {{!}} style="text-align: left;" {{!}} '''Requires''' | ||
{{!}} style="text-align: right;" {{!}} [[{{{requires|LabVIEW Base}}}]] | |||
{{!}}- | |||
{{#if:{{{node-connector-pane-image|}}} | |||
| {{!}} colspan="2" style="text-align: center;" {{!}} '''Connector pane''' | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{trim|{{{node-connector-pane-image}}}}}]] | |||
{{!}}- | |||
}} | |||
| palette = [[Category:Palettes]] | |||
{{!}} colspan="2" {{!}} | {{!}} colspan="2" {{!}} | ||
{{LabVIEW Palette | {{LabVIEW Palette | ||
|image={{{palette-image|VI Analyzer Palette.png}}} | |image={{{palette-image|VI Analyzer Palette.png}}} | ||
|noframe=yes | |||
|title={{{name|{{PAGENAME}}}}} | |title={{{name|{{PAGENAME}}}}} | ||
|parent={{{palette-parent|}}} | |parent={{{palette-parent|}}} | ||
| Line 209: | Line 223: | ||
-->{{#if:{{{palette-item-98|}}}|<br>[[{{{palette-item-98|}}}]]}}<!-- | -->{{#if:{{{palette-item-98|}}}|<br>[[{{{palette-item-98|}}}]]}}<!-- | ||
-->{{#if:{{{palette-item-99|}}}|<br>[[{{{palette-item-99|}}}]]}} | -->{{#if:{{{palette-item-99|}}}|<br>[[{{{palette-item-99|}}}]]}} | ||
{{!}}- | |||
{{!}} style="text-align: left;" {{!}} '''Requires''' | |||
{{!}} style="text-align: right;" {{!}} [[{{{requires|LabVIEW Base}}}]] | |||
{{!}}- | |||
| presentation = [[Category:Presentations]] | |||
{{!}} style="text-align: left;" {{!}} '''Conference''' | |||
{{!}} style="text-align: right;" {{!}} [[{{{presentation-conference}}}]] | |||
{{!}}- | |||
{{#if:{{{presentation-presenter|}}} | |||
| {{!}} style="text-align: left;" {{!}} '''Presenters''' | |||
{{!}} style="text-align: right;" {{!}} {{#ifexist:{{{presentation-presenter}}}|[[{{{presentation-presenter}}}]]|{{{presentation-presenter}}}}}<!-- | |||
-->{{#if:{{{presentation-presenter2|}}}|<br>{{#ifexist:{{{presentation-presenter2}}}|[[{{{presentation-presenter2}}}]]|{{{presentation-presenter2}}}}}}}<!-- | |||
-->{{#if:{{{presentation-presenter3|}}}|<br>{{#ifexist:{{{presentation-presenter3}}}|[[{{{presentation-presenter3}}}]]|{{{presentation-presenter3}}}}}}}<!-- | |||
-->{{#if:{{{presentation-presenter4|}}}|<br>{{#ifexist:{{{presentation-presenter4}}}|[[{{{presentation-presenter4}}}]]|{{{presentation-presenter4}}}}}}}<!-- | |||
-->{{#if:{{{presentation-presenter5|}}}|<br>{{#ifexist:{{{presentation-presenter5}}}|[[{{{presentation-presenter5}}}]]|{{{presentation-presenter5}}}}}}}<!-- | |||
-->{{#if:{{{presentation-presenter6|}}}|<br>{{#ifexist:{{{presentation-presenter6}}}|[[{{{presentation-presenter6}}}]]|{{{presentation-presenter6}}}}}}}<!-- | |||
-->{{#if:{{{presentation-presenter7|}}}|<br>{{#ifexist:{{{presentation-presenter7}}}|[[{{{presentation-presenter7}}}]]|{{{presentation-presenter7}}}}}}}<!-- | |||
-->{{#if:{{{presentation-presenter8|}}}|<br>{{#ifexist:{{{presentation-presenter8}}}|[[{{{presentation-presenter8}}}]]|{{{presentation-presenter8}}}}}}}<!-- | |||
-->{{#if:{{{presentation-presenter9|}}}|<br>{{#ifexist:{{{presentation-presenter9}}}|[[{{{presentation-presenter9}}}]]|{{{presentation-presenter9}}}}}}} | |||
{{!}}- | |||
}} | |||
| conference = [[Category:Conferences]] | |||
{{!}} colspan="2" {{!}} [[File:{{{conference-banner}}}|400px]] | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align: center;" {{!}} {{{conference-date}}} | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align: center;" {{!}} [{{{conference-url}}} {{{name|{{SUBPAGENAME}}}}} Homepage] | |||
| person = [[Category:People]] | |||
{{#if:{{{person-citizenship|}}} | |||
| {{!}} style="text-align: left;" {{!}} '''Citizenship''' | |||
{{!}} style="text-align: right;" {{!}} {{{person-citizenship}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{person-title|}}} | |||
| {{!}} style="text-align: left;" {{!}} '''Titles''' | |||
{{!}} style="text-align: right;" {{!}} {{infobox/person-title|{{{person-title|}}}}}<!-- | |||
-->{{#if:{{{person-title2|}}}|<br>{{infobox/person-title|{{{person-title2}}}}}}}<!-- | |||
-->{{#if:{{{person-title3|}}}|<br>{{infobox/person-title|{{{person-title3}}}}}}}<!-- | |||
-->{{#if:{{{person-title4|}}}|<br>{{infobox/person-title|{{{person-title4}}}}}}}<!-- | |||
-->{{#if:{{{person-title5|}}}|<br>{{infobox/person-title|{{{person-title5}}}}}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{person-certification|}}} | |||
| {{!}} style="text-align: left;" {{!}} '''Certifications''' | |||
{{#if:{{{person-certification2|}}} | |||
| {{!}} <ul><li>{{infobox/person-certification|{{{person-certification}}}}}</li><!-- | |||
-->{{#if:{{{person-certification2|}}}|<li>{{infobox/person-certification|{{{person-certification2}}}}}</li>}}<!-- | |||
-->{{#if:{{{person-certification3|}}}|<li>{{infobox/person-certification|{{{person-certification3}}}}}</li>}}<!-- | |||
-->{{#if:{{{person-certification4|}}}|<li>{{infobox/person-certification|{{{person-certification4}}}}}</li>}}<!-- | |||
-->{{#if:{{{person-certification5|}}}|<li>{{infobox/person-certification|{{{person-certification5}}}}}</li>}}</ul> | |||
| {{!}} style="text-align: right;" {{!}} {{infobox/person-certification|{{{person-certification}}}}} | |||
}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{person-years-active|}}} | |||
| {{!}} style="text-align: left;" {{!}} '''Years active''' | |||
{{!}} style="text-align: right;" {{!}} {{{person-years-active}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{person-first-labview-version|}}} | |||
| {{!}} style="text-align: left;" {{!}} '''First LabVIEW version''' | |||
{{!}} style="text-align: right;" {{!}} [[LabVIEW {{{person-first-labview-version}}}]] | |||
{{!}}- | |||
}} | |||
{{#if:{{{person-application-area|}}} | |||
| {{!}} style="text-align: left;" {{!}} '''Application areas''' | |||
{{#if:{{{person-application-area2|}}} | |||
| {{!}} <ul><li>{{{person-application-area}}}</li><!-- | |||
-->{{#if:{{{person-application-area2|}}}|<li>{{{person-application-area2|}}}</li>}}<!-- | |||
-->{{#if:{{{person-application-area3|}}}|<li>{{{person-application-area3|}}}</li>}}<!-- | |||
-->{{#if:{{{person-application-area4|}}}|<li>{{{person-application-area4|}}}</li>}}<!-- | |||
-->{{#if:{{{person-application-area5|}}}|<li>{{{person-application-area5|}}}</li>}}<!-- | |||
-->{{#if:{{{person-application-area6|}}}|<li>{{{person-application-area6|}}}</li>}}<!-- | |||
-->{{#if:{{{person-application-area7|}}}|<li>{{{person-application-area7|}}}</li>}}<!-- | |||
-->{{#if:{{{person-application-area8|}}}|<li>{{{person-application-area8|}}}</li>}}<!-- | |||
-->{{#if:{{{person-application-area9|}}}|<li>{{{person-application-area9|}}}</li>}}</ul> | |||
| {{!}} style="text-align: right;" {{!}} {{{person-application-area}}} | |||
}} | |||
{{!}}- | |||
}} | |||
}} | }} | ||
|}</includeonly><noinclude>{{documentation}}</noinclude> | |}</includeonly><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 07:39, 31 August 2024
This documentation is transcluded from Template:Infobox/doc (history).
Parameters
The following table provides a list of available parameters. Since the infobox is general-purpose, not all parameters must be used.
| Parameter | Description |
|---|---|
| category (required) | The category the object fits into. Valid choices are: "node", "palette", "presentation", "conference", "person". |
| icon (required) | The icon representing the object. This is only necessary for categories "node", "palette", "presentation", and "conference". |
| name | The name of the object. Default is the page name. |
| requires | The required software to use the object. This is only necessary for categories "node" and "palette". |
| status | The status of the node. Valid choices are: "deprecated". |
| nocategory | Suppress assignment to categories (e.g., when using the template on documentation pages). |
Node
These parameters are only necessary if the category is "Node".
| Parameter | Description |
|---|---|
| node-palette | The palette the node belongs to. Multiple palettes can be assigned using "node-palette2", "node-palette3", etc. Defaults to "None" if no palette is specified. |
| node-type | The type of the node. Valid choices are: "function"; "structure", "constant", "vim", "vi", "control", "express-vi", "node". The default is "node". |
| node-connector-pane-image | The connector pane image of the node. |
Palette
These parameters are only necessary if the category is "Palette".
| Parameter | Description |
|---|---|
| palette-image (required) | The image of the palette. |
| palette-parent (required) | The parent palette. Multiple palettes can be assigned with "palette-parent2", "palette-parent3", etc. |
| palette-item-<row><col> | The item on the specific row and column of the palette. For example, the top-left item is "palette-item-11", the second item on the first row is "palette-item-12" and the first item on the second row is "palette-item-21". |
Presentation
These parameters are only necessary if the category is "Presentation".
| Parameter | Description |
|---|---|
| presentation-conference (required) | Page name for the conference |
| presentation-presenter | Name of the presenter. There can be multiple presenters using "presentation-presenter2", "presentation-presenter3", etc. |
Conference
These parameters are only necessary if the category is "Conference".
| Parameter | Description |
|---|---|
| conference-banner (required) | Banner image for the conference |
| conference-date (required) | Date at which the conference takes place. |
| conference-url (required) | Homepage of the conference. |
Person
These parameters are only necessary if the category is "Person".
| Parameter | Description |
|---|---|
| person-citizenship | The person's citizenship. |
| person-title | The person's title. See Template:infobox/person-title for allowed values. Multiple titles can be added with person-title2, person-title3, etc. |
| person-certification | The person's certification. See Template:infobox/person-certification for allowed values. Multiple certifications can be added with person-certification2, person-certification3, etc. |
| person-years-active | The years that the person has been active (range of years, for example, 2003-present). |
| person-first-labview-version | The first version of LabVIEW that the person worked with. |
| person-application-area | The application area that the person works in. Multiple application areas can be specified with person-application-area2, person-application-area3, etc. |