Mr. Johnson (talk | contribs) No edit summary |
Mr. Johnson (talk | contribs) No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude>{{#vardefine:flip|{{ucfirst:{{lc:{{{1}}}}}}}}}{{#vardefine:flop|{{ucfirst:{{lc:{{{ | <includeonly><onlyinclude>{{#vardefine:flip|{{ucfirst:{{lc:{{{1}}}}}}}}}{{#vardefine:flop|{{ucfirst:{{lc:{{{2}}}}}}}}}{{#switch:{{#var:flip}} | ||
| Actor = Actor's [[Character Actor#{{#var:flop}} Tab|{{#var:flop}} Tab]] | | Actor = Actor's [[Character Actor#{{#var:flop}} Tab|{{#var:flop}} Tab]] | ||
| Ic = IC's [[IC Actor#{{#var:flop}} Tab|{{#var:flop}} Tab]] | | Ic = IC's [[IC Actor#{{#var:flop}} Tab|{{#var:flop}} Tab]] | ||
Line 7: | Line 7: | ||
| Sprite | | Sprite | ||
| Vehicle = {{#var:flip}}'s [[{{#var:flip}} Actor#{{#var:flop}} Tab|{{#var:flop}} Tab]] | | Vehicle = {{#var:flip}}'s [[{{#var:flip}} Actor#{{#var:flop}} Tab|{{#var:flop}} Tab]] | ||
| #default = | | Active effect = Active Effect's [[Active Effect#{{{2}}} Tab|{{{2}}} Tab]] | ||
| #default = {{#var:flip}}'s [[{{#var:flip}} Item#{{#var:flop}} Tab|{{#var:flop}} Tab]] | |||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> |
Latest revision as of 18:04, 18 January 2024
Template:Tab
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
The documentation above was transcluded from Template:Tab/Documentation. [ edit ]