Mr. Johnson (talk | contribs) (Created page with "<includeonly><!--Template Subcategories--></includeonly> <!--Template Description--> ==Usage== <!--Parameters and such go here.--> ==Returns== {{Code|<nowiki>{{Tab|Actor|Gear}}</nowiki>}} returns: {{Return|{{Tab|Actor|Gear}}}} {{Code|<nowiki>{{Tab|Character|Matrix}}</nowiki>}} returns: {{Return|{{Tab|Character|Matrix}}}} {{Code|<nowiki>{{Tab|Weapon|Ammo}}</nowiki>}} returns: {{Return|{{Tab|Weapon|Ammo}}}}") |
Mr. Johnson (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!--Template Subcategories--></includeonly> | <includeonly><!--Template Subcategories--></includeonly> | ||
{{Template|Tab}} is used to generate links to headings on articles for {{Category|Actor}}s and {{Category|Item}}s. | |||
==Usage== | ==Usage== | ||
It accepts two {{Parameter|mandatory|string}}. | |||
# should be a type of {{Category|Actor}} or {{Category|Item}}, or {{Code|Active Effect}}. | |||
# 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}}}} | ||
{{Code|<nowiki>{{Tab|Character|Matrix}}</nowiki>}} returns: {{Return|{{Tab|Character|Matrix}}}} | {{Code|<nowiki>{{Tab|Character|Matrix}}</nowiki>}} returns: {{Return|{{Tab|Character|Matrix}}}} | ||
{{Code|<nowiki>{{Tab|vEhiCLe|Matrix}}</nowiki>}} returns: {{Return|{{Tab|vEhiCLe|Matrix}}}} | |||
{{Code|<nowiki>{{Tab|Weapon|Ammo}}</nowiki>}} returns: {{Return|{{Tab|Weapon|Ammo}}}} | {{Code|<nowiki>{{Tab|Weapon|Ammo}}</nowiki>}} returns: {{Return|{{Tab|Weapon|Ammo}}}} | ||
{{Code|<nowiki>{{Tab|Active Effect|Apply-To}}</nowiki>}} returns: {{Return|{{Tab|Active Effect|Apply-To}}}} |
Latest revision as of 14:41, 18 January 2024
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, or
Active Effect
. - 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
{{Tab|Active Effect|Apply-To}}
returns:
Active Effect's Apply-To Tab