Template:Base Additional Info: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>StarGeek
m (testing)
 
(This is a bit drastic but helps us to hint that prestige is gone)
 
(35 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| border=1
<includeonly>{| class="wikitable"
|-
|-
|'''Price''' || {{{Price}}} [[prestige]]
{{#if: {{{Type|}}} |{{!}} '''Base Element Type''' {{!!}} {{{Type}}} }}
{{#if:{{{Unlocked|}}}|<TR><TD>'''Unlocked by'''</TD><TD> {{{Unlocked}}}</TD></TR> }}
{{#if:{{{PowerUsed|}}}|<TR><TD>'''Power Requirements'''</TD><TD>{{{PowerUsed}}}</TD></TR> }}
{{#if:{{{ControlUsed|}}}<TR><TD>'''Control Requirements''' </TD><TD> {{{ControlUsed}}}</TD></TR> }}
{{#if:{{{ControlProduced|}}}<TR><TD>'''Control Produced''' </TD><TD> {{{ControlProduced}}}</TD></TR> }}
{{#if:{{{PowerProduced|}}}<TR><TD>'''Power Requirements''' </TD><TD> {{{PowerProduced}}}</TD></TR> }}
|-
|-
| '''Crafted at''' || {{{Crafted}}}
{{#if: {{{Issue|}}} |{{!}} '''Issue Added''' {{!!}} {{{Issue}}} }}
{{#if:{{{Attaches|}}}<TR><TD>'''Attaches to''' </TD><TD> {{{Attaches}}}</TD></TR> }}
|-
|}<noinclude>
{{#if: {{{DeviceRank|}}} |{{!}} '''Device Rank''' {{!!}} {{{DeviceRank}}} }}
 
|-
----
|'''Crafted at''' || {{#if:{{{Crafted|}}}|{{{Crafted|Not Crafted}}}|Not Crafted}}
[[Category:Templates|{{PAGENAME}}]] ''Category is temporary''
|-
 
{{#if:{{{BuyTab|}}}|{{!}}'''Purchase Tab'''{{!!}}{{{BuyTab}}}}}
Attempted to create a standard template for base items.  Will be prettied up later.</noinclude>
|-
{{#if:{{{ToCraft|}}}|{{!}}'''Used to Craft'''{{!!}}{{{ToCraft}}}}}
|-
{{#if:{{{Salvage|}}}|{{!}}'''Salvage Required'''{{!!}}{{{Salvage}}}}}
|-
{{#if: {{{Effects|}}} |{{!}} '''Effects''' {{!!}} {{{Effects}}} }}
|-
{{#if:{{{MaxCon|}}}|{{!}}'''Maximum Connections'''{{!!}}{{{MaxCon}}}}}
|-
{{#if:{{{Attaches|}}}|{{!}}'''Attaches to'''{{!!}}{{{Attaches}}}}}
|-
{{#if:{{{AllowedAux|}}}|{{!}}'''Allowed "Aux" Items'''{{!!}}{{{AllowedAux|None}}}|{{#if:{{{Attaches|}}}||{{!}}'''Allowed "Aux" Items'''{{!!}}None}}}}
|-
{{#if:{{{ArcaneEq|}}}|{{!}}'''Arcane Equivalent'''{{!!}}{{{ArcaneEq}}}}}
|-
{{#if:{{{TechEq|}}}|{{!}}'''Tech Equivalent'''{{!!}}{{{TechEq}}}}}
|}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 14:10, 19 May 2020

[edit] [purge] Documentation


Usage

This template is used under the "Additional Information" section on base item pages.

{{Base Additional Info
|Type=
|Price=
|Rent=
|Issue=
|Unlocked=
|DeviceRank=
|PowerUsed=
|ControlUsed=
|PowerProduced=
|ControlProduced=
|Crafted=
|BuyTab=
|ToCraft=
|Salvage=
|Effects=
|MaxCon=
|Attaches=
|AllowedAux=
|ArcaneEq=
|TechEq=
}}
  • Type = What type of item.
  • Price = How much prestige it costs to place the item.
  • Rent = How much upkeep it adds to rent.
  • Issue = Which issue it was released.
  • Unlocked = [[Link Badge|Link]] to which badge unlocks the item.
  • DeviceRank = List the rank number if there are more than one ranks of similar items.
  • PowerUsed = How much energy this item uses.
  • ControlUsed = How much control this item uses.
  • PowerProduced = How much energy this item produces.
  • ControlProduced = How much control this item produces.
  • Crafted = [[Link]] to where it is crafted.
  • BuyTab = Which purchase tab the item is listed under.
  • ToCraft = [[Link]] to which items it crafts (if few; otherwise, separate the list).
  • Salvage = List which salvage it takes to craft it.
  • Effects = Mostly for defensive items, list its PvP effects.
  • MaxCon = Maximum number of auxiliary connections.
  • Attaches = [[Link]] to which item it is an auxiliary for.
  • AllowedAux = [[Link]] to which items are allowed as auxiliaries.
  • ArcaneEq = [[Link]] to equivalent arcane item on a tech item page. Use only one Eq.
  • TechEq = [[Link]] to equivalent tech item on an arcane item page. Use only one Eq.

All options except Prestige, Crafted, and AllowedAux will not show up if they are left out or there is no input. If Prestige is not present or has no input, it will simply link to prestige. If Crafted is not present or has no input, it will automatically show up with "Not Crafted" as the result. If both Attaches and AllowedAux are not present or have no input, then AllowedAux will automatically show up with "None" as the result.

Examples

Crafted Item

{{Base Additional Info
|Type=Control
|Price=10,000
|Issue=[[Issue 6]]
|Unlocked=[[Some Random Badge|Some Random]]
|DeviceRank=2
|PowerUsed=50
|ControlProduced=1000
|Crafted=[[Advanced Worktable]]
|Salvage=Recipe1Item Recipe1Item Recipe1Item
{{center|OR}}
Recipe2Item Recipe2Item Recipe2Item
|Effects=Makes a Big Boom
|MaxCon=2
|AllowedAux=[[Another Item]]
|ArcaneEq=[[Item The Third]]
}}


Base Element Type Control
Issue Added Issue 6
Device Rank 2
Crafted at Advanced Worktable
Salvage Required Recipe1Item Recipe1Item Recipe1Item
OR

Recipe2Item Recipe2Item Recipe2Item

Effects Makes a Big Boom
Maximum Connections 2
Allowed "Aux" Items Another Item
Arcane Equivalent Item The Third

Purchased Item

{{Base Additional Info
|Price=10,000
|Rent=100
|Issue=[[Issue 13]]
|ControlUsed=25
|PowerProduced=500
|BuyTab=''Tab Name'' Tab
|ToCraft=[[Some Other Item]]
}}
Issue Added Issue 13
Crafted at Not Crafted
Purchase Tab Tab Name Item Tab
Used to Craft Some Other Item
Allowed "Aux" Items None