Template:Infobox protocol: Difference between revisions

From secondtruthLabs Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(30 intermediate revisions by the same user not shown)
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;">
! colspan="2" style="background:#5599dd; color:white;" | {{{name|{{PAGENAME}}}}}
 
<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>
</tr>
}}
}}
{{#if:{{{latest_version|}}}|
{{#if:{{{latest_version|}}}|
{{!}}-
<tr>
! Latest version
  <th style="text-align:left; padding:2px 8px;">Latest version</th>
{{!}} {{{latest_version}}} {{#if:{{{latest_date|}}}|({{{latest_date}}})}}
  <td>{{{latest_version}}}{{#if:{{{latest_date|}}}| ({{{latest_date}}})}}</td>
</tr>
}}
}}
{{#if:{{{based_on|}}}|
{{#if:{{{based_on|}}}|
{{!}}-
<tr>
! Based on
  <th style="text-align:left; padding:2px 8px;">Based on</th>
{{!}} {{{based_on}}}
  <td>{{{based_on}}}</td>
</tr>
}}
}}
{{#if:{{{transport|}}}|
{{#if:{{{transport|}}}|
{{!}}-
<tr>
! Transport
  <th style="text-align:left; padding:2px 8px;">Transport</th>
{{!}} {{{transport}}}
  <td>{{{transport}}}</td>
</tr>
}}
}}
{{#if:{{{default_port|}}}|
{{#if:{{{default_port|}}}|
{{!}}-
<tr>
! Default port(s)
  <th style="text-align:left; padding:2px 8px;">Default port(s)</th>
{{!}} {{{default_port}}}
  <td>{{{default_port}}}</td>
</tr>
}}
}}
{{#if:{{{encoding|}}}|
{{#if:{{{encoding|}}}|
{{!}}-
<tr>
! Encoding
  <th style="text-align:left; padding:2px 8px;">Encoding</th>
{{!}} {{{encoding}}}
  <td>{{{encoding}}}</td>
</tr>
}}
}}
{{#if:{{{license|}}}|
{{#if:{{{license|}}}|
{{!}}-
<tr>
! License
  <th style="text-align:left; padding:2px 8px;">License</th>
{{!}} {{{license}}}
  <td>{{{license}}}</td>
</tr>
}}
}}
{{#if:{{{website|}}}|
{{#if:{{{website|}}}|
{{!}}-
<tr>
! Website
  <th style="text-align:left; padding:2px 8px;">Website</th>
{{!}} {{{website}}}
  <td>{{{website}}}</td>
</tr>
}}
}}
{{#if:{{{spec_url|}}}|
{{#if:{{{spec_url|}}}|
{{!}}-
<tr>
! Specification
  <th style="text-align:left; padding:2px 8px;">Specification</th>
{{!}} {{{spec_url}}}
  <td>{{{spec_url}}}</td>
</tr>
}}
}}
{{#if:{{{repository|}}}|
{{#if:{{{repository|}}}|
{{!}}-
<tr>
! Repository
  <th style="text-align:left; padding:2px 8px;">Repository</th>
{{!}} {{{repository}}}
  <td>{{{repository}}}</td>
</tr>
}}
}}
|}</includeonly>
 
</table>
</includeonly>

Latest revision as of 02:24, 1 January 2026

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