More actions
Content deleted Content added
Alistair3149 (talk | contribs) Remove unused translate tags Tag: 2017 source edit |
Alistair3149 (talk | contribs) Add nowrap class, clean up tlt templates Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<includeonly><!-- |
<includeonly><!-- |
||
API CALL |
|||
{{#if:{{{apiurl|}}}|{{#get_web_data:url={{{apiurl}}}|format=JSON|data=}}}} - No data avaliable for computers yet |
{{#if:{{{apiurl|}}}|{{#get_web_data:url={{{apiurl}}}|format=JSON|data=}}}} - No data avaliable for computers yet |
||
Line 7: | Line 8: | ||
INFOBOX TABLE |
INFOBOX TABLE |
||
--><table class="infobox-table floatright hproduct" style="padding-top:0"><!-- |
--><table class="infobox-table floatright hproduct citizen-table-nowrap" style="padding-top:0"><!-- |
||
--><tr id="infobox-table-img-bg"><!-- |
--><tr id="infobox-table-img-bg"><!-- |
||
--><td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">{{#if:{{{Image|}}}|[[File:{{{Image}}}|400px]]|[[File:Placeholderv2.png|400px]]}}</td><!-- |
--><td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">{{#if:{{{Image|}}}|[[File:{{{Image}}}|400px]]|[[File:Placeholderv2.png|400px]]}}</td><!-- |
||
Line 43: | Line 44: | ||
-->{{#seo: |
-->{{#seo: |
||
|title={{{Name}}} - |
|title={{{Name}}} - Star Citizen Wiki |
||
|keywords= |
|keywords=wiki,star citizen,computers,{{{Name}}},{{#if:{{{Manufacturer|}}}|{{MFUNAME|{{{Manufacturer}}}}}}},{{{Class|}}} |
||
|image={{#if:{{{Image|}}}|{{filepath:{{{Image}}}}}|{{filepath:Placeholderv2.png}}}} |
|image={{#if:{{{Image|}}}|{{filepath:{{{Image}}}}}|{{filepath:Placeholderv2.png}}}} |
||
|site_name= |
|site_name=Star Citizen Wiki |
||
}}<!-- |
}}<!-- |
||
--><templatestyles src="Template:InfoboxOld/styles.css" /></includeonly><noinclude>[[Category:Infobox Templates]] |
--><templatestyles src="Template:InfoboxOld/styles.css" /></includeonly><noinclude>[[Category:Infobox Templates]]{{/doc}}</noinclude> |
Revision as of 18:23, 1 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.