10,945
editsMore actions
Automatically determine companion based on BASEPAGENAME.
(Created page with "<includeonly>{{Tab |one={{{1}}} |one-name=Overview |two={{{1}}}/Approval |two-name=Approval |three={{{1}}}/Banter |three-name=Banter |four={{{1}}}/Romance |four-name=Romance }}</includeonly><noinclude>Category:Templates This template adds Template:Tab with a few preselected parameters. Used for the companion pages only.") |
(Automatically determine companion based on BASEPAGENAME.) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Tab | <includeonly>{{#lvardef: char | {{{1 | {{BASEPAGENAME}} }}} }}{{#switch: {{#lvar:char}} | ||
|one={{ | | Jaheira | ||
| Minsc = | |||
{{Tab | |||
|one={{#lvar:char}} | |||
|one-name=Overview | |one-name=Overview | ||
|two={{ | |two={{#lvar:char}}/Approval | ||
|two-name=Approval | |two-name=Approval | ||
|three={{ | |three={{#lvar:char}}/Banter | ||
|three-name=Banter | |three-name=Banter | ||
| | |nodesktop = {{{nodesktop|}}} | ||
}} | |||
| #default = | |||
{{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 | |four-name=Romance | ||
}}</includeonly><noinclude> | |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> |