Template:Infobox protocol: Difference between revisions

From secondtruthLabs Wiki
Jump to navigation Jump to search
imported>Import
No edit summary
 
mNo edit summary
 
(32 intermediate revisions by 2 users not shown)
Line 2: Line 2:
Protocol infobox template. See [[Template:Infobox protocol/doc]] for usage.
Protocol infobox template. See [[Template:Infobox protocol/doc]] for usage.
</noinclude><includeonly>
</noinclude><includeonly>
{| class="infobox" style="width:22em"
<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|}}}|
{{!}}! First published
<tr>
{{!}} {{{first_published}}}
  <th style="text-align:left; padding:2px 8px;">First published</th>
{{!}}-
  <td>{{{first_published}}}</td>
</tr>
}}
}}
{{#if:{{{latest_version|}}}|
{{#if:{{{latest_version|}}}|
{{!}}! Latest version
<tr>
{{!}} {{{latest_version}}} {{#if:{{{latest_date|}}}|({{{latest_date}}})}}
  <th style="text-align:left; padding:2px 8px;">Latest version</th>
{{!}}-
  <td>{{{latest_version}}}{{#if:{{{latest_date|}}}| ({{{latest_date}}})}}</td>
</tr>
}}
}}
{{#if:{{{based_on|}}}|
{{#if:{{{based_on|}}}|
{{!}}! Based on
<tr>
{{!}} {{{based_on}}}
  <th style="text-align:left; padding:2px 8px;">Based on</th>
{{!}}-
  <td>{{{based_on}}}</td>
</tr>
}}
}}
{{#if:{{{transport|}}}|
{{#if:{{{transport|}}}|
{{!}}! Transport
<tr>
{{!}} {{{transport}}}
  <th style="text-align:left; padding:2px 8px;">Transport</th>
{{!}}-
  <td>{{{transport}}}</td>
</tr>
}}
}}
{{#if:{{{default_port|}}}|
{{#if:{{{default_port|}}}|
{{!}}! Default port(s)
<tr>
{{!}} {{{default_port}}}
  <th style="text-align:left; padding:2px 8px;">Default port(s)</th>
{{!}}-
  <td>{{{default_port}}}</td>
</tr>
}}
}}
{{#if:{{{encoding|}}}|
{{#if:{{{encoding|}}}|
{{!}}! Encoding
<tr>
{{!}} {{{encoding}}}
  <th style="text-align:left; padding:2px 8px;">Encoding</th>
{{!}}-
  <td>{{{encoding}}}</td>
</tr>
}}
}}
{{#if:{{{license|}}}|
{{#if:{{{license|}}}|
{{!}}! License
<tr>
{{!}} {{{license}}}
  <th style="text-align:left; padding:2px 8px;">License</th>
{{!}}-
  <td>{{{license}}}</td>
</tr>
}}
}}
{{#if:{{{website|}}}|
{{#if:{{{website|}}}|
{{!}}! Website
<tr>
{{!}} {{{website}}}
  <th style="text-align:left; padding:2px 8px;">Website</th>
{{!}}-
  <td>{{{website}}}</td>
</tr>
}}
}}
{{#if:{{{spec_url|}}}|
{{#if:{{{spec_url|}}}|
{{!}}! Specification
<tr>
{{!}} {{{spec_url}}}
  <th style="text-align:left; padding:2px 8px;">Specification</th>
{{!}}-
  <td>{{{spec_url}}}</td>
</tr>
}}
}}
{{#if:{{{repository|}}}|
{{#if:{{{repository|}}}|
{{!}}! Repository
<tr>
{{!}} {{{repository}}}
  <th style="text-align:left; padding:2px 8px;">Repository</th>
{{!}}-
  <td>{{{repository}}}</td>
</tr>
}}
}}
|}
 
</table>
</includeonly>
</includeonly>

Latest revision as of 02:24, 1 January 2026

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