Template:Companion tab: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
m (Willowisp moved page Template:CompanionTab to Template:Companion tab)
(Automatically determine companion based on BASEPAGENAME.)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}|Jaheira={{Tab
<includeonly>{{#lvardef: char | {{{1 | {{BASEPAGENAME}} }}} }}{{#switch: {{#lvar:char}}
|one={{{1}}}
| Jaheira
| Minsc =
{{Tab
|one={{#lvar:char}}
|one-name=Overview
|one-name=Overview
|two={{{1}}}/Approval
|two={{#lvar:char}}/Approval
|two-name=Approval
|two-name=Approval
|three={{{1}}}/Banter
|three={{#lvar:char}}/Banter
|three-name=Banter
|three-name=Banter
}}|Minsc={{Tab
|nodesktop = {{{nodesktop|}}}
|one={{{1}}}
}}
| #default =
{{Tab
|one={{#lvar:char}}
|one-name=Overview
|one-name=Overview
|two={{{1}}}/Approval
|two={{#lvar:char}}/Approval
|two-name=Approval
|two-name=Approval
|three={{{1}}}/Banter
|three={{#lvar:char}}/Banter
|three-name=Banter
|three-name=Banter
}}|{{Tab
|four={{#lvar:char}}/Romance
|one={{{1}}}
|one-name=Overview
|two={{{1}}}/Approval
|two-name=Approval
|three={{{1}}}/Banter
|three-name=Banter
|four={{{1}}}/Romance
|four-name=Romance
|four-name=Romance
}}}}</includeonly><noinclude>[[Category:Templates]]
|nodesktop = {{{nodesktop|}}}
}}
}}</includeonly><noinclude>
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:
{{Companion tab | Astarion }}
[[Category:Templates]]
[[Category:Tab templates]]
</noinclude>

Latest revision as of 20:37, 21 June 2024

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

Example: