Template:Infobox protocol: Difference between revisions

From secondtruthLabs Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(12 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}}}}} {{#if:{{{acronym|}}}|({{{acronym}}})}}
 
{{#if:{{{logo|}}}|{{!}}-
<tr>
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{logo}}}|{{{logo_size|150px}}}]]}}
  <th colspan="2" style="background:#5599dd; color:white; padding:4px;">{{{name|{{PAGENAME}}}}} {{#if:{{{acronym|}}}|({{{acronym}}})}}</th>
|-
</tr>
! Developer
 
| {{{developer|}}}
{{#if:{{{logo|}}}|
|-
<tr>
! Status
  <td colspan="2" style="text-align:center;">
| {{{status|}}}
    [[File:{{{logo}}}|{{{logo_size|150px}}}]]
  </td>
</tr>
}}
 
<tr>
  <th style="text-align:left; padding:2px 8px;">Developer</th>
  <td>{{{developer|}}}</td>
</tr>
 
<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}}}}}{{#if:{{{latest_version|}}}|
  <td>{{{first_published}}}</td>
{{!}}-
</tr>
! Latest version
}}
{{!}} {{{latest_version}}}}} {{#if:{{{latest_date|}}}|({{{latest_date}}})}}{{#if:{{{based_on|}}}|
 
{{!}}-
{{#if:{{{latest_version|}}}|
! Based on
<tr>
{{!}} {{{based_on}}}
  <th style="text-align:left; padding:2px 8px;">Latest version</th>
}}{{#if:{{{transport|}}}|{{!}}-
  <td>{{{latest_version}}}{{#if:{{{latest_date|}}}| ({{{latest_date}}})}}</td>
! Transport
</tr>
{{!}} {{{transport}}}}}{{#if:{{{default_port|}}}|{{!}}-
}}
! Default port(s)
 
{{!}} {{{default_port}}}}}{{#if:{{{encoding|}}}|{{!}}-
{{#if:{{{based_on|}}}|
! Encoding
<tr>
{{!}} {{{encoding}}}}}
  <th style="text-align:left; padding:2px 8px;">Based on</th>
{{#if:{{{license|}}}|{{!}}-
  <td>{{{based_on}}}</td>
! License
</tr>
{{!}} {{{license}}}}}{{#if:{{{website|}}}|{{!}}-
}}
! Website
 
{{!}} {{{website}}}}}{{#if:{{{spec_url|}}}|{{!}}-
{{#if:{{{transport|}}}|
! Specification
<tr>
{{!}} {{{spec_url}}}}}{{#if:{{{repository|}}}|{{!}}-
  <th style="text-align:left; padding:2px 8px;">Transport</th>
! Repository
  <td>{{{transport}}}</td>
{{!}} {{{repository}}}}}
</tr>
|}</includeonly>
}}
 
{{#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>

Latest revision as of 02:24, 1 January 2026

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