Difference between revisions of "Template:PatternIdentifiers"

From LifeWiki
Jump to navigation Jump to search
(Link apgcode and Pentadecathlon ID)
m (Not sure what &nbsp does, but might as well add it for consistency)
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{apgcode|}}}{{{niemiecid|}}}{{{pentadecathlonid|}}} | <tr>
<includeonly>{{#if: {{{apgcode|}}}{{{niemiecid|}}}{{{niemiecid2|}}}{{{pentadecathlonid|}}}{{{eppsteinid|}}} | <tr>
<td colspan="2" style="height:3px;"></td></tr>
<td colspan="2" style="height:3px;"></td></tr>
<tr>
<tr>
Line 5: Line 5:
<tr>
<tr>
<td colspan="2">
<td colspan="2">
{{{!}} class="infobox_table collapsible collapsed" style="width:100%"
<table class="infobox_table collapsible collapsed" style="width:100%">
{{!}}-
<tr>
! colspan="2" class="infobox_subhead" {{!}} Identifiers
<th colspan="2" class="infobox_subhead">Identifiers</th>
{{#if: {{{apgcode|}}} | {{!}}-
</tr>
! apgcode
{{#if: {{{apgcode|}}} | <tr>
{{!}} style="text-align:right; word-break: break-all; padding-left: 1.5em" valign="top" {{!}} [https://catagolue.appspot.com/object/{{{apgcode|}}}/b3s23 {{{apgcode|}}}] }}
<th>[[apgcode]]</th>
{{#if: {{{niemiecid|}}} | {{!}}-
<td style="text-align:right; word-break: break-all; padding-left: 1.5em" valign="middle">{{LinkCatagolue|code={{{apgcode}}}|style=raw}}</td>
! Niemiec&nbsp;ID
</tr> }}{{#if: {{{niemiecid|}}}{{{niemiecid2|}}} | <tr>
{{!}} style="text-align:right; max-width: 20em" valign="top" {{!}} {{{niemiecid|}}} }}
<th>[[Mark Niemiec|Niemiec]]&nbsp;ID</th>
{{#if: {{{pentadecathlonid|}}} | {{!}}-
<td style="text-align:right; max-width: 20em" valign="middle">{{{niemiecid|}}}{{#if: {{{niemiecid2|}}} | <br />{{{niemiecid2|}}} }}</td>
! Pentadecathlon&nbsp;ID
</tr> }} {{#if: {{{pentadecathlonid|}}} | <tr>
{{!}} style="text-align:right;" valign="top" {{!}} [http://pentadecathlon.com/objects/object-info.php?objid={{{pentadecathlonid|}}} {{{pentadecathlonid|}}}]
<th>Pentadecathlon&nbsp;ID</th>
}}
<td style="text-align:right;" valign="middle">{{LinkPentadecathlonObject|id={{{pentadecathlonid|}}}|style=raw}}</td>
{{!}}}
</tr> }} {{#if: {{{eppsteinid|}}} | <tr>
<th>[[David Eppstein|Eppstein]]&nbsp;ID</th>
<td style="text-align:right;" valign="middle">{{LinkEppstein|number={{{eppsteinid|}}}|style=raw}}</td>
</tr> }}
</table>
</td></tr>
</td></tr>
}}</includeonly><noinclude>This template displays the "Identifiers" box that appears on the right hand side of pattern pages. It should not be used on its own, but only within other pattern infobox templates such as [[Template:Pattern]] and [[Template:Oscillator]]. All of its parameters are passed in from the corresponding parameters of the template that calls it.
}}</includeonly><noinclude>This template displays the "Identifiers" box that appears on the right hand side of pattern pages. It should not be used on its own, but only within other pattern infobox templates such as [[Template:Pattern]] and [[Template:Oscillator]]. All of its parameters are passed in from the corresponding parameters of the template that calls it.
</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 13:22, 17 March 2019

This template displays the "Identifiers" box that appears on the right hand side of pattern pages. It should not be used on its own, but only within other pattern infobox templates such as Template:Pattern and Template:Oscillator. All of its parameters are passed in from the corresponding parameters of the template that calls it.