Template:Artifact

m
(Add relic badges scrap type)
 
(12 intermediate revisions not shown)
Line 1: Line 1:
-
<includeonly>
+
<div class="infobox">
-
 
+
<div class="header"><span class="icon icon-artifact">{{PAGENAME}}</span></div>
-
 
+
{{#if:{{{image|}}}|
-
| style="padding:3px; text-align:center; width="140"; white-space:nowrap" | {{{Artifact Name|"ARTIFACT NAME" MISSING}}}
+
<div class="image-container image-container-artifact">{{GameImage|artifacts/{{{image}}}}}</div>
-
| style="padding:3px; text-align:center; width="80"; white-space:nowrap" | {{{Type|"TYPE" MISSING}}}
+
|}}
-
| style="padding:3px; text-align:center; width="400"; white-space:nowrap" | {{{Effect|"EFFECT" MISSING}}}
+
<div class="content">
-
| style="padding:3px; text-align:center; width="80"; white-space:nowrap" | {{{[[Combat|Obtained From]]|"OBTAINED FROM" MISSING}}}
+
;Target
-
| style="padding:3px; text-align:center; width="120"; white-space:wrap" | {{{Scrap Value|X to Y Z}}}
+
:{{#if:{{{target|}}}|
-
| style="padding:3px; text-align:center; white-space:nowrap" | {{{Image|???}}}
+
{{{target}}} [[Category:"{{{target}}}" artifacts]]
-
</includeonly><noinclude>
+
|''?'' [[Category:Artifacts with unknown target]]
-
 
+
}}
-
 
+
;Send
-
 
+
:{{#switch:{{{send|}}}
-
 
+
|yes=Yes [[Category:Sendable artifacts]]
-
 
+
|no= No [[Category:Unsendable artifacts]]
-
 
+
|''?'' [[Category:Artifacts with unknown sendability]]
-
 
+
}}
-
Table Row template for any Regular Base Module tables (turrets, grids, plating, arrays).
+
;Share
-
 
+
:{{#switch:{{{share|}}}
-
'''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>
+
|yes=Yes [[Category:Shareable artifacts]]
-
 
+
|no= No [[Category:Unshareable artifacts]]
-
The following parameters will need to be passed to this template to output a row properly:
+
|''?'' [[Category:Artifacts with unknown shareability]]
-
 
+
}}
-
'''Artifact Namee'''
+
{{#ifeq:{{{scrapType|}}}|no|
-
: Name of Artifact
+
; Scrap
-
 
+
: No [[Category:Unscrappable artifacts]]
-
'''Type'''
+
|{{#if:{{{scrapValue|}}}|
-
: ONE of the following: Planet Structure, Base Module, Ship Module, Ship Effect, Planet Effect, Structure Effect, Player Effect
+
{{#switch:{{{scrapType|}}}
-
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 Tanks, 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)
+
|credits=
-
Source - Add all that Apply: Galaxy Points, Daily Reward, Blue Prints, NPCs, Missions, AP Cost, Rank, etc.
+
; Scrap
-
 
+
: {{{scrapValue}}} [[Credits|CR]] [[Category:Artifacts that scrap for Credits]]
-
'''Effect'''
+
|ctp=
-
: Descriptive notes on the artifact.
+
; Scrap
-
 
+
: {{{scrapValue}}} [[Complex Tech Parts|CTP]] [[Category:Artifacts that scrap for Complex Tech Parts]]
-
'''Obtained From'''
+
| [[Category:Template usage errors]]
-
: Methods (NPCs, Missions, GL Points, AP) by which an Artifact can be obtained
+
|em=
-
 
+
; Scrap
-
'''Scrap Value'''
+
: {{{scrapValue}}} [[Exotic Matter|EM]] [[Category:Artifacts that scrap for Exotic Matter]]
-
: The outcome of pressing the "Scrap" button.
+
| [[Category:Template usage errors]]
-
Two possible Formats Exist: "N/A" (The Item Cannot Be Scrapped), and "X to Y Z" (When the Item is Scrappable)
+
|relics=
-
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]]
+
; Scrap
-
eg: 6 to 10 [[Complex Tech Parts|CTP]] OR 30,500 to 122,000 [[Credits|Cr.]]
+
: {{{scrapValue}}} [[Relic Badges]] [[Category:Artifacts that scrap for Relic Badges]]
-
 
+
| [[Category:Template usage errors]]
-
'''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
+
|
-
 
+
; Scrap
-
 
+
: ''?'' [[Category:Artifacts with unknown scrapability]]
-
 
+
}}
-
 
+
}}
-
 
+
{{#if:{{{useCost|}}}|
-
 
+
; {{{useText|Use}}} cost
-
 
+
: {{{useCost}}}
-
Don't want to delete the old one, but perhaps this works as a better template?
+
|}}
-
 
+
<div style="clear: both;"></div>
-
 
+
</div>
-
 
+
</div>
-
For mission reward artifacts.
+
{{#if:{{{description|}}}|
-
 
+
{{Quote|{{{description}}}}}
-
==Mission Reward Artifact==
+
|}}
-
<br> Item 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.
-
----
+
-
<br>'''Available from:'''  [[Mission Title]]
+
-
 
+
-
<br>'''Artifact Type:'''
+
-
<br>'''Set Duration:'''  
+
-
<br>'''Cost in [[Energy]] to Use: '' '''
+
-
<br>'''Artifact Effects:'''
+
-
<br>'''Artifact Limit:'''
+
-
<br>'''Number Available:'''
+
-
<br>'''Alternate Uses:'''
+
-
 
+
-
'''Upgrades With:'''
+
-
<br>'''Scraps Value:''' [[Complex Tech Parts|CTP]]
+
-
<br>'''Shareable:'''
+
-
<br>'''Sendable:'''
+
-
<br>'''Image:''' [Image for artifact, artifact name]
+
-
----
+
-
Return to [[Mission artifact is from]] <br>
+
-
Return to [[Missions]] <br>
+
-
Return to [[Mission Artifacts]]
+
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
 +
== Usage ==
 +
<pre>
 +
{{Artifact
 +
|target=
 +
|image=
 +
|description=
 +
|send=
 +
|share=
 +
|scrapType=
 +
|scrapValue=
 +
|useText=
 +
|useCost=
 +
}}
 +
</pre>
 +
{| 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!