Difference between revisions of "Template:Shield"

From Discovery Wiki
Jump to navigationJump to search
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><!--</noinclude>
+
<noinclude><!--</noinclude>__NOTOC__ __NOEDITSECTION__
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 2px solid black;" cellpadding="3"
+
{| 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"
 
|-
 
|-
| colspan="2" class="infobox-name"|'''{{{short-name}}}'''
+
| 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}}}
 
|-
 
|-
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#if: {{{image|}}}
+
| colspan="2" style="text-align: center; background-color: #14193F;"|{{#if: {{{image|}}}
| [[image:{{{image}}}|center|220px]]
+
| {{#ifexist:File:{{{image}}}
| [[image:Shields.jpg|center|220px]]}}
+
| [[Image:{{{image}}}|center|220px]]
|- title="Class of ship that this shield is designed for"
+
| Please [[File:{{{image}}}|upload]] the {{{image}}} file.}}
|class="infobox-data-title" style="width: 120px;" | '''Ship Type'''
+
| [[Image:no_fighter_gun.png|center|220px]]}}
|style="padding-right: 1em;" | {{#if:{{{shiptype|}}}|'''{{{shiptype}}}'''|''missing''}}
+
|-
|- title="Shield rank"
+
| 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
|class="infobox-data-title" style="width: 120px;" | '''Shield Class'''
 
|style="padding-right: 1em;" | {{#if:{{{class|}}}|'''{{{class}}}'''|''missing''}}
 
|- title="Shielding technology"
 
|class="infobox-data-title" style="width: 120px;" | '''Shield Type'''
 
|style="padding-right: 1em;" | {{#if:{{{shieldtype|}}}|'''{{{shieldtype}}}'''|''missing''}}
 
|- title="Maximum energy hit-points that can be absorbed without regenerating"
 
|class="infobox-data-title" style="width: 120px;" | '''Capacity'''
 
|style="padding-right: 1em;" | {{#if:{{{capacity|}}}|'''{{{capacity}}}'''|''missing''}}
 
|- title="Energy absorption hit-points regenerated per second"
 
|class="infobox-data-title" style="width: 120px;" | '''Regeneration'''
 
|style="padding-right: 1em;" | {{#if:{{{regen|}}}|'''{{{regen}}}'''|''missing''}}
 
|- title="Power consumed during regeneration"
 
|class="infobox-data-title" style="width: 120px;" | '''Regen Power Usage'''
 
|style="padding-right: 1em;" | {{#if:{{{recharge-drain|}}}|'''{{{recharge-drain}}}'''|''missing''}}
 
|- title="Regeneration delay when shields are depleted"
 
|class="infobox-data-title" style="width: 120px;" | '''Offline Delay'''
 
|style="padding-right: 1em;" | {{#if:{{{offline-time|}}}|'''{{{offline-time}}}'''|''missing''}}
 
 
|- title="Damage the equipment can take before being destroyed"
 
|- title="Damage the equipment can take before being destroyed"
|class="infobox-data-title" | '''Hit Points'''
+
| class="infobox-data-title" | '''Hit Points'''
|style="padding-right: 1em;" | {{{hit-points|''unknown ''}}}
+
|| {{{hit-points|''unknown''}}}
 
|- title="Cargo space used by the equipment"
 
|- title="Cargo space used by the equipment"
|class="infobox-data-title" | '''Cargo Space'''
+
| class="infobox-data-title" | '''Cargo Space'''
|style="padding-right: 1em;" | {{{cargo-space|''unknown ''}}}
+
|| {{{cargo-space|''unknown''}}}
 
|-
 
|-
|class="infobox-data-title" | '''Dropper Price'''
+
| class="infobox-data-title" | '''Shield Price'''
|style="padding-right: 1em;" | {{#if: {{{price|}}}
+
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
| ${{formatnum:{{{price}}}}}
 
| ''unknown''
 
}}
 
 
|}
 
|}
{{#if:{{{description|}}}|{{{description}}}|''description missing''}}
+
{{#if:{{{description|}}}|{{{description}}}|''No description available.''}}
{{#if:{{{places-sold|}}}|==Places Sold==
+
==Shield Stats==
{{{places-sold}}}}}
+
* Ship Type: {{{shiptype|''unknown''}}}
 +
* Shield Class: {{{class|''unknown''}}}
 +
* Shield Type: {{{shieldtype|''unknown''}}}
 +
* 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}}
 
{{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 62: 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 70: 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 90: 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 104: 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 119: 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.