Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Item: Difference between revisions

Template page
m 1 revision imported
No edit summary
 
Line 1: Line 1:
<!--
Infobox
-->
<includeonly>{{Infobox|
|bodyclass = mw-collapsible floatright
|header1 = {{{name}}}
|rowclass1 = infobox-title
|image3 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|[[File:PlaceholderImage.jpg|400px]]}}
|imagerowclass3 = infobox-image
|label4        = Type
|data4          = {{{item_type|}}}
|rowclass4 = infobox-data infobox-col1
|label5        = Aliases
|data5          = {{{aliases|}}}
|rowclass5 = infobox-data infobox-col1
|label6        = Rarity
|data6          = {{{rarity|}}}
|rowclass6 = infobox-data infobox-col2
|header7 = {{#if:{{{properties|}}}{{{spells|}}}{{{charges|}}}{{{dc|}}}{{{price|}}}{{{materials}}}|Info}}
|rowclass7 = infobox-header
|label8        = Properties
|data8          = {{{properties|}}}
|rowclass8 = infobox-data infobox-col2
|label9        = Spells
|data9          = {{{spells|}}}
|rowclass9 = infobox-data infobox-col2
|label10        = Charges
|data10          = {{{charges|}}}
|rowclass10 = infobox-data infobox-col2
|label11        = Save DC
|data11          = {{{dc|}}}
|rowclass11 = infobox-data infobox-col2
|label13        = Price
|data13          = {{{price|}}}
|rowclass13 = infobox-data infobox-col1
|label13        = Materials
|data13          = {{{materials|}}}
|rowclass13 = infobox-data infobox-col1
|header7 = {{#if:{{{creator|}}}{{{owner|}}}{{{affiliations|}}}|Relationships}}
|rowclass7 = infobox-header
|label14        = Creator
|data14          = {{{creator|}}}
|rowclass14 = infobox-data infobox-col1
|label15        = Owner
|data15          = {{{owner|}}}
|rowclass15 = infobox-data infobox-col1
|label16        = Affiliations
|data16          = {{{affiliations|}}}
|rowclass16 = infobox-data infobox-col1
|data30        = &nbsp;
}}</includeonly>
<!--
Short description
-->
<includeonly>{{Short description|{{{name}}} - {{{item_type|}}}}}</includeonly>
<!--
Categorization
-->
<includeonly>
<includeonly>
[[Category:Miscellaneous items]]
[[Category:Item]]
[[Category:{{MFUNAME|{{{Manufacturer}}}}}]]
</includeonly>
<table class="infobox-table floatright citizen-table-nowrap">
<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>
</tr>
<tr>
<th width="100%" colspan="3" class="infobox-table-name" style="font-size: 16px; text-align: center;"><b>{{{Name}}}</b></th>
</tr>
{{#if:{{{Manufacturer|}}}|<tr><!--
    --><td width="40%" valign="top" colspan="2" style="padding:3px;">Manufacturer</td><!--
    --><td width="60%" class="brand" style="padding:3px;">{{#ifeq:{{MFUNAME|{{{Manufacturer}}}}}|Unknown Manufacturer|{{{Manufacturer}}}|[[Special:MyLanguage/{{MFUNAME|{{{Manufacturer}}}}}|{{MFUNAME|{{{Manufacturer}}}}}]]{{nbsp}}({{{Manufacturer}}})}}</td><!--
    --></tr>}}
{{#if:{{{Type|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Type</td>
<td width="60%" style="padding:3px;">{{{Type}}}</td>
</tr>}}
{{#if:{{{Mass|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Mass</td>
<td width="60%" valign="top" style="padding:3px;">{{{Mass}}}</td>
</tr>}}
{{#if:{{{Usage|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Usage</td>
<td width="60%" style="padding:3px;">{{{Usage}}}</td>
</tr>}}
{{#if:{{{UEC Cost|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">UEC Cost</td>
<td width="60%" style="padding:3px;">{{{UEC Cost}}}</td>
</tr>}}
{{#if:{{{REC Cost|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">REC Cost</td>
<td width="60%" style="padding:3px;">{{{REC Cost}}}</td>
</tr>}}
{{#if:{{{Range|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Range</td>
<td width="60%" style="padding:3px;">{{{Range}}}</td>
</tr>}}
{{#if:{{{Whitley Rating|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Whitley Rating</td>
<td width="60%" style="padding:3px;">{{{Whitley Rating}}}</td>
</tr>}}
{{#if:{{{Ammo Count|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Ammo Count</td>
<td width="60%" style="padding:3px;">{{{Ammo Count}}}</td>
</tr>}}
{{#if:{{{Rate|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Rate</td>
<td width="60%" style="padding:3px;">{{{Rate}}}</td>
</tr>}}
{{#if:{{{Overheat Time|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Overheat Time</td>
<td width="60%" style="padding:3px;">{{{Overheat Time}}}</td>
</tr>}}
{{#if:{{{Cool Time|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Cool Time</td>
<td width="60%" style="padding:3px;">{{{Cool Time}}}</td>
</tr>}}
{{#if:{{{Power Drain|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Power Drain</td>
<td width="60%" style="padding:3px;">{{{Power Drain}}}</td>
</tr>}}
{{#if:{{{IR Signature|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">IR Signature</td>
<td width="60%" style="padding:3px;">{{{IR Signature}}}</td>
</tr>}}
</table><!--
 
    SEO CONFIG


-->{{#seo:
<noinclude>
|title={{{Name}}} - Star Citizen Wiki
{{/doc}}
|keywords=wiki,star citizen,{{{Name}}}{{#if:{{{Manufacturer|}}}|,{{MFUNAME|{{{Manufacturer}}}}}}}
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
|image={{#if:{{{Image|}}}|{{filepath:{{{Image}}}}}|{{filepath:Placeholderv2.png}}}}
</noinclude>
|site_name=Star Citizen Wiki
}}<!--
--><templatestyles src="Template:InfoboxOld/styles.css" /></includeonly><noinclude>{{/doc}}[[Category:Infobox Templates]]</noinclude>

Latest revision as of 18:46, 23 May 2025




No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

Name of item

Stringrequired
Imageimage

no description

Fileoptional
Item Typeitem_type

The type the item is

Stringrequired
Aliasesaliases

Aliases of the item

Stringoptional
Rarityrarity

Rarity of the item

Stringoptional
Attunementattunement

If this item requires attunement

Booleanoptional
Propertiesproperties

Any properties of the item

Stringoptional
Spellsspells

Any spells the item can cast

Stringoptional
Chargescharges

Amount of charges the item has

Stringoptional
Save DCdc

The save DC for this items spells/effects

Stringoptional
Priceprice

Typical price of the item

Stringoptional
Materialsmaterials

Materials that make up the item

Stringoptional
Creatorcreator

Creator of the item

Stringoptional
Ownerowner

Owner of the item

Stringoptional
Affiliationsaffiliations

Affiliations the item has

Stringoptional