Mr. Johnson (talk | contribs) No edit summary |
Mr. Johnson (talk | contribs) (→Usage) |
||
Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
It accepts two {{Parameter|mandatory|string}}. | It accepts two {{Parameter|mandatory|string}}. | ||
# should be a type of {{Category|Actor}} | # should be a type of {{Category|Actor}} or {{Category|Item}}. | ||
# should be a heading on that page, which will correspond to a tab. | # should be a heading on that page, which will correspond to a tab. | ||
It performs no validation or error checking. | 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.
- should be a type of Actor or Item.
- 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