Difference between revisions of "Template:PatternIdentifiers"
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) (Link apgcode and Pentadecathlon ID) |
m (Not sure what   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"> | ||
<table class="infobox_table collapsible collapsed" style="width:100%"> | |||
<tr> | |||
<th colspan="2" class="infobox_subhead">Identifiers</th> | |||
{{#if: {{{apgcode|}}} | | </tr> | ||
{{#if: {{{apgcode|}}} | <tr> | |||
<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> | ||
</tr> }}{{#if: {{{niemiecid|}}}{{{niemiecid2|}}} | <tr> | |||
<th>[[Mark Niemiec|Niemiec]] ID</th> | |||
{{#if: {{{pentadecathlonid|}}} | | <td style="text-align:right; max-width: 20em" valign="middle">{{{niemiecid|}}}{{#if: {{{niemiecid2|}}} | <br />{{{niemiecid2|}}} }}</td> | ||
</tr> }} {{#if: {{{pentadecathlonid|}}} | <tr> | |||
<th>Pentadecathlon ID</th> | |||
}} | <td style="text-align:right;" valign="middle">{{LinkPentadecathlonObject|id={{{pentadecathlonid|}}}|style=raw}}</td> | ||
</tr> }} {{#if: {{{eppsteinid|}}} | <tr> | |||
<th>[[David Eppstein|Eppstein]] 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.