Template:Companion tab: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Automatically determine companion based on BASEPAGENAME.)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#lvardef: char | {{{1 | {{BASEPAGENAME}} }}} }}{{#switch: {{#lvar:char}}
<includeonly>{{#lvardef: char | {{{1 | {{BASEPAGENAME}} }}} }}{{#switch: {{#lvar:char}}
| Halsin =
{{Tab
|one={{#lvar:char}}
|one-name=Overview
|two={{#lvar:char}}/Approval
|two-name=Approval
|three={{#lvar:char}}/Banter
|three-name=Banter
|four={{#lvar:char}}/Location Remarks
|four-name=Location Remarks
|five={{#lvar:char}}/Romance
|five-name=Romance
|nodesktop = {{{nodesktop|}}}
}}
| Jaheira
| Jaheira
| Minsc =
| Minsc =
Line 9: Line 23:
|three={{#lvar:char}}/Banter
|three={{#lvar:char}}/Banter
|three-name=Banter
|three-name=Banter
|nodesktop = {{{nodesktop|}}}
}}
| Minthara =
{{Tab
|one={{#lvar:char}}
|one-name=Overview
|two={{#lvar:char}}/Approval
|two-name=Approval
|three={{#lvar:char}}/Banter
|three-name=Banter
|four={{#lvar:char}}/Romance
|four-name=Romance
|five={{#lvar:char}}/Combat
|five-name=Combat
|nodesktop = {{{nodesktop|}}}
|nodesktop = {{{nodesktop|}}}
}}
}}
Line 26: Line 54:
This template adds [[Template:Tab]] with a few preselected parameters. Used for the companion pages only.
This template adds [[Template:Tab]] with a few preselected parameters. Used for the companion pages only.


Example:
Examples:


Default:
{{Companion tab | Astarion }}
{{Companion tab | Astarion }}
Halsin
{{Companion tab | Halsin }}
Jaheira
{{Companion tab | Jaheira }}
Minsc:
{{Companion tab | Minsc }}
Minthara:
{{Companion tab | Minthara }}


[[Category:Templates]]
[[Category:Templates]]
[[Category:Tab templates]]
[[Category:Tab templates]]
</noinclude>
</noinclude>

Latest revision as of 19:35, 1 October 2024

This template adds Template:Tab with a few preselected parameters. Used for the companion pages only.

Examples:

Default:

Halsin

Jaheira

Minsc:

Minthara: