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

Template:Tab/Documentation: Difference between revisions

No edit summary
Line 1: Line 1:
<includeonly><!--Template Subcategories--></includeonly>
<includeonly><!--Template Subcategories--></includeonly>
<!--Template Description-->
{{Template|Tab}} is used to generate links to headings on articles for {{Category|Actor}}s and {{Category|Item}}s.
==Usage==
==Usage==
<!--Parameters and such go here.-->
It accepts two {{Parameter|mandatory|string}}.
# should be a type of {{Category|Actor}}s and {{Category|Item}}s.
# should be a heading on that page, which will correspond to a tab.
It performs no validation or error checking.
==Returns==
==Returns==
{{Code|<nowiki>{{Tab|Actor|Gear}}</nowiki>}} returns: {{Return|{{Tab|Actor|Gear}}}}
{{Code|<nowiki>{{Tab|Actor|Gear}}</nowiki>}} returns: {{Return|{{Tab|Actor|Gear}}}}

Revision as of 21:20, 14 December 2023

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 Actors and Items.
  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's Gear Tab

{{Tab|Character|Matrix}} returns:

Character's Matrix Tab

{{Tab|vEhiCLe|Matrix}} returns:

Vehicle's Matrix Tab

{{Tab|Weapon|Ammo}} returns:

Weapon's Ammo Tab