10,977
editsAd 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.) |
||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#lvardef: char | {{{1 | {{BASEPAGENAME}} }}} }}{{#switch: {{#lvar:char}} | ||
| Jaheira | | Jaheira | ||
| Minsc = | | Minsc = | ||
{{Tab | {{Tab | ||
|one={{ | |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|}}} | |nodesktop = {{{nodesktop|}}} | ||
Line 13: | Line 13: | ||
| #default = | | #default = | ||
{{Tab | {{Tab | ||
|one={{ | |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 | ||
|four={{ | |four={{#lvar:char}}/Romance | ||
|four-name=Romance | |four-name=Romance | ||
|nodesktop = {{{nodesktop|}}} | |nodesktop = {{{nodesktop|}}} | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</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> |