Mr. Johnson (talk | contribs) No edit summary |
Mr. Johnson (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude>{{# | <includeonly><onlyinclude>{{#vardefine:flip|{{ucfirst:{{lc:{{{1}}}}}}}}}{{#vardefine:flop|{{ucfirst:{{lc:{{{1}}}}}}}}}{{#switch:{{#var:flip}}}} | ||
| | | Actor = Actor's [[Character Actor#{{#var:flop}} Tab|{{#var:flop}} Tab]] | ||
| | | Ic = IC's [[IC Actor#{{#var:flop}} Tab|{{#var:flop}} Tab]] | ||
| | | Character | ||
| | | Spirit | ||
| | | Sprite | ||
| | | Vehicle = {{#var:flip}}'s [[{{#var:flip}} Actor#{{#var:flop}} Tab|{{#var:flop}} Tab]] | ||
| #default = | | #default = | ||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> |
Revision as of 21:16, 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, 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 = 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. [ edit ]