Difference between revisions of "Template:Shield"

From Discovery Wiki
Jump to navigationJump to search
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><!--</noinclude>
+
<noinclude><!--</noinclude>__NOTOC__ __NOEDITSECTION__
{| style="width:100%; padding:10px;" class="weaponmainbox"
+
{| class="infobox bordered" style="float: right; width: 270px; font-size: 90%; line-height: 110%; margin-left: 1em; margin-bottom: 1em; border: 1px solid #aaa;" cellpadding="3"
|align="left"|
 
==Full Name==
 
<h3>{{#if:{{{full-name|}}}|{{{full-name|{{{4|{{{full-name|full-name}}}}}}}}}|''missing''}}</h3>
 
|valign="top" rowspan="2" align="right"|
 
{| class="equipinfobox" style="border:1px solid #aaa; padding:4px; margin-left:8px; width:250px;"
 
 
|-
 
|-
|colspan="2" align="center"|[[Image:Shields.jpg]]
+
| colspan="2" class="infobox-name" style="font-family: Agency FB,​Verdana,​Arial,​sans-serif; font-size: 185%; font-weight: 500; text-decoration: underline; text-align: center; background-color: #14193F; line-height: 1.5em;"|{{{short-name}}}
<h3>Statistics</h3>
 
 
|-
 
|-
|Shield Class: ||{{#if:{{{class|}}}|'''{{{class}}}'''|''missing''}}
+
| colspan="2" style="text-align: center; background-color: #14193F;"|{{#if: {{{image|}}}
 +
| {{#ifexist:File:{{{image}}}
 +
| [[Image:{{{image}}}|center|220px]]
 +
| Please [[File:{{{image}}}|upload]] the {{{image}}} file.}}
 +
| [[Image:no_fighter_gun.png|center|220px]]}}
 
|-
 
|-
|Ship Type: ||{{#if:{{{shiptype|}}}|'''{{{shiptype}}}'''|''missing''}}
+
| colspan="2" class="infobox-section" style="font-family: Agency FB,​Verdana,​Arial,​sans-serif; font-size: 150%; font-weight: 500; text-decoration: underline; text-align: center; background-color: #14193F; line-height: 1.5em;"|Shield Generator
|-
+
|- title="Damage the equipment can take before being destroyed"
|Shield Type: ||{{#if:{{{shieldtype|}}}|'''[[Shields#{{{shieldtype}}}|{{{shieldtype}}}]]'''|''missing''}}
+
| class="infobox-data-title" | '''Hit Points'''
|-
+
|| {{{hit-points|''unknown''}}}
|Capacity: ||{{#if:{{{capacity|}}}|{{formatnum:'''{{{capacity}}}''' u}}|''unknown''}}
+
|- title="Cargo space used by the equipment"
|-
+
| class="infobox-data-title" | '''Cargo Space'''
|Regen Rate: ||{{#if:{{{regen|}}}|{{formatnum:'''{{{regen|}}}''' u/s}}|''unknown''}}
+
|| {{{cargo-space|''unknown''}}}
|-
 
|Offline Delay: ||{{#if:{{{offline-time|}}}|{{formatnum:'''{{{offline-time}}}''' s}}|''unknown''}}
 
|-
 
|Recharge Drain: ||{{#if:{{{recharge-drain|}}}|{{formatnum:'''{{{recharge-drain}}}'''}}|''unknown''}}
 
|-
 
|Generator Hit Points: ||{{#if:{{{hit-pts|}}}|{{formatnum:'''{{{hit-pts}}}'''}}|''unknown''}}
 
|-
 
|Price: ||{{#if:{{{price|}}}|${{formatnum:'''{{{price}}}'''}}|''unknown''}}
 
 
|-
 
|-
 +
| class="infobox-data-title" | '''Shield Price'''
 +
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
 
|}
 
|}
|-
+
{{#if:{{{description|}}}|{{{description}}}|''No description available.''}}
|valign="top" style="width:100%;"|
+
==Shield Stats==
==Description==
+
* Ship Type: {{{shiptype|''unknown''}}}
{{#if:{{{description|}}}|{{{description}}}|''missing''}}
+
* Shield Class: {{{class|''unknown''}}}
{{#if:{{{places-sold|}}}|==Places Sold==
+
* Shield Type: {{{shieldtype|''unknown''}}}
{{{places-sold}}}}}
+
* Capacity: {{{capacity|''unknown''}}}u
|}
+
* Regen Delay: {{{offline-time|''unknown''}}} sec
 +
* Regeneration Rate: {{{regen|''unknown''}}} u/sec
 +
* Regen Power Usage: {{{recharge-drain|''unknown''}}} u/sec
 +
{{Clear}}
 +
==Buy/Sell Locations==
 +
{{#if: {{{places-sold|}}}|: The following bases are known to carry this item, although sales may be restricted to pilots with a high positive reputation.
 +
{{{places-sold}}}|: This item is not sold on any known bases. It may only be available from shipwrecks, sold on player bases, or given by administrators.}}
 +
 
 +
{{Clear}}
 
{{Equipment navigation}}
 
{{Equipment navigation}}
{{#if:{{{examplepage|}}}||[[Category:Ship Equipment]][[Category:Shields]]}}
+
<includeonly>[[Category:Ship Equipment]][[Category:Shields]]</includeonly>
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
+
<noinclude>-->
 +
'''Template:Shield''' is for shield items.
 +
 
 +
Recognized attributes are shown in the ''Usage'' section below. Of particular note:
 +
 
 +
* ''full-name'' is the item's full name, as extracted from the infocard data, and should be used for the page title. It is not used by the template and is only provided for reference.
 +
 
 +
* ''short-name'' is used for the title of the infobox.
 +
 
 +
* ''description'' is used for the text block at the top of the page.
 +
 
 +
* ''image'' is used for the equipment image in the infobox. If a value for the ''image'' attribute is not provided, [[:File:no_fighter_gun.png]] is used as the default image.
 +
 
 +
The remaining attributes are used to populate fields throughout the page.
  
 
==Usage==
 
==Usage==
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Shield
 
{{Shield
 
| image = li_refractor_shield.png
 
| image = li_refractor_shield.png
| icon = equipicon_shieldgen.jpg
 
 
| short-name = Sentry L. F. Shield
 
| short-name = Sentry L. F. Shield
 
| full-name = SG-a "Sentry" Light Fighter Graviton Shield
 
| full-name = SG-a "Sentry" Light Fighter Graviton Shield
Line 53: Line 64:
 
| price = 1,000
 
| price = 1,000
 
| cargo-space = 0
 
| cargo-space = 0
| hit-pts = 400
+
| hit-points = 400
 
| class = 3
 
| class = 3
 
| shiptype = [[Light Fighter Shield]]
 
| shiptype = [[Light Fighter Shield]]
Line 61: Line 72:
 
| offline-time = 12
 
| offline-time = 12
 
| recharge-drain = 10
 
| recharge-drain = 10
| places-sold =  
+
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
{{{!}} class="wikitable collapsible collapsed"
 
 
!Spoiler: Buying Locations
 
!Spoiler: Buying Locations
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
{{{!}} class="wikitable sortable"
+
{{{!}} class="wikitable sortable" style="margin: 4px;"
 
{{!}}-
 
{{!}}-
!Base!!Owner!!System!!Location
+
!Base!!Owner!!System!!Region
 
{{!}}-
 
{{!}}-
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
Line 81: Line 91:
 
{{Shield
 
{{Shield
 
| image = li_refractor_shield.png
 
| image = li_refractor_shield.png
| icon = equipicon_shieldgen.jpg
 
 
| short-name = Sentry L. F. Shield
 
| short-name = Sentry L. F. Shield
 
| full-name = SG-a "Sentry" Light Fighter Graviton Shield
 
| full-name = SG-a "Sentry" Light Fighter Graviton Shield
| description = This is a graviton-based shield that provides improved protection from laser and photon weapons. This shield is specifically designed for the Light Fighter class ships.   
+
| description = This is a graviton-based shield that provides improved
 +
protection from laser and photon weapons. This shield is specifically
 +
designed for the Light Fighter class ships.   
 
| price = 1,000
 
| price = 1,000
 
| cargo-space = 0
 
| cargo-space = 0
| hit-pts = 400
+
| hit-points = 400
 
| class = 3
 
| class = 3
 
| shiptype = [[Light Fighter Shield]]
 
| shiptype = [[Light Fighter Shield]]
Line 95: Line 106:
 
| offline-time = 12
 
| offline-time = 12
 
| recharge-drain = 10
 
| recharge-drain = 10
| places-sold =  
+
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
{{{!}} class="wikitable collapsible collapsed"
 
 
!Spoiler: Buying Locations
 
!Spoiler: Buying Locations
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
{{{!}} class="wikitable sortable"
+
{{{!}} class="wikitable sortable" style="margin: 4px;"
 
{{!}}-
 
{{!}}-
!Base!!Owner!!System!!Location
+
!Base!!Owner!!System!!Region
 
{{!}}-
 
{{!}}-
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
Line 110: Line 120:
 
{{!}}}
 
{{!}}}
 
}}
 
}}
[[Category:Templates]]
+
 
</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 02:42, 21 December 2012

Template:Shield is for shield items.

Recognized attributes are shown in the Usage section below. Of particular note:

  • full-name is the item's full name, as extracted from the infocard data, and should be used for the page title. It is not used by the template and is only provided for reference.
  • short-name is used for the title of the infobox.
  • description is used for the text block at the top of the page.
  • image is used for the equipment image in the infobox. If a value for the image attribute is not provided, File:no_fighter_gun.png is used as the default image.

The remaining attributes are used to populate fields throughout the page.

Usage

{{Shield
| image = li_refractor_shield.png
| short-name = Sentry L. F. Shield
| full-name = SG-a "Sentry" Light Fighter Graviton Shield
| description = This is a graviton-based shield that provides improved
protection from laser and photon weapons. This shield is specifically
designed for the Light Fighter class ships.  
| price = 1,000
| cargo-space = 0
| hit-points = 400
| class = 3
| shiptype = [[Light Fighter Shield]]
| shieldtype = Graviton
| capacity = 600
| regen = 13
| offline-time = 12
| recharge-drain = 10
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
!Spoiler: Buying Locations
{{!}}-
{{!}}
{{{!}} class="wikitable sortable" style="margin: 4px;"
{{!}}-
!Base!!Owner!!System!!Region
{{!}}-
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
{{!}}-
{{!}}Base B{{!}}{{!}}Faction B{{!}}{{!}}System B{{!}}{{!}}Region B
{{!}}}
{{!}}}
}}

Result

Sentry L. F. Shield
Li refractor shield.png
Shield Generator
Hit Points 400
Cargo Space 0
Shield Price 1,000

This is a graviton-based shield that provides improved protection from laser and photon weapons. This shield is specifically designed for the Light Fighter class ships.

Shield Stats

  • Ship Type: Light Fighter Shield
  • Shield Class: 3
  • Shield Type: Graviton
  • Capacity: 600u
  • Regen Delay: 12 sec
  • Regeneration Rate: 13 u/sec
  • Regen Power Usage: 10 u/sec


Buy/Sell Locations

The following bases are known to carry this item, although sales may be restricted to pilots with a high positive reputation.