Template:Artifact

(Add relic badges scrap type)
 
(16 intermediate revisions not shown)
Line 1: Line 1:
-
<includeonly>
+
<div class="infobox">
-
| style="padding:3px; text-align:center; width="140"; white-space:nowrap" | {{{Artifact Name|"ARTIFACT NAME" MISSING}}}
+
<div class="header"><span class="icon icon-artifact">{{PAGENAME}}</span></div>
-
| style="padding:3px; text-align:center; width="80"; white-space:nowrap" | {{{Type|"TYPE" MISSING}}}
+
{{#if:{{{image|}}}|
-
| style="padding:3px; text-align:center; width="400"; white-space:nowrap" | {{{Effect|"EFFECT" MISSING}}}
+
<div class="image-container image-container-artifact">{{GameImage|artifacts/{{{image}}}}}</div>
-
| style="padding:3px; text-align:center; width="80"; white-space:nowrap" | {{{[[Combat|Obtained From]]|"OBTAINED FROM" MISSING}}}
+
|}}
-
| style="padding:3px; text-align:center; width="120"; white-space:wrap" | {{{Scrap Value|X to Y Z}}}
+
<div class="content">
-
| style="padding:3px; text-align:center; white-space:nowrap" | {{{Image|???}}}
+
;Target
-
</includeonly><noinclude>
+
:{{#if:{{{target|}}}|
-
Table Row template for any Regular Base Module tables (turrets, grids, plating, arrays).
+
{{{target}}} [[Category:"{{{target}}}" artifacts]]
 +
|''?'' [[Category:Artifacts with unknown target]]
 +
}}
 +
;Send
 +
:{{#switch:{{{send|}}}
 +
|yes=Yes [[Category:Sendable artifacts]]
 +
|no= No [[Category:Unsendable artifacts]]
 +
|''?'' [[Category:Artifacts with unknown sendability]]
 +
}}
 +
;Share
 +
:{{#switch:{{{share|}}}
 +
|yes=Yes [[Category:Shareable artifacts]]
 +
|no= No [[Category:Unshareable artifacts]]
 +
|''?'' [[Category:Artifacts with unknown shareability]]
 +
}}
 +
{{#ifeq:{{{scrapType|}}}|no|
 +
; Scrap
 +
: No [[Category:Unscrappable artifacts]]
 +
|{{#if:{{{scrapValue|}}}|
 +
{{#switch:{{{scrapType|}}}
 +
|credits=
 +
; Scrap
 +
: {{{scrapValue}}} [[Credits|CR]] [[Category:Artifacts that scrap for Credits]]
 +
|ctp=
 +
; Scrap
 +
: {{{scrapValue}}} [[Complex Tech Parts|CTP]] [[Category:Artifacts that scrap for Complex Tech Parts]]
 +
| [[Category:Template usage errors]]
 +
|em=
 +
; Scrap
 +
: {{{scrapValue}}} [[Exotic Matter|EM]] [[Category:Artifacts that scrap for Exotic Matter]]
 +
| [[Category:Template usage errors]]
 +
|relics=
 +
; Scrap
 +
: {{{scrapValue}}} [[Relic Badges]] [[Category:Artifacts that scrap for Relic Badges]]
 +
| [[Category:Template usage errors]]
 +
}}
 +
|
 +
; Scrap
 +
: ''?'' [[Category:Artifacts with unknown scrapability]]
 +
}}
 +
}}
 +
{{#if:{{{useCost|}}}|
 +
; {{{useText|Use}}} cost
 +
: {{{useCost}}}
 +
|}}
 +
<div style="clear: both;"></div>
 +
</div>
 +
</div>
 +
{{#if:{{{description|}}}|
 +
{{Quote|{{{description}}}}}
 +
|}}
 +
<noinclude>
 +
Displays an information box at the right of the page, detailing an [[Artifact]]. If provided, it was also provide the artifact's description in the form of a quote at the top of the page.
-
'''This template will only output the rows, as well as the following formatting for those rows:''' <span style="padding:3px; text-align:center; white-space:nowrap">style="padding:3px; text-align:center; white-space:nowrap"</span>
+
== Usage ==
-
The following parameters will need to be passed to this template to output a row properly:
+
<pre>
 +
{{Artifact
 +
|target=
 +
|image=
 +
|description=
 +
|send=
 +
|share=
 +
|scrapType=
 +
|scrapValue=
 +
|useText=
 +
|useCost=
 +
}}
 +
</pre>
-
'''Artifact Namee'''
 
-
: Name of Artifact
 
-
 
-
'''Type'''
 
-
: ONE of the following: Planet Structure, Base Module, Ship Module, Ship Effect, Planet Effect, Structure Effect, Player Effect
 
-
Examples of each "Type": Planet Structure, (eg. Warp Gate); Base Module, (eg. Base Comm Interlink); Ship Module, (eg. Stryll Prey Tracker); Ship Effect, (eg. Tevrazon Gas Canister, Energy cube, Tri-Matrix Emblem); Planet Effect, (eg. Grav-Whip Trap, Planet Flux, Mass Surface Metler); Structure Effect, (eg. Sha'jha Link Upgrade); Player Effect, (eg. Glavis Device, Sphere Of A New Era)
 
-
Source - Add all that Apply: Galaxy Points, Daily Reward, Blue Prints, NPCs, Missions, AP Cost, Rank, etc.
 
-
 
-
'''Effect'''
 
-
: Descriptive notes on the artifact.
 
-
 
-
'''Obtained From'''
 
-
: Methods (NPCs, Missions, GL Points, AP) by which an Artifact can be obtained
 
-
 
-
'''Scrap Value'''
 
-
: The outcome of pressing the "Scrap" button.
 
-
Two possible Formats Exist: "N/A" (The Item Cannot Be Scrapped), and "X to Y Z" (When the Item is Scrappable)
 
-
ie: X to Y is a range of values (eg: 7 to 14); Z is the thing recieved (eg: [[Credits|Cr.]], [[Complex Tech Parts|CTP]]
 
-
eg: 6 to 10 [[Complex Tech Parts|CTP]] OR 30,500 to 122,000 [[Credits|Cr.]]
 
-
 
-
'''Image'''
 
-
: URL to image of the Artifact, the URL needs to point to one of the Galaxy Legion servers, not to a third-party server
 
 +
{| class="table"
 +
! Parameter
 +
! Valid Values
 +
! Usage
 +
|-
 +
| target
 +
| ''any''
 +
| The value displayed for the artifact under the "target" column on the trade tab.
 +
|-
 +
| image
 +
| filename
 +
| The filename of the artifact's image, e.g. "crystal.png".
 +
|-
 +
| description
 +
| text
 +
| The full description text of the artifact. Best copied from the "Use an Artifact" window.
 +
|-
 +
| send
 +
| ''yes'' or ''no''
 +
| Whether the artifact may be sent between players.
 +
|-
 +
| share
 +
| ''yes'' or ''no''
 +
| Whether the artifact may be shared to other players.
 +
|-
 +
| scrapType
 +
| ''no'', ''credits'', ''ctp'', 'em'', or ''relics''
 +
| The scrap type of the artifact.
 +
|-
 +
| scrapValue
 +
| Form: ''lower'' - ''higher''
 +
| The scrap value of the artifact. Include only the raw values with a space either side of the hyphen, e.g. "10 - 20"
 +
|-
 +
| useText
 +
| ''text''
 +
| The text displayed on the button used to use the artifact. Defaults to "Use" if not specified.
 +
|-
 +
| useCost
 +
| ''text''
 +
| The full markup used to represent the costs required to use the artifact. Example:
 +
<nowiki>10,000 [[Energy]]<br> 100[[Complex Tech Parts|CTP]]</nowiki>
 +
|}
</noinclude>
</noinclude>

Current revision as of 00:36, 24 November 2024

Artifact
Target
?
Send
?
Share
?
Scrap
?


Displays an information box at the right of the page, detailing an Artifact. If provided, it was also provide the artifact's description in the form of a quote at the top of the page.

Usage

{{Artifact
|target=
|image=
|description=
|send=
|share=
|scrapType=
|scrapValue=
|useText=
|useCost=
}}


Parameter Valid Values Usage
target any The value displayed for the artifact under the "target" column on the trade tab.
image filename The filename of the artifact's image, e.g. "crystal.png".
description text The full description text of the artifact. Best copied from the "Use an Artifact" window.
send yes or no Whether the artifact may be sent between players.
share yes or no Whether the artifact may be shared to other players.
scrapType no, credits, ctp, 'em, or relics The scrap type of the artifact.
scrapValue Form: lower - higher The scrap value of the artifact. Include only the raw values with a space either side of the hyphen, e.g. "10 - 20"
useText text The text displayed on the button used to use the artifact. Defaults to "Use" if not specified.
useCost text The full markup used to represent the costs required to use the artifact. Example:
10,000 [[Energy]]<br> 100[[Complex Tech Parts|CTP]]

Looking for something?

Use the form below to search the wiki:

 

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!