Template:Verbtable

The official GemStone IV encyclopedia.
Jump to navigation Jump to search

This template can be used to record verb command actions in a table format. This is a supplemental template to be used with the verbinfo template.

In order to create the heading(s) for the table, copy and paste this code into the table in the line following the template inclusion (see example).

{{verbtableheader}}

Update

As of 1/1/2023, the formatting has been updated to have a set table width to be used on both verb ( {{verbtable|80}} ) and item script ( {{verbtable|90}} ) pages. This is done to allow a responsive width formatting on the tables, and will automatically shrink or expand based on the size of the page in the browser. Additionally, when using these updated parameters, additional code work will be needed to set the width percentage of the cells. The examples below demonstrate a way to set up the percentages so the cells are uniform in their formatting. Bear in mind these are examples only, and may need to be adjusted based on how many columns the table itself may hold. Additionally, this update to the template will not directly affect pages already created and using these templates, so there is no immediate need to update the pages to conform to this format.

Example

The below example is what may be used for VERB pages only. It is set up in a way to take into consideration that the verb page is for a single verb, thus not indicating a need for a verb entered into the table.

{| {{verbtable|80}}
|- {{verbtableheader}}
! scope="col" | Style
! scope="col" style="width: 45%" | First
! scope="col" style="width: 45%" | Third
|-
! scope="row" role="rowheader"|Style
| First Person View
| Third Person View
|}
Style First Third
Style First Person View Third Person View

The below example is what may be used for item script pages only, dependent on specific variables in place. It is set up in a way to take into consideration that scripted items have multiple verbs available for their use, however not all fields shown in the example below may be necessary. For more information on item pages, see Help:Item scripts.

PLEASE NOTE: Due to the way that the item script pages are set up, the verbtables will not expand to the full page. They will only expand to the maximum width allowed within the format, which is approximately 80% of the page.

{| {{verbtable|90}}
|- {{verbtableheader}}
! scope="col" style="width:5em;"|Verb
! scope="col" style="width:5em;"|Style <!-- (Only if applicable.  Additional options would be Demeanor, Location, Climate, etc.  Essentially, modifiers to the verbs.) -->
! scope="col" style="width: 30%" | First
! scope="col" style="width: 30%" | Second (Only if applicable)
! scope="col" style="width: 30%" | Third
|-
! scope="row" role="rowheader"|VERB
! scope="row" role="rowheader"|Style
| First Person View
| Second Person View
| Third Person View
|}
Verb Style First Second Third
VERB Style First Person View Second Person View Third Person View