Ad placeholder

Template:Companion tab: Difference between revisions

Jump to navigation Jump to search
Automatically determine companion based on BASEPAGENAME.
No edit summary
(Automatically determine companion based on BASEPAGENAME.)
(One intermediate revision by the same user 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
|nodesktop = {{{nodesktop|}}}
|nodesktop = {{{nodesktop|}}}
}}|Minsc={{Tab
}}
|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
|nodesktop = {{{nodesktop|}}}
|four={{#lvar:char}}/Romance
}}|{{Tab
|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
|nodesktop = {{{nodesktop|}}}
|nodesktop = {{{nodesktop|}}}
}}}}</includeonly><noinclude>[[Category:Templates]][[Category:Tab templates]]
}}
}}</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>

Navigation menu