More actions
Content deleted Content added
Alistair3149 (talk | contribs) Set Name and Manufacturer SMW property |
Alistair3149 (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
-->{{#if:{{{Manufacturer|}}}|<tr><!-- |
-->{{#if:{{{Manufacturer|}}}|<tr><!-- |
||
--><td width="45%" valign="top" colspan="2" style="padding:3px;">Manufacturer</td><!-- |
--><td width="45%" valign="top" colspan="2" style="padding:3px;">Manufacturer</td><!-- |
||
--><td width="55%" class="brand" style="padding:3px;">{{#ifeq:{{MFUNAME|{{{Manufacturer}}}}}|Unknown Manufacturer|{{{Manufacturer}}}|[[Manufacturer::{{{Manufacturer |
--><td width="55%" class="brand" style="padding:3px;">{{#ifeq:{{MFUNAME|{{{Manufacturer}}}}}|Unknown Manufacturer|{{{Manufacturer}}}|[[Manufacturer::{{{Manufacturer}}}]]{{nbsp}}({{{Manufacturer}}})}}</td><!-- |
||
--></tr>}}<!-- |
--></tr>}}<!-- |
||
-->{{#if:{{{Size|}}}|<tr {{#if:{{#external_value:Size}}|class="live category" id="scdb"}}><!-- |
-->{{#if:{{{Size|}}}|<tr {{#if:{{#external_value:Size}}|class="live category" id="scdb"}}><!-- |
Revision as of 09:00, 25 May 2023
This documentation is transcluded from Template:Infobox Computer/doc. Changes can be proposed in the talk page.
- Template Usage
The Computer Infobox template is used for cooler pages only. Copy and paste the following code into the top of an article, filling all known fields. Leave all the unknown fields empty and they will not appear on the infobox.
- Example
{{Infobox Computer | Name = <!-- Component name --> | Image = <!-- Component image --> | Manufacturer = <!-- Manufacturer code --> | Size = <!-- Alphabetic size of the component --> | SizeNum = <!-- Numeric size of the component --> | Grade = <!-- A / B / C / D --> | Class = <!-- Civilian / Competition / Industrial / Military / Stealth --> | apiurl = <!-- JSON file from SCDB --> }}
You can also see related pages for example input.