Template:Infobox protocol: Difference between revisions

From secondtruthLabs Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
Protocol infobox template. See [[Template:Infobox protocol/doc]] for usage.
Protocol infobox template. See [[Template:Infobox protocol/doc]] for usage.
</noinclude><includeonly>{| class="infobox" style="width:22em"
</noinclude><includeonly>
|-
<table class="infobox" style="width:22em; border:1px solid #aaa; background:#f9f9f9; padding:4px;">
! colspan="2" style="background:#5599dd; color:white;" | {{{name|{{PAGENAME}}}}} {{#if:{{{acronym|}}}|({{{acronym}}})}}
 
<tr>
  <th colspan="2" style="background:#5599dd; color:white; padding:4px;">
    {{{name|{{PAGENAME}}}}} {{#if:{{{acronym|}}}|({{{acronym}}})}}
  </th>
</tr>
 
{{#if:{{{logo|}}}|
{{#if:{{{logo|}}}|
{{!}}-
<tr>
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{logo}}}|{{{logo_size|150px}}}]]
  <td colspan="2" style="text-align:center;">
    [[File:{{{logo}}}|{{{logo_size|150px}}}]]
  </td>
</tr>
}}
}}
|-
 
! Developer
<tr>
| {{{developer|}}}
  <th style="text-align:left; padding:2px 8px;">Developer</th>
|-
  <td>{{{developer|}}}</td>
! Status
</tr>
| {{{status|}}}
 
<tr>
  <th style="text-align:left; padding:2px 8px;">Status</th>
  <td>{{{status|}}}</td>
</tr>
 
{{#if:{{{first_published|}}}|
{{#if:{{{first_published|}}}|
{{!}}-
<tr>
! First published
  <th style="text-align:left; padding:2px 8px;">First published</th>
{{!}} {{{first_published}}}
  <td>{{{first_published}}}</td>
}}{{#if:{{{latest_version|}}}|
</tr>
{{!}}-
! Latest version
{{!}} {{{latest_version}}}{{#if:{{{latest_date|}}}| ({{{latest_date}}})}}
}}{{#if:{{{based_on|}}}|
{{!}}-
! Based on
{{!}} {{{based_on}}}
}}{{#if:{{{transport|}}}|
{{!}}-
! Transport
{{!}} {{{transport}}}
}}{{#if:{{{default_port|}}}|
{{!}}-
! Default port(s)
{{!}} {{{default_port}}}
}}{{#if:{{{encoding|}}}|
{{!}}-
! Encoding
{{!}} {{{encoding}}}
}}{{#if:{{{license|}}}|
{{!}}-
! License
{{!}} {{{license}}}
}}{{#if:{{{website|}}}|
{{!}}-
! Website
{{!}} {{{website}}}
}}{{#if:{{{spec_url|}}}|
{{!}}-
! Specification
{{!}} {{{spec_url}}}
}}{{#if:{{{repository|}}}|
{{!}}-
! Repository
{{!}} {{{repository}}}
}}
}}
|}</includeonly>
 
{{#if:{{{latest_version|}}}|
<tr>
  <th style="text-align:left; padding:2px 8px;">Latest version</th>
  <td>{{{latest_version}}}{{#if:{{{latest_date|}}}| ({{{latest_date}}})}}</td>
</tr>
}}
 
{{#if:{{{based_on|}}}|
<tr>
  <th style="text-align:left; padding:2px 8px;">Based on</th>
  <td>{{{based_on}}}</td>
</tr>
}}
 
{{#if:{{{transport|}}}|
<tr>
  <th style="text-align:left; padding:2px 8px;">Transport</th>
  <td>{{{transport}}}</td>
</tr>
}}
 
{{#if:{{{default_port|}}}|
<tr>
  <th style="text-align:left; padding:2px 8px;">Default port(s)</th>
  <td>{{{default_port}}}</td>
</tr>
}}
 
{{#if:{{{encoding|}}}|
<tr>
  <th style="text-align:left; padding:2px 8px;">Encoding</th>
  <td>{{{encoding}}}</td>
</tr>
}}
 
{{#if:{{{license|}}}|
<tr>
  <th style="text-align:left; padding:2px 8px;">License</th>
  <td>{{{license}}}</td>
</tr>
}}
 
{{#if:{{{website|}}}|
<tr>
  <th style="text-align:left; padding:2px 8px;">Website</th>
  <td>{{{website}}}</td>
</tr>
}}
 
{{#if:{{{spec_url|}}}|
<tr>
  <th style="text-align:left; padding:2px 8px;">Specification</th>
  <td>{{{spec_url}}}</td>
</tr>
}}
 
{{#if:{{{repository|}}}|
<tr>
  <th style="text-align:left; padding:2px 8px;">Repository</th>
  <td>{{{repository}}}</td>
</tr>
}}
 
</table>
</includeonly>

Revision as of 02:21, 1 January 2026

Protocol infobox template. See Template:Infobox protocol/doc for usage.