Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki
Revision as of 21:16, 14 December 2023 by Mr. Johnson (talk | contribs)
Template:Tab

Template:Tab is used to generate links to headings on articles for Actors and Items.

Usage

It accepts two mandatory string parameter.

  1. should be a type of Actor or Item, or Active Effect.
  2. should be a heading on that page, which will correspond to a tab.

It performs no validation or error checking.

Returns

{{Tab|Actor|Gear}} returns:

| Actor = Actor's Actor Tab | Ic = IC's Actor Tab | Character | Spirit | Sprite | Vehicle = Actor's Actor Tab | #default =

}}
{{Tab|Character|Matrix}} returns:

| Actor = Actor's Character Tab | Ic = IC's Character Tab | Character | Spirit | Sprite | Vehicle = Character's Character Tab | #default =

}}
{{Tab|vEhiCLe|Matrix}} returns:

| Actor = Actor's Vehicle Tab | Ic = IC's Vehicle Tab | Character | Spirit | Sprite | Vehicle = Vehicle's Vehicle Tab | #default =

}}
{{Tab|Weapon|Ammo}} returns:

| Actor = Actor's Weapon Tab | Ic = IC's Weapon Tab | Character | Spirit | Sprite | Vehicle = Weapon's Weapon Tab | #default =

}}
{{Tab|Active Effect|Apply-To}} returns:

| Actor = Actor's Active effect Tab | Ic = IC's Active effect Tab | Character | Spirit | Sprite | Vehicle = Active effect's Active effect Tab | #default =

}}

The documentation above was transcluded from Template:Tab/Documentation.