863×269px

Happy 2nd Anniversary! Check out the Character Models page for the new faces & hairstyles, available via the brand new Barbershop!

Please help to contribute towards the Anniversary 2024 page!


Template:Infobox Key Item/Wrapper

From HorizonXI Wiki

Usage

This is a sub-template for {{Infobox Key Item}}.

It outputs the various DIVs used for formatting the Infobox. This allows for easy adjustment of each one outside of the main template.

Syntax

{{Infobox Key Item/Wrapper|<type>|<content>}}

Parameters

  1. type: The type of wrapper DIV to output. Valid values:
    • image = Image or placeholder row.
    • name = Name of the item.
    • row = Opening DIV for a row.
    • label = Information block label (left side. ex: "Description")
    • info = Information block (right side)
    • Any other value (including blank) will result in an unstyled DIV being output.
  2. content: Optional. The content to be wrapped in the DIV.
    • If a value is provided, a closing </div> will be output.
      Example: {{Infobox Key Item/Wrapper|label|Description:}}
    • If it's not provided, it will need to be closed manually.
      Example: {{Infobox Key Item/Wrapper|info}}<!-- lots of functions here --></div>

Refer to the code of the main template for full usage details.

Default Output

None. This is a sub-template that only creates a DIV element.