- Target
- ?
- Send
- ?
- Share
- ?
- Scrap
- ?
Template:Artifact
Thaumanovic (Talk | contribs) m (Undo revision 58307 by Thaumanovic (Talk)) |
Thaumanovic (Talk | contribs) (Add relic badges scrap type) |
||
(6 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
<div class="infobox"> | <div class="infobox"> | ||
<div class="header"><span class="icon icon-artifact">{{PAGENAME}}</span></div> | <div class="header"><span class="icon icon-artifact">{{PAGENAME}}</span></div> | ||
Line 36: | Line 33: | ||
; Scrap | ; Scrap | ||
: {{{scrapValue}}} [[Complex Tech Parts|CTP]] [[Category:Artifacts that scrap for Complex Tech Parts]] | : {{{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]] | | [[Category:Template usage errors]] | ||
}} | }} | ||
Line 44: | Line 49: | ||
}} | }} | ||
{{#if:{{{useCost|}}}| | {{#if:{{{useCost|}}}| | ||
- | ; | + | ; {{{useText|Use}}} cost |
: {{{useCost}}} | : {{{useCost}}} | ||
|}} | |}} | ||
Line 53: | Line 58: | ||
{{Quote|{{{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. | ||
+ | |||
+ | == 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> |
Current revision as of 00:36, 24 November 2024
Artifact
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]] |