Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Please sign up or log in to edit the wiki.

Template:Infobox Computer: Difference between revisions

Template page
Content deleted Content added
Remove unused translate tags
Tag: 2017 source edit
Add nowrap class, clean up tlt templates
Tag: 2017 source edit
Line 1: Line 1:
<includeonly><!--
<includeonly><!--



API CALL
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}}} - {{TLT|i18n|Star Citizen Wiki}}
|title={{{Name}}} - Star Citizen Wiki
|keywords={{TLT|i18n|wiki}},{{TLT|i18n|star citizen}},{{TLT|i18n|computers}},{{{Name}}},{{#if:{{{Manufacturer|}}}|{{MFUNAME|{{{Manufacturer}}}}}}},{{{Class|}}}
|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={{TLT|i18n|Star Citizen Wiki}}
|site_name=Star Citizen Wiki
}}<!--
}}<!--
--><templatestyles src="Template:InfoboxOld/styles.css" /></includeonly><noinclude>[[Category:Infobox Templates]]<languages/>{{/doc}}</noinclude>
--><templatestyles src="Template:InfoboxOld/styles.css" /></includeonly><noinclude>[[Category:Infobox Templates]]{{/doc}}</noinclude>

Revision as of 18:23, 1 May 2023

Template documentation[view][edit][history][purge]
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.