Difference between revisions of "Template:Shield"

From Discovery Wiki
Jump to navigationJump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><!--</noinclude>
+
<noinclude><!--</noinclude>__NOTOC__ __NOEDITSECTION__
{| class="weaponmainbox" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #aaa;" 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"|<H3>{{{short-name}}}</H3>
+
| 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:no_fighter_gun.png|center|220px]]}}
+
| [[Image:{{{image}}}|center|220px]]
 +
| Please [[File:{{{image}}}|upload]] the {{{image}}} file.}}
 +
| [[Image:no_fighter_gun.png|center|220px]]}}
 
|-
 
|-
| colspan="2" class="infobox-section"|<H3>Shield Generator</H3>
+
| 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"
 
|- title="Damage the equipment can take before being destroyed"
|class="infobox-data-title" | '''Hit Points'''
+
| class="infobox-data-title" | '''Hit Points'''
 
|| {{{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'''
 
|| {{{cargo-space|''unknown''}}}
 
|| {{{cargo-space|''unknown''}}}
 
|-
 
|-
|class="infobox-data-title" | '''Shield Price'''
+
| class="infobox-data-title" | '''Shield Price'''
|| {{#if: {{{price|}}}
+
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
| ${{formatnum:{{{price}}}}}
 
| ''unknown''}}
 
 
|}
 
|}
 
{{#if:{{{description|}}}|{{{description}}}|''No description available.''}}
 
{{#if:{{{description|}}}|{{{description}}}|''No description available.''}}
Line 32: Line 32:
 
{{Clear}}
 
{{Clear}}
 
==Buy/Sell Locations==
 
==Buy/Sell Locations==
{{#if:{{{places-sold|}}}|The following stations are known to carry this item, although some of them may only sell the item to ships with very high positive reputation.
+
{{#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 bought or sold on any known bases. It may only be available from shipwrecks, sold on player bases, or given by administrators.}}
+
{{{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.
 
'''Template:Shield''' is for shield items.
  
Line 50: Line 50:
  
 
* ''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.
 
* ''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
Line 71: 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!!Region
 
!Base!!Owner!!System!!Region
Line 93: Line 93:
 
| 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
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!!Region
 
!Base!!Owner!!System!!Region
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.