Difference between revisions of "Template:Scanner"

From Discovery Wiki
Jump to navigationJump to search
(Creation)
 
 
(37 intermediate revisions by 3 users 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" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#if: {{{image|}}}
+
| 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}}}
| [[image:{{{image}}}|center]]
 
| [[image:Scanners.jpg|center]]
 
<h3>Statistics</h3>
 
 
|-
 
|-
|Range: ||{{#if:{{{range|}}}|{{formatnum:'''{{{range}}}'''m}}|''unknown''}}
+
| 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]]}}
 
|-
 
|-
|Cargo Range: ||{{#if:{{{cargo-range|}}}|{{formatnum:'''{{{cargo-range}}}'''m}}|''unknown''}}
+
| 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;"|Scanner
 
|-
 
|-
|Price: ||{{#if:{{{price|}}}|${{formatnum:'''{{{price}}}'''}}|''unknown''}}
+
| class="infobox-data-title" | '''Price'''
|}{{#if:{{{description|}}}|{{{description}}}|''description missing''}}
+
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
{{#if:{{{places-sold|}}}|==Places Sold==
+
|}
{{{places-sold}}}}}
+
{{#if:{{{description|}}}|{{{description}}}|''No description available.''}}
{{EquipmentNav}}
+
==Scanner Stats==
{{#if:{{{examplepage|}}}||[[Category:Scanners]]}}
+
* Ship Scan Range: {{{range|''unknown ''}}} meters
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
+
* Cargo scan range: {{{cargo-range|''unknown ''}}} meters
 +
{{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}}
 +
<includeonly>[[Category:Ship Equipment]][[Category:Scanners]]</includeonly>
 +
<noinclude>-->
 +
'''Template:Scanner''' is for scanner 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>
 
{{Scanner
 
{{Scanner
| image =  
+
| image = scanner_basic.png
| description = This is a scanner. Unlike normal scanners which provide information about other ships and objects, this one lets you see into your own mind. Most people don't like what they see, and there have never been any repeat customers for this item.
+
| icon = equipicon_scanner_basic.jpg
| range = -1
+
| short-name = Scanner
| cargo-range = 5000
+
| full-name = Scanner
| price = 9999999999
+
| description = Standard tomographic imaging device that employs
| places-sold =
+
magnetic, infrared, sonar, and gravitational sensors to produce a
{{{!}} class="wikitable collapsible collapsed"
+
three-dimensional model of a target and then match that target to
 +
a database of known ships.
 +
| price = 500
 +
| range = 2,500
 +
| cargo-range = 1,000
 +
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
 
!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 41: Line 69:
 
{{!}}}
 
{{!}}}
 
{{!}}}
 
{{!}}}
}}</nowiki></pre>
+
}}
 +
</nowiki></pre>
  
 
==Result==
 
==Result==
 
{{Scanner
 
{{Scanner
| examplepage = true
+
| image = scanner_basic.png
| image =  
+
| icon = equipicon_scanner_basic.jpg
| description = This is a scanner. Unlike normal scanners which provide information about other ships and objects, this one lets you see into your own mind. Most people don't like what they see, and there have never been any repeat customers for this item.
+
| short-name = Scanner
| range = -1
+
| full-name = Scanner
| cargo-range = 5000
+
| description = Standard tomographic imaging device that employs
| price = 9999999999
+
magnetic, infrared, sonar, and gravitational sensors to produce a
| places-sold =
+
three-dimensional model of a target and then match that target to
{{{!}} class="wikitable collapsible collapsed"
+
a database of known ships.
 +
| price = 500
 +
| range = 2,500
 +
| cargo-range = 1,000
 +
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
 
!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 66: Line 99:
 
{{!}}}
 
{{!}}}
 
}}
 
}}
[[Category:Templates]]
+
 
</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 02:41, 21 December 2012

Template:Scanner is for scanner 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

{{Scanner
| image = scanner_basic.png
| icon = equipicon_scanner_basic.jpg
| short-name = Scanner
| full-name = Scanner
| description = Standard tomographic imaging device that employs
magnetic, infrared, sonar, and gravitational sensors to produce a
three-dimensional model of a target and then match that target to
a database of known ships.
| price = 500
| range = 2,500
| cargo-range = 1,000
| 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

Scanner
Scanner basic.png
Scanner
Price 500

Standard tomographic imaging device that employs magnetic, infrared, sonar, and gravitational sensors to produce a three-dimensional model of a target and then match that target to a database of known ships.

Scanner Stats

  • Ship Scan Range: 2,500 meters
  • Cargo scan range: 1,000 meters


Buy/Sell Locations

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