Open main menu

Project: Gorgon Wiki β

Changes

Template:ITEM EXTRA infobox

1,563 bytes added, 13:52, 7 August 2019
Adding rough template without formatting for testing.
{|
|-
{{ #if:{{{craftpoints|}}}|{{pipe}}- valign="top"
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Craft Points:
{{pipe}} <div class="block2" style="color:#ffffff;">{{{craftpoints}}}</div>
}}
|-
{{ #if:{{{equipslot|}}}|{{pipe}}- valign="top"
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Equip Slot:
{{pipe}} <div class="block2" style="color:#ffffff;">{{{equipslot}}}</div>
}}
|-
{{ #if:{{{stack|}}}|{{pipe}}- valign="top"
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Stack Size:
{{pipe}} <div class="block2" style="color:#ffffff;">{{{stack}}}</div>
}}
|-
{{ #if:{{{keywords|}}}|{{pipe}}- valign="top"
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Keywords:
{{pipe}} <div class="block2" style="color:#ffffff;">{{{keywords}}}</div>
}}
|}
<noinclude>
{{clear}}__NOTOC__
==Syntax==
<pre>
{{ITEM EXTRA infobox
|craftpoints =
|equipslot =
|stack =
|keywords =
}}
</pre>
==Parameters==
; craftpoints
: Optional. The number of Crafting Points the item has.
; equipslot
: Optional. The Equip Slot the item fits into.
; stack
:Optional. The Maximum stack size for the item.
; keywords
:Required. Uses KW template to add keywords to the page (and will eventually display them).

==Description==
Creates boxes for information used in the ITEM template that can be hidden by a spoiler tag.
[[Category:Formatting templates|NPC infobox]]
</noinclude>